synoptic.services.Metadata#

class synoptic.services.Metadata(**params)[source]#

Retrieve metadata for one or more stations.

Refer to the official documentation: https://docs.synopticdata.com/services/metadata

Parameters:
  • **station_selection – Station selection parameters such as stid, state, county, radius, bbox, vars, varsoperator, etc. Refer to the Synoptic API documentation for details.

  • token (str, optional) – Synoptic API token. Required if the SYNOPTIC_TOKEN environment variable and the config file entry are not set.

  • stats ({'min', 'max', 'mean', 'median', 'count', 'stdev', 'all'})

  • complete (bool)

  • sensorvars (bool)

  • obrange (str, tuple) – Start and end datetime, as a tuple (datetime.datetime, datetime.datetime) or string ``YYMMDDHHMM,YYMMDDHHMM`

__init__(**params)[source]#

Methods

__init__(**params)

df()

Stations metadata DataFrame.

df()[source]#

Stations metadata DataFrame.

Return type:

DataFrame