
You have already added 0 works in your ORCID record related to the merged Research product.
You have already added 0 works in your ORCID record related to the merged Research product.
<script type="text/javascript">
<!--
document.write('<div id="oa_widget"></div>');
document.write('<script type="text/javascript" src="https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=undefined&type=result"></script>');
-->
</script>
VBA Code to analyze cover and density of southwestern ponderosa pine understory plants in permanent chart quadrats: 2002-2024
VBA Code to analyze cover and density of southwestern ponderosa pine understory plants in permanent chart quadrats: 2002-2024
This repository contains VBA and ArcObjects code used to analyze plant distributions in digitized quadrats near Flagstaff Arizona, over the years 2002 - 2024. This code was used to produce the data presented in the Data Paper "Cover and density of southwestern ponderosa pine understory plants in permanent chart quadrats (2002-2024)" (Moore et al. 2025). There are 262 VBA functions used in this project, distributed over 13 modules and comprising 25,566 lines of code. The primary analytical master function is "RunAsBatch" in the module "H_WB_Analysis". This function runs several other functions that do the various steps of the analysis. In particular: The function "OrganizeData" in module "H_WB_Analysis" assembles all original datasets into a single workspace with a common naming convention, and adds verbatim fields to keep track of edits made to data. The function "ReviseShapefiles" in module "H_WB_Analysis" corrects species misspellings and misidentifications. The function "ConvertPointShapefiles" in module "H_WB_Analysis" converts point features to small polygons, deletes a few extraneous objects, adds a few observations that were missed in the digitizing, switches species designations from Cover to Density or vice-versa if necessary, and rotates quadrats if they were mapped with the wrong orientation. The function "AddEmptyFeaturesAndFeatureClasses" in module "H_WB_Analysis" adds empty feature classes if a survey was done on that quadrat in that year but no features were found. These empty feature classes distinguish these cases from times when no survey was conducted. The function "RepairOverlappingPolygons" in the module "More_Margaret_Functions" fixes cases when polygons for a single observation are digitized twice, or when separate polygons for a single species overlap. The function "RecreateSubsetsOfConvertedDatasets" in the module "More_Margaret_Functions" combines all newly-corrected feature classes into a new workspace, and creates two global feature classes containing all cover and all density observations. The function "AddEmptyFeaturesAndFeatureClassesToCleaned" in module "H_WB_Analysis" adds empty feature classes to the newly corrected feature classes if a survey was done on that quadrat in that year but no features were found. These empty feature classes distinguish these cases from times when no survey was conducted. The function "ShiftFinishedShapefilesToCoordinateSystem" in module "H_WB_Analysis" correctly georeferences all feature classes and saves to a new workspace. Prior to this step all plant locations were in a local 1-square-meter coordinate system based on the 1-square-meter quadrat. The function "ExportFinalDataset" in module "H_WB_Analysis" removes extraneous and verbatim fields, and exports the final version of the dataset to a new workspace. The function "SummarizeSpeciesBySite" in module "More_Margaret_Functions" analyzes all the feature classes to determine which species were observed at each site. The function "SummarizeSpeciesByCorrectQuadrat" in module "More_Margaret_Functions" analyzes all the feature classes to determine which species were observed at each quadrat. The function "SummarizeYearByCorrectQuadratByYear" in module "More_Margaret_Functions" analyzes all the feature classes to determine which quadrats were surveyed each year. The function "ExportSubsetsOfSpeciesShapefiles" in module "Margaret_Functions_3" extracts each species individually from the full dataset, and saves them in a series of nested folders suitable for Integral Projection Model functions in R. The function "CreateFinalTables" in module "H_WB_Analysis" produces the final summary tables intended for distribution with the data, including a list of plant species observed, a summary of the basal area per species by quadrat and year, summary data describing all quadrats and overstory plots, and tabular versions of the global cover and density feature classes. The primary map export function is "ExportImages" in the module "Margaret", and is run separately from the 14 functions run in the batch file above. This map-making function creates common plant species symbology that can be applied to all 1,877 maps, and exports individual maps for each quadrat and for each year. This function is best run from an ArcMap document with no data in it, which is why it is run separately from the other functions. Note: These functions are written in ArcObjects and VBA, and therefore can only be run in ArcMap. ArcGIS Pro cannot run them. Moore, M. M., J. S. Jenness, D. C. Laughlin, R. T. Strahan, J. D. Bakker, H. E. Dowling, and J. D. Springer. 2022. Cover and density of southwestern ponderosa pine understory plants in permanent chart quadrats (2002-2020). Ecology 103(5): e3661. https://doi.org/10.1002/ ecy.3661 Moore, M. M., Jenness, J. S, Laughlin, D. C., Strahan, R. T., Bakker, J. D., Dowling, H. E., and Springer, J. D. 2025. Cover and density of southwestern ponderosa pine understory plants in permanent chart quadrats (2002-2020+). Fort Collins, CO: Forest Service Research Data Archive. Updated February 2025.
demography, long-term study, Botany, Inventory, Monitoring, & Analysis, Arizona, biota, Range management & grazing, forbs, Coconino National Forest, Climate change effects, Fort Valley Experimental Forest, chart quadrat, Ecological adaptation, Rangeland plants, population dynamics, Climate change, Forest & Plant Health, Plant ecology, graminoid
demography, long-term study, Botany, Inventory, Monitoring, & Analysis, Arizona, biota, Range management & grazing, forbs, Coconino National Forest, Climate change effects, Fort Valley Experimental Forest, chart quadrat, Ecological adaptation, Rangeland plants, population dynamics, Climate change, Forest & Plant Health, Plant ecology, graminoid
1 Research products, page 1 of 1
- 2023HasVersion
citations This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).0 popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.Average influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).Average impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.Average
