API Summary#
metadata#
The metadata module provides higher-level information on all aspects of pywatershed.
The metadata module. |
Control#
|
Control manages global time and options, and provides metadata. |
Parameters#
Parameter classes.
|
Parameter base class |
|
A parameter class with methods for native PRMS files. |
|
Starfit parameter class. |
adapter#
The adapter module adapts various inputs to a common interface for pywatershed inputs.
|
A function to return the appropriate subclass of Adapter |
|
Adapter base class for getting data from a variety of sources. |
|
Adapter subclass for a NetCDF file |
Atmosphere#
Atmospheric process models.
|
PRMS solar geometry. |
|
PRMS atmospheric boundary layer model. |
|
PRMS atmospheric boundary layer model with a frost transpiration model. |
Hydrology#
Hydrologic model components.
|
PRMS canopy class. |
|
PRMS snow pack. |
|
PRMS surface runoff. |
|
PRMS surface runoff with agricultural infiltration. |
|
PRMS surface runoff without depression storage. |
|
PRMS soil zone. |
|
PRMS soil zone with agricultural area (no observed ET iteration). |
|
PRMS soil zone with agricultural area and iterative AET matching. |
|
PRMS soil zone. |
|
PRMS groundwater reservoir. |
|
PRMS groundwater reservoir. |
|
PRMS channel flow (muskingum_mann). |
|
PRMS hydraulic geometry. |
|
PRMS hydraulic geometry with default depth parameters. |
|
PRMS stream temperature with time-varying humidity input. |
|
PRMS stream temperature with monthly segment humidity parameter. |
|
Constant shade parameters by season. |
|
Dynamic shade computation from topography and vegetation. |
|
starfit: Storage Targets And Release Function Inference Tool |
FlowGraph#
FlowGraph base classes and subclasses. See FlowGraph for an overview of this functionality.
|
FlowGraph manages and computes FlowNodes given by FlowNodeMakers. |
|
The FlowNode base class. |
|
FlowNodeMaker instantiates FlowNodes with their data. |
|
A FlowNode instance that gives what it takes and dosent store. |
A FlowNodeMaker of PassThroughFlowNodes. |
|
|
A FlowNode that takes inflows but returns observed/specified flows. |
|
A FlowNodeMaker for ObsInFlowNode. |
|
A FlowNode that adds or removes flow above some minimum flow parameter. |
|
A FlowNodeMaker for SourceSinkFlowNode. |
|
STARFIT FlowNode: Storage Targets And Release Function Inference Tool |
|
STARFIT FlowNodeMaker: Storage Targets And Release Function Inference Tool. |
|
A StarfitFlowNode where sinks and sources interact with storage. |
|
STARFIT SourceSink FlowNodeMaker: STARFIT with diversions on storage. |
|
A FlowNode for the Muskingum-Mann method of PRMSChannel |
|
A FlowNodeMaker for PRMSChannelFlowNodes. |
|
Add nodes to a PRMSChannel-based FlowGraph within a Model's model_dict. |
|
Add nodes to a PRMSChannel-based FlowGraph to run from known inputs. |
Write to NetCDf the components of lateral flow on PRMS segments. |
|
|
Adapt volumetric flows from HRUs to lateral inflows on PRMS segments. |
|
Process to map PRMS HRU outflows to lateral inflows on nodes. |
Model#
The Model class.
|
Build a model in pywatershed. |
Output#
The Output class.
|
Output collection and statistical analysis for models. |
Base Classes#
Base classes for the modeling system.
A base class for dict access on self. |
|
|
DatasetDict: a data model following NetCDF-like conventions |
|
Budget class for mass and energy conservation. |
|
Base class for physical process representation. |
|
Base class for representation of conservative physical processes. |
Analysis#
|
Interactive comparison tool for HRU-based model outputs. |
|
Convenience function to quickly create and display an HRU comparison app. |
|
Visualize a pywatershed Model as a directed graph. |
|
|
Time series statistical functions for pywatershed analysis. |
Utils#
|
PRMS control file class |
|
PRMS Muskingum-Mann Routing (MMR) to MF6 Diffusive Wave (DFW). |
|
Convert PRMS native CBH files to NetCDF format for pywatershed |
|
Subset a domain. |
|
Subset a netcdf file on to coordinate or dimension values. |
|
Subset an xarray Dataset or DataArray on to coord or dim values. |