[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Support #KOQ-745915]: Additional data

> ad 2) we simply want the obs-data (GTS-format ?), sorted by country (1st
> folder), then date (YYYYMMDD) (2nd folder), filename=stationcode-HH
> Best regards
> Mark
> P.S. is there any description of the contents (structure, ...) available for
> the unidata data-products ?


The WMO header that the data bulletins are broadcast with follows the format:

See: http://www.weather.gov/tg/headef.html for a decription of the WMO defined 

A decription of the data being broadcast by the US National Weather service on 
provided at: http://weather.noaa.gov/tg/wmohdg.shtml

The WMO defines the CCCC group as the originating center, so you could store 
your data by
center and YYYYMMDD such as:
IDS|DDPLUS  <tab>  ^[A-Z][A-Z][A-Z][A-Z][0-9][0-9] ([A-Z][A-Z][A-Z][A-Z]) 
 <tab> FILE <tab>  \1/(\2:yyyy)(\2:mm)\2

in the above, the \1 regex refers to the 4 character sequence bounded by the 
first set of
parentheses "(A-Z][A-Z][A-Z][A-Z])".

The \2 regex refers to the second set of parentheses (eg the day of month group 
in the WMO heading.
The LDM uses the current system clock and the day of month to guess at the YYYY 
and MM groups
using (\2:yyyy) and (\2:mm) respectively, so the (\2:yyyy)(\2:mm)\2 sequence 
will create the YYYYMMDD

Steve Chiswell
Unidata User Support

Ticket Details
Ticket ID: KOQ-745915
Department: Support IDD
Priority: Critical
Status: Closed