API reference#
This page provides an auto-generated summary of TEEHR’s API. For more details and examples, refer to the User Guide part of the documentation.
The Evaluation Class#
The top-level class for interacting with and exploring a TEEHR Evaluation.
|
The Evaluation class. |
Creating and Managing an Evaluation#
Methods for creating, cloning, and configuring an Evaluation.
Create a study from the standard template. |
|
|
List the evaluations available on S3. |
|
Fetch the study data from S3. |
Clean temporary files. |
|
Enable logging. |
The Evaluation Dataset#
Classes for creating, describing, and querying the Evaluation dataset tables.
|
Base query class. |
|
Access methods to units table. |
|
Access methods to variables table. |
|
Access methods to attributes table. |
Access methods to configurations table. |
|
|
Access methods to locations table. |
Access methods to location attributes table. |
|
Access methods to location crosswalks table. |
|
Access methods to timeseries table. |
|
Access methods to timeseries table. |
|
Access methods to joined timeseries table. |
Fetching NWM and USGS data#
Methods for fetching NWM and USGS data from external sources.
|
Fetch USGS gage data and load into the TEEHR dataset. |
|
Fetch NWM retrospective point data and load into the TEEHR dataset. |
|
Fetch operational NWM point data and load into the TEEHR dataset. |
|
Fetch NWM retrospective gridded data, calculate zonal statistics (currently only mean is available) of selected variable for given zones, and load into the TEEHR dataset. |
|
Fetch NWM operational gridded data, calculate zonal statistics (currently only mean is available) of selected variable for given zones, and load into the TEEHR dataset. |
Metric Queries#
Methods for querying and calculating metrics.
Component class for calculating metrics. |
Metric and Bootstrap Models#
Classes for defining and customizing metrics and bootstrap models.
Classes representing available performance metrics. |
|
Classes for bootstrapping sampling methods. |
|
Contains UDFs for metric calculations for use in Spark queries. |
Visualization#
Methods for visualizing Evaluation data.
|
Extends pandas DataFrame objects with visualization methods. |