Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

data.wx.get

data.wx.get is consolidates weather data from various sources set by wx.conf.

data.wx.get is normally called as part of data.get's lookup procedure, instead of directly.

Command Line Usage

data.wx.get station [record] start end [source]

Arguments

start and end

The time specifiers for the data to be retrieved. Start is inclusive while end is exclusive, so all data contained within the half open interval [start,end) will be returned. Any convertible time format is accepted.

station

The station identifier code. For example 'brw'. Case insensitive.

record

The cpd2 record type to be retrieved. If present and not “wx” the call is ignored.

source

Selected the source archive to request data from, defaulting to raw.

Example Usage

data.wx.get bnd wx 2008:100 2008:101