climata 0.3.0
This release adds support for USGS NWIS webservices (#1).
In addition, all of the main climata
IO classes now include metadata indicating which location, parameter, and time-based filters they support. Specifically, every class subclassing climata.base.WebserviceLoader
explicitly declares support (or non-support) for the following init arguments:
start_date
,end_date
: requested date rangestate
: Two letter state codecounty
: 5-digit FIPS code (except for CocorahsIO which uses a two-digit code)basin
: 8-digit Hydrologic Unit Codestation
: One or more site identifiers (service-specific)parameter
: One or more parameter
Some classes accept the arguments ignore them, others require them, and others accept multiple values in a list or tuple format. The get_filter_options()
method can help determine usage.
This metadata is used by the new climata-viewer project, an interactive website for requesting and downloading time series data from climata-supported webservices.