A python package for easily reading OpenFEMA datasets.
This package is intended to facilitate better access and promote more rapid analysis of OpenFEMA data.
It is a wrapper around the OpenFEMA API, which allows for direct reading of datasets into a pandas dataframe without a user having to manually set up the API URL to the data.
Users can either read in the full dataset or read in a subset of a dataset.
Please report any bugs, suggest enhancements, or ask questions by creating an issue.
The package can be installed using pip
pip install pyOpenFEMAAt a basic level, a dataset can be read with:
from pyOpenFEMA import OpenFEMA
# Initialize the OpenFEMA session
openfema = OpenFEMA()
# List available datasets
print(openfema.list_datasets())
# Read in a dataset
df_femaregions = openfema.read_dataset('FemaRegions')For more details and how to subset a dataset, see the tutorial notebook.