Station metadata

wis2box is designed to support data ingest and processing of any kind. For observations, processing workflow typically requires station metadata to be present at runtime.

wis2box provides the ability to cache station metadata from the WMO OSCAR/Surface system.

To cache your stations of interest, create a CSV file formatting per below, specifying one line (with station name and WIGOS station identifier [WSI]) per station:

station_name,wigos_station_identifier
Balaka,0-454-2-AWSBALAKA
Kayerekera,0-454-2-AWSKAYEREKERA
Lobi_EPA,0-454-2-AWSLOBI
Malomo_EPA,0-454-2-AWSMALOMO
Namitambo,0-454-2-AWSNAMITAMBO
Nkhoma_University,0-454-2-AWSNKHOMA
Toleza,0-454-2-AWSTOLEZA
Grosseto,0-20000-0-16206
Campobasso,0-20000-0-16252
Ustica,0-20000-0-16400
Monte_Scuro,0-20000-0-16344
Prizzi,0-20000-0-16434
Enna,0-20000-0-16450
Cervia,0-20000-0-16148
Bonifati,0-20000-0-16337
Concordia,0-20000-0-89625
Jijel-Achouat,0-20000-0-60351
Skikda,0-20000-0-60355
Annaba,0-20000-0-60360

Use this CSV to cache station metadata:

wis2box metadata station cache /path/to/station_list.csv

Resulting station metadata files (JSON) are stored in WIS2BOX_DATADIR/data/metadata/station and can be used by wis2box data processing pipelines. These data are required before starting automated processing.

Note

run the command wis2box metadata station sync /path/to/station_list.csv to both cache stations form OSCAR/Surface and publish station as a collection to the wis2box API

See also

API publishing

Summary

At this point, you have cached the required station metadata for your given dataset(s).