Simplified FIA Database Access with Python
Query USDA Forest Service Forest Inventory and Analysis data programmatically. Calculate timber volumes, carbon stocks, and forest biomass with validated Python functions.
View on GitHub DocumentationDirect programmatic access to the USDA Forest Service FIA database through a clean Python interface. Query forest inventory data without manual downloads.
Calculate net cubic foot volume, board foot volume, and merchantable timber estimates for any state, county, or forest type.
Estimate forest carbon stocks, above-ground biomass, and carbon sequestration rates using FIA-validated methods.
All query results returned as pandas DataFrames for seamless integration with your data science workflow.
Filter and analyze data by tree species, species groups, or custom species lists for targeted forest research.
Query results validated against official USDA EVALIDator estimates to ensure accuracy and consistency.
# Install pyFIA
pip install pyfia
# Import and query FIA data
from pyfia import FIA
# Get timber volume for North Carolina
client = FIA()
volume = client.get_volume(
state="NC",
year=2023
)
# Get forest carbon estimates
carbon = client.get_carbon(
state="NC",
county="Wake"
)
print(volume.head())
get_volume()
Query timber volume estimates by state, county, and species
get_carbon()
Retrieve forest carbon stock estimates and sequestration rates
get_biomass()
Calculate above-ground and below-ground tree biomass
get_area()
Query forest land area by ownership, forest type, and stand age
get_trees()
Access tree-level data including diameter, height, and species
get_plots()
Retrieve FIA plot locations and survey metadata
get_mortality()
Analyze tree mortality rates and causes
get_growth()
Calculate forest growth and yield projections