Skip to content

climata 0.3.0

Compare
Choose a tag to compare
@sheppard sheppard released this 13 Jun 23:47
· 102 commits to master since this release

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 range
  • state: Two letter state code
  • county: 5-digit FIPS code (except for CocorahsIO which uses a two-digit code)
  • basin: 8-digit Hydrologic Unit Code
  • station: 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.