Documentation for /cgi-bin/request/metars.py

This is a very simple service that intends on emitting a text file of METARs that is ammenable to being ingested by other software. Each METAR is on a single line and the file is sorted by the observation time.

Example Usage:

Retrieve all METARs for the hour starting at 00 UTC on 1 January 2016:

https://mesonet.agron.iastate.edu/cgi-bin/request/metars.py?valid=2016010100

CGI Arguments

The following table lists the CGI arguments that are accepted by this service. A HTTP GET request is required. Fields of type Multi-Params or CSV value can accept either a comma separated list or multiple parameter and value combinations. For example, ?foo=1&foo=2 is equivalent to ?foo=1,2.

Field Type Description
valid string (required) Hour truncated UTC timestamp to request data for. The format is YYYYMMDDHH.