On Sun, 12 May 2002, Unidata Support wrote:
------- Forwarded Message
>To: support@xxxxxxxxxxxxxxxx
>From: "John C. Nordlie" <nordlie@xxxxxxxxxxxx>
>Subject: Troulbe running metar2nc
>Organization: UCAR/Unidata
>Keywords: 200205111920.g4BJKQa26185
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@xxxxxxxxxxxxxxxxxxxxxxxxxxxx for more info.
--0-920348257-1021144825=:54722
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I'm having some problems with the metar2nc decoder. I've installed
the latest version of the decoder and netcdf-perl, but most of the
rawmetar.XXXX.nc files are empty. I've attached the only one that
actually has data in it (just a few lines). I've also attached one of
the typical log files being generated by metar2nc, and a XXXXXXXX_metar.nc
file referenced by it. Finally, here is my pqact.conf entry which
activates the decoder:
DDS|IDS ^S[AP].* .... ([0-3][0-9])([0-2][0-9])
PIPE decoders/metar2nc decoders/metar.cdl
data/newton/surface/sao
John,
pqact entry should look like this:
#
# metar decoder, creates NetCDF files formated
# data/decoded/yymmddhh_metar.nc
#
# All aviation reports including metar tests
DDS|IDS ^S(A....|P....|XUS8.) .... ([0-3][0-9])
PIPE decoders/metar2nc
etc/metar.cdl
data/decoded
(\2:yy)(\2:mm)
I couldn't read your mime attachments. The rawmetars files are metars
that were not contructed correctly for some reason, so they are saved as
parts. The only reason to save the raws was in case someone really needed
that report. I couldn't read the log or the *.nc file. I would look at
the decoded reports with ncdump, ie
% ncdump 02051301_metar.nc | more
The file format should be yymmddhh
Let me know if you still have problem, just the log file info section
should be fine.
Robb...
Any ideas?
========================================================================
==)---------- | ----------(=
John Nordlie N0RNB | Regional Weather Information Center
nordlie@xxxxxxxxxxxx | University of North Dakota
http://blizzard.rwic.und.edu/~nordlie/
==)---------- #include <std.disclaimer.h> ----------(=
========================================================================
==============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/
==============================================================================