This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Pavel, Comments below in text.... -Jeff ____________________________ _____________________ Jeff Weber address@hidden Unidata Support PH:303-497-8676 COMET Case Study Library FX:303-497-8690 University Corp for Atmospheric Research 3300 Mitchell Ln http://www.unidata.ucar.edu/staff/jweber Boulder,Co 80307-3000 ________________________________________ ______________________ On Tue, 29 Oct 2002, Pavel Byles:: Howard University Engineering wrote: > Hey Jeff, > How are you doing? It's been a long time since we spoke. > I have 2 questions for you. (again) > > Firstly, when installing the LDM from source I need to set the LDMHOME > environment variable. But "setenv LDMHOME /usr/local/ldm" does not work. > It gives this error: I see you are in a bash shell, setenv is not the appropriate command in a bash shell. You should enter: export LDMHOME=/usr/local/ldm if doing from a bash shell. > [ldm@laptop /]$ setenv LDMHOME=/usr/local/ldm > -bash: setenv: command not found > > But when I do this: > > [ldm@laptop /]$ set LDMHOME=/usr/local/ldm > [ldm@laptop /]$ cd $LDMHOME > [ldm@laptop ldm]$ pwd > /usr/local/ldm > [ldm@laptop ldm]$ > > I also put the "set LDMHOME=/usr/local/ldm" in the .cshrc file and then > sourced it then ran the configure > It actually sets the variable LDMHOME to the /usr.... dir. So when I try > to compile the source I get this error: > from the cshell in your .cshrc file the setenv command should be used "setenv LDMHOME /usr/local/ldm" > checking LDMHOME... configure: error: $LDMHOME not set. See INSTALL. > Why is it telling me that it's not set, because: > > [ldm@laptop src]$ cd $LDMHOME > [ldm@laptop ldm]$ ls > bin Desktop ldm-5.0.11 ldm_changes.txt logs man > data include ldm-5.0.11.tar lib mail src > [ldm@laptop ldm]$ > > What's wrong? > > Secondly .... > How do I tell the LDM to send data to the a specific decoder? (in the > pqact.conf) It is a PIPE command, here is an example for the AVN model output: Remember all tabs no spaces in pqact.conf! # AVN model on global 5.0 x 2.5 degree grids HRS ^H.[A-D]... KWB. (..)(..).*/mAVN PIPE /usr/local/ldm/decoders/gribtonc etc/avn-a.cdl data/GRIB/(\1:yy)(\1:mm)\1\2_avn-a.nc Good Luck! > > Pavel Byles > on Redhat 8.0 > >