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

Re: 20020307: LDM from WSI system



On Tue, 19 Mar 2002, CHRISTOPHER HAMMOND wrote:

> Robb,
> i'm getting the data from a WSI satellite feed and pqsending it over
> to my redhat7.2 box internally (192.168.1.30) so i can look at it through
> garp...but after sending if over, the files werent created...is there a
> way to take an existing queue of wsi products and REprocess them locally
> to be put in correct format in a directory viewable by garp?
> 
lappin,

The LDM has a duplicate product detector so sending the products twice
will not work.

 From downstream machine

- Check products on upstream machine, output should come to the screen

% notifyme -vl - -o 36000 -h <upsteam machine>

- Downstream machine, need to stop/delete|make queue/start

% ldmadmin stop
% ldmadmin delqueue
% ldmadmin mkqueue 

Remaking the queue will by pass the product duplication problem

In bin directory, edit ldmadmin line 634,

change 
    $cmd_line = "rpc.ldmd";
to
    $cmd_line = "rpc.ldmd -o 36000";

This will request old products.

% ldmadmin start
% ldmadmin watch   

Shows the products arriving to your machine.
If no products are arriving then pqact can't act apon the queue.

Check problems with pqact.conf by

% ldmadmin pqactcheck


> just getting some data to look at will be enough....even if it is
> old...we can work out timing kinks later
> 
> will pqact.conf create the data directories on the fly or must they be in
> place?...logs say nothing   oddly enough
> 
> 

pqact will create the directories of the fly, if your pqact entires are
correct.

> do you think the files weren't created because I used rpd.ldmd instead of
> ldmadmin start?...does the ldadmin send the data through pqact and the way
> i did it possible bypassed the step?

Noop, pqact is a queue reader.  It just reads the data products as they
arrive.


Robb...


> 
>  On Tue, 19 Mar 2002, Robb Kambic
> wrote:
> 
> > On Tue, 19 Mar 2002, CHRISTOPHER HAMMOND wrote:
> >
> > > Robb, thanks.
> > > i've successfully sent the file, but only after invoking rpl.ldmd my
> > > self...are there problems with this method?
> >
> > lappin,
> >
> > One should use the start script ldmadmin (start|stop)
> >
> > % ldmadmin start
> >
> > I would read the man page on ldmadmin
> >
> >
> > I'm confused about you WSI configuration?  Are you getting the data via
> > WSI satellite system or are you receiving the WSI data over the internet?
> >
> > I'm asking because you first messages implied that you were getting the
> > data via satellite?
> >
> > Are you configurating one machine to feed others internally?
> >
> >
> > > now, i've sent the queue succesfully but am unsure of the process after
> > > that...i thought that the pqact.conf file would file the incoming products
> > > into the correct data files
> > >
> > pqact does store the products on your local machine as well as decode
> > products, etc.  It is important to make the entries correctly or they will
> > not work.  The syntax is a little strange. ie
> >
> > # Format is
> > # feedtype tab pattern tab action [tab action_args]
> > # where tab is \t or \n\t.
> >
> > One can use the command pqactcheck to make sure the syntax is correct.
> >
> > % ldmadmin pqactcheck
> >
> >
> > >      (i'm getting nowrad MASTER and USRAD, therefore two data directories
> > > involved)
> > >
> > Yes you should see directories under ~ldm/data
> >
> > What messages are in the log files?
> >
> > Robb...
> >
> >
> >
> > > i'm a bit confused
> > >
> > > any ideas?...i have attached my config files
> > >
> > > On Tue, 19 Mar 2002, Robb Kambic wrote:
> > >
> > > > On Tue, 19 Mar 2002, CHRISTOPHER HAMMOND wrote:
> > > >
> > > > > Robb,
> > > > > ...more developments, yesterday I was able to send my
> > > > > product queue to my downstream box using das_pqsend...no problem,
> > > > > however, today things don't seem to working correctly
> > > > >
> > > > > it says the program isn't registered...i attached net.log which 
> > > > > documents
> > > > > my attempt, also i've attached my config files.
> > > >
> > > > lappin,
> > > >
> > > > I didn't get any of your config files, just giving general answers.
> > > >
> > > > pqsend sends products from a LDM queue to a downstream machine. If 
> > > > pqsend
> > > > responds that the program isn't registered, then it's probably not
> > > > running. Another command to run is ldmping, ie
> > > >
> > > > % ldmping -i 5 -h <remoteMachine>
> > > >
> > > > This tells the LDM status of the remote machine. Another command pqcat
> > > > lets one look at the products in the local queue.  If an LDM is
> > > > running locally them the ldmadmin command also lets one look at the
> > > > products. There are man pages for all the commands located at:
> > > >
> > > > http://www.unidata.ucar.edu/packages/ldm/ldm5/manindex.html
> > > >
> > > >
> > > > > I'm not completely sure how to config pqact for use with my graphical
> > > > > programs in gempak...you'll see how i put .gif extensions on the
> > > > > products...is this even remotely close?...I can' see how the
> > > > > regular expressions create the file name, but does the name need to 
> > > > > end in
> > > > > gif to be usable for the gempak drivers?...whick driver do I need, is 
> > > > > a
> > > > > driver a decoder?...I haven't seen any decoders for WSI and assume 
> > > > > that
> > > > > pqact does all of the necesary decoding for the gempak.
> > > > >
> > > > Look at these links and others in  gempak
> > > > http://www.unidata.ucar.edu/packages/gempak/examples/nowrad/nowrad.html
> > > > http://www.unidata.ucar.edu/packages/gempak/examples/nids/nids.html
> > > >
> > > > This link has pqact examples for the WSI feedtype:
> > > >
> > > > http://www.unidata.ucar.edu/packages/gempak/tutorial/pqact/images.tbl
> > > >
> > > > There's also a search page for previous answered questions at:
> > > >
> > > > www.unidata.ucar.edu/search.html
> > > >
> > > > Look at the gempak links
> > > >
> > > > I can answer the LDM questions but I don't feel 100% qualified to answer
> > > > the gempak questions. If you send those type questions to support then
> > > > they will be routed to the gempak support person.
> > > >
> > > > Thanks,
> > > > Robb...
> > > >
> > > > > thanks
> > > > > lappin
> > > > >
> > > > > hopefully today will be the last time you hear from me
> > > > >
> > > > > :)
> > > > >
> > > > >
> > > > > On Mon, 18 Mar 2002, Robb Kambic wrote:
> > > > >
> > > > > > On Sun, 17 Mar 2002, CHRISTOPHER HAMMOND wrote:
> > > > > >
> > > > > > > Robb,
> > > > > > > thanks for your advice!!i've got the das2ldm software and am now 
> > > > > > > trying to
> > > > > > > figure out the steps to send my product queue to the downstream 
> > > > > > > ldm...i've
> > > > > > > read the online workshop,but it is all about receiving data via
> > > > > > > feedme...is there a tutorial anywhere for configging this 
> > > > > > > upstream data
> > > > > > > source LDM?
> > > > > >
> > > > > > Chris,
> > > > > >
> > > > > > Here's a link to allow and request configurations for the upstream 
> > > > > > and
> > > > > > downstream machines:
> > > > > >
> > > > > > http://www.unidata.ucar.edu/packages/ldm/smg/ldmconfig.fm.html#HDR2
> > > > > >
> > > > > > The configurations are in the etc/ldmd.conf file.
> > > > > >
> > > > > > Here's an example configuration, of course the feeds/sites will 
> > > > > > have to be
> > > > > > changed for your configurations.
> > > > > >
> > > > > > # Request for data
> > > > > > #
> > > > > > request NEXRAD ".*" imogene.unidata.ucar.edu
> > > > > > #####
> > > > > >
> > > > > > # Begin Access control
> > > > > >
> > > > > > ##
> > > > > > # ALLOW: Who we are willing to feed
> > > > > > allow   ANY
> > > > > >     ^((localhost|loopback)|(127\.0\.0\.1\.?$))
> > > > > > allow   ANY     [a-z].*\.unidata\.ucar\.edu\.?$
> > > > > >
> > > > > > #
> > > > > > allow WMO picante.comet.ucar.edu
> > > > > >
> > > > > >
> > > > > > Robb...
> > > > > >
> > > > > >
> > > > > >
> > > > > > > thanks for your help!!
> > > > > > > c hammond
> > > > > > > address@hidden
> > > > > > >
> > > > > > > On Fri, 8 Mar 2002, Robb Kambic wrote:
> > > > > > >
> > > > > > > > On Fri, 8 Mar 2002, CHRISTOPHER HAMMOND wrote:
> > > > > > > >
> > > > > > > > > Robb,
> > > > > > > > > I am having server problems and am unsure if you get my last 
> > > > > > > > > email,so I am
> > > > > > > > > resending.
> > > > > > > > >
> > > > > > > > > Thanks for the prompt reply!!
> > > > > > > > > Here are the specs on my particular site config:
> > > > > > > > >
> > > > > > > > > only two computers:
> > > > > > > > >
> > > > > > > > > 1) WSI hcsn (high capacity satellite network) consisting of a 
> > > > > > > > > wsi HP box
> > > > > > > > > running Solaris v5.x, there are NO unidata products installed 
> > > > > > > > > on this
> > > > > > > > > machine at this time...I would like to take the data coming 
> > > > > > > > > into this box
> > > > > > > > > from the satellite on my roof and send it to my downstream 
> > > > > > > > > RedHat 7.2 box
> > > > > > > > > at 192.168.1.1 which has an LDM on it and will have Gempak 
> > > > > > > > > when I get the
> > > > > > > > > feed working correctly
> > > > > > > >
> > > > > > > > lappin,
> > > > > > > >
> > > > > > > > Could you look for two programs on the machine: das2ldm_nexrad 
> > > > > > > > and
> > > > > > > > das2ldm_nowrad? On our WSI box we have 2 lines in the LDM 
> > > > > > > > etc/ldmd.conf
> > > > > > > > file to get the products:
> > > > > > > >
> > > > > > > > exec    "/opt/das2ldm/bin/das2ldm_nexrad -l /dev/null -q
> > > > > > > > /opt/ldm/data/ldm.pq"
> > > > > > > > exec    "/opt/das2ldm/bin/das2ldm_nowrad -l /dev/null -q
> > > > > > > > /opt/ldm/data/ldm.pq"
> > > > > > > >
> > > > > > > > These program take the place of pqing program to get the 
> > > > > > > > products into the
> > > > > > > > LDM.  If you don't have these programs, how do you get the 
> > > > > > > > products?  Also
> > > > > > > > I would contact WSI about this issue. We have worked with WSI, 
> > > > > > > > so they
> > > > > > > > should have the configuration needed to get the products into 
> > > > > > > > the LDM.
> > > > > > > > They might have changed the configuration because our WSI box 
> > > > > > > > is about 5
> > > > > > > > years old. If the configuration is different, can  you let me 
> > > > > > > > know for any
> > > > > > > > future questions.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Robb...
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > 2) RedHat 7.2 which has an ldm and will have a gempak 
> > > > > > > > > installed on it once the feed is
> > > > > > > > > coming in from the wsi box
> > > > > > > > >
> > > > > > > > > hopefully these details will help you out...if you need ANY 
> > > > > > > > > other info,
> > > > > > > > > you know where to find me.
> > > > > > > > > Thanks very much for your kind help, it is GREATLY 
> > > > > > > > > appreciated!!
> > > > > > > > > sincerely
> > > > > > > > > lappin
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, 7 Mar 2002, Robb Kambic wrote:
> > > > > > > > >
> > > > > > > > > > On Thu, 7 Mar 2002, Unidata Support wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >Subject: Re: 20020305: FW: Unidata Community Portal 
> > > > > > > > > > > >Feedback
> > > > > > > > > > > >Organization: UCAR/Unidata
> > > > > > > > > > > >Keywords: 200203071345.g27DjCK09529
> > > > > > > > > > >
> > > > > > > > > > > I have now read all of the online data for the ldm and 
> > > > > > > > > > > have a
> > > > > > > > > > > question concerning my site configuration:
> > > > > > > > > > >
> > > > > > > > > > > i am paying for a wsi feed (nexrad) which comes to me via 
> > > > > > > > > > > a das (data
> > > > > > > > > > > acquisition system) which is a satellite uplink on my 
> > > > > > > > > > > roof and a hp box
> > > > > > > > > > > running solaris 5.? (im away from the computer and can't 
> > > > > > > > > > > recall exact
> > > > > > > > > > > version number)  I would like to run an ldm on the 
> > > > > > > > > > > solaris box and send
> > > > > > > > > > > the data to a downstream redhat 7.2 box on my private 
> > > > > > > > > > > network for viewing
> > > > > > > > > > > with gempak.  The question is...how do I configure the 
> > > > > > > > > > > ldm to grab the
> > > > > > > > > > > data from a local source like what will be happening in 
> > > > > > > > > > > my case?  Are
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Lappin,
> > > > > > > > > >
> > > > > > > > > > I depends if your WSI system was set up using the LDM 
> > > > > > > > > > software? If that's
> > > > > > > > > > the case, then all one would have to do is to configure the 
> > > > > > > > > > LDM to permit
> > > > > > > > > > the remote machines to obtain the data. The remote machine 
> > > > > > > > > > would have to
> > > > > > > > > > run an LDM and then request the data from the WSI machine. 
> > > > > > > > > > The usual LDM
> > > > > > > > > > configuration is to place the LDM s/w in /opt/ldm.
> > > > > > > > > >
> > > > > > > > > > To permit the remote machines to get the data an ALLOW line 
> > > > > > > > > > needs to be
> > > > > > > > > > entered in the etc/ldmd.conf file. Then a request line 
> > > > > > > > > > needs to be entered
> > > > > > > > > > into the remote machines etc/ldmd.conf file.  The details 
> > > > > > > > > > of these
> > > > > > > > > > commands are located at:
> > > > > > > > > >
> > > > > > > > > > http://www.unidata.ucar.edu/packages/ldm/workshop2001/Config_server.html#s1
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Once we have determine your environment, I can give you the 
> > > > > > > > > > details
> > > > > > > > > > that need to be done to get your configuration setup.
> > > > > > > > > >
> > > > > > > > > > Robb....
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > there any preexisting scripts to handle this?...i've 
> > > > > > > > > > > searched the support
> > > > > > > > > > > databases and didn't find anything helpful...any ideas?
> > > > > > > > > > > any help is GREATLY appreciated.
> > > > > > > > > > > Lappin Hammond
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ===============================================================================
> > > > > > > > > > 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/
> > > > > > > > ===============================================================================
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > ===============================================================================
> > > > > > 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/
> > > > ===============================================================================
> > > >
> > > >
> > >
> >
> > ===============================================================================
> > 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/
===============================================================================