[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Decoders
- Subject: Re: Decoders
- Date: Fri, 14 Jul 2000 09:28:07 -0600 (MDT)
On Thu, 13 Jul 2000, Matthew Maschmann wrote:
> Robb,
>
> I have tried the suggestions in the readme file, but they do not seem to
> work for me either. You said I could cd to the ~ldm directory to test the
> decoders. How exactly do I do that?
Matt,
- login as LDM (~ldm is the LDM home dir, where ones ends up on login)
- add the path to the PATH environment var so the the deocders can be
found by the which command. Can be done in the .cshrc file, then do
% source .cshrc
Remember that all the cdl files and station files should be in the ldm/etc
directory.
Run this in the ldm home dir
% metar2nc etc/metar.cdl 0007 < "raw metar file"
could use testdata.wmo for the raw file.
Robb...
>
> Matt
>
> On Thu, 13 Jul 2000, Robb Kambic wrote:
>
> > On Thu, 13 Jul 2000, Matthew Maschmann wrote:
> >
> > > Robb,
> > >
> > > Now that I have decoders successfully configured, I need one last piece of
> > > advice to put me over the hump. I am running the ldm server, but none of
> > > my data is getting decoded. Here is an example from my pqact.conf file.
> > > Can you spot anything incorrect about the syntax? Nothing is getting
> > > created in the data/decoded directory, but the information is getting
> > > filed correctly from the FILE command.
> > > STDIOFILE data/ncar/upperair/(\1:yy)(\1:mm)\1\2_upa.wmo
> > > #
> > > DDS|IDS ^U[ABDEFGHIJKLMPQRSTXZ].... .... ([0-3][0-9])([0-2][0-9])
> > > PIPE /usr/local/ldm/decoders*/src/upperair/ua2nc
> > > /usr/local/ldm/decoders*/src/upperair/ua.cdl
> > > data/decoded/upperair
> > >
> >
> > Matt,
> >
> > Here's the pqact entry UPC uses, note the white space are tabs. For your
> > entry, I noticed *'s in the entry. A way to test the entries is to cd to
> > LDMHOME and copy the entry onto the command line, redirecting the STDIN
> > from the raw input file.
> >
> > Robb...
> >
> > # upper air perl decoder
> > DDS|IDS ^U[ABDEFGHIJKLMPQRSTXZ].... .... ([0-3][0-9])
> > PIPE /usr/local/ldm/decoders/ua2nc
> > etc/raob.cdl
> > data/decoded
> > (\1:yy)(\1:mm)
> >
> > There are more examples in the README.perlDecoders file with the
> > distribution.
> >
> >
> >
> > > I checked, and the syntax is correct, so it isn't a spacing problem. Can
> > > you spot anything wrong?
> > >
> > > Thanks,
> > > Matt
> > >
> >
> > ===============================================================================
> > Robb Kambic Unidata Program Center
> > Software Engineer III Univ. Corp for Atmospheric
> > Research
> > address@hidden WWW: http://www.unidata.ucar.edu/
> > ===============================================================================
> >
>
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================