Skip to main content
pyFIA turns the USDA Forest Service’s national forest inventory into a few lines of Python. Download a state, pick an estimator, and get design-based estimates — with proper variance — that match the official EVALIDator tool.

Start here

Getting started

Install pyFIA and run your first estimate end-to-end in about five minutes.

How-to guides

Task-focused recipes: downloading data, filtering, grouping, and spatial analysis.

Concepts

How FIA sampling, the EVALID system, and design-based variance actually work.

API reference

Every public function and class, generated from the source docstrings.

Why pyFIA

Statistically valid

Design-based estimation following Bechtold & Patterson (2005), with standard errors and confidence intervals on every estimate.

Fast

Built on Polars and DuckDB for 10-100x faster analysis than legacy tooling.

EVALIDator-validated

Results checked against the official USFS estimates — typically within 1-3% on standard errors.

Simple API

Direct functions — volume(db), mortality(db), area(db) — not factories and builders.

Estimation functions

Coming from rFIA?

pyFIA brings the ergonomics of R’s rFIA to Python:
pyFIA is released under the MIT License and built by Chris Mihiar. Found a bug or have a question? Open an issue.