NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
On Wed, 30 Nov 2005, Unidata Support wrote: > >To: "'support@xxxxxxxxxxxxxxxx'" <support@xxxxxxxxxxxxxxxx> > >From: "DEROGNAT, Claude" <cderognat@xxxxxxx> > >Subject: Please Help about metar2nc > >Organization: ? > >Keywords: 200511301759.jAUHxP7s021255 > > Dear, > > I already sent you an e-mail yesterday but I forgot to told you > that my metar files came from the NOAA. they are downloaded > from ftp://weather.noaa.gov/data/observations/metar/cycles. Claude, the files from ftp://weather.noaa.gov/data/observations/metar/cycles are not in the correct format, they need to be in the wmo text format that looks like: ^A^M 443 ^M SAMX45 MMMY 011900^M METAR^M MMMY 011900Z 00000KT 6SM HZ SKC 21/19 A2989=^M ^M ^C we have a data server at: http://motherlode.ucar.edu/cgi-bin/ldm/genweb?native/nwstg/text where you can get the data in the correct format. it has a passwd of lotzodata please do not abuise this site our you will be restricted. i answered your other question below. > > regards, > > claude > > PS: I also tried to use other soffwares of the tool box and I obtain > the same result. > > > -----Message d'origine----- > > De : DEROGNAT, Claude > > Envoyé : mardi 29 novembre 2005 15:44 > > À : 'support@xxxxxxxxxxxxxxxx' > > Objet : > > > > Dear, > > > > I am working on the use Unidata decoder (4.0.0) to decode metar data on > > the Linux (DEBIAN) > > I have installed netcdf, perl, netcdf-perl, idunits and decoder. > > Everything seems ok. > > However, when I use metar2nc to decode the testdata.wmo.bak or my data > > file, all I got is > > a simple error message: > > > > eof on STDIN --shutting down. > > > > I found on a previous e-mail (20041207) stored on > > www.unidat.ucar.edu/packages/decoders > > that the Unidata decoder only decodes data less than 24 hr. > > I tried to add # at the beginning of line 282 - 291 and 348-371 but I > > obtained the same result. > > I attached the metar file used (.gz). Could you please let me know the > > possible reasons? > > Is-it possible that my set of metar file is not for this decoder? > > > > best regards, > > > > Claude Derognat > > > > << Fichier: 2005112207.metar.gz>><< Fichier: testdata.wmo.bak.gz>> > > > > PS: the command used is: > > metar2nc metar.cdl < testdata.wmo.bak > > since the decoder is sensitive to date information, the testdata.wmo.bak file has a place holder called "DATE" that is replaced with the current date before the metar2nc decoder runs. this is done automatically if you run the decoders make command. % make test the output should look similar: laraine.unidata.ucar.edu.rkambic> make test making `test' in directory /home/rkambic/code/decoders/src/gribtonc *** gribdump -b ... OK *** gribdump -v ... OK *** gribdump -q ... OK returning to directory /home/rkambic/code/decoders/src perl test.pl perl Decoders tests takes > 30 seconds in batch mode METAR tested ...... OK ascii tested ...... OK ldmConnect tested . OK METAR tested ...... OK syn tested ........ OK buoy tested ....... OK upperair tested ... OK robb... > > -- > > -- > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publicly available > through the web. If you do not want to have your interactions made > available in this way, you must let us know in each email you send to us. > ============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ==============================================================================
decoders
archives: