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.
Chris, > I'm having trouble with decoding LDM data for use with Gempak. The ldmd.log > show that almost all of the LDM data errors out with: > Couldn't exec(decoders/<dc name>): No such file or directory. All of the > decoders in question are located in the NAWIPS/os/linux64/bin. > As the LDM user I can access and execute the decoders in the Gempak directory. > > LDM data is stored in the LDM's home/var/data directory. Once the LDM is > started the gempak directory is created with sub folders, images, nexrad, and > nwx. All of these contain current LDM data. Everything else needing a decoder > is not created. > > I changed the Gempak Gemenviron profiles to the following: > > GEMDATA /home/ldm/var/data/gempak > LDMDATA /home/ldm/var/data > > Environment output: > > OS_ROOT=/home/gempak/GEMPAK6.2.0/os/linux64 > LPFLAG=-d > HOSTNAME=weather.mscd.edu > BRDGDIR=/home/gempak/GEMPAK6.2.0/unidata/ldmbridge > LDMDATA=/home/ldm/var/data > SHELL=/bin/bash > TERM=xterm-256color > WS_ETA_GEM=/scratch/chiz/wseta/worketa/gempak > MODEL_SND=/home/ldm/var/data/gempak/modsnd/gempak/bufr/model > HDS=/home/ldm/var/data/gempak/model > HISTSIZE=1000 > NLDN=/home/ldm/var/data/gempak/nldn > UPA=/home/ldm/var/data/gempak/upperair > NA_OS=linux64 > QTDIR=/usr/lib64/qt-3.3 > OLDPWD=/home/gempak > GEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables > QTINC=/usr/lib64/qt-3.3/include > GOES8=/home/ldm/var/data/gempak/images/sat/GOES-8 > MEL_BUFR=/home/gempak/GEMPAK6.2.0/extlibs/melBUFR/melbufr > GOES9=/home/ldm/var/data/gempak/images/sat/GOES-9 > USER=gempak > GRPHGD=/home/gempak > MEL_BUFR_TABLES=/home/gempak/GEMPAK6.2.0/gempak/tables/melbufr > OS_LIB=/home/gempak/GEMPAK6.2.0/os/linux64/lib > USE_GFORTRAN=1 > RAW_SAO=/home/ldm/var/data/surface/sao > NTRANS_META=/home/ldm/var/data/gempak/meta > OS_BIN=/home/gempak/GEMPAK6.2.0/os/linux64/bin > GEMPARM=/home/gempak/GEMPAK6.2.0/gempak/parm > MODEL_SFC=/home/ldm/var/data/gempak/modsnd/gempak/bufr/model > GEMPAKHOME=/home/gempak/GEMPAK6.2.0/gempak > TEXT_WARN=/home/ldm/var/data/gempak/nwx/watch_warn > RAW_SYN=/home/ldm/var/data/surface/syn > MAIL=/var/spool/mail/gempak > PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gempak/bin:/home/gempak/GEMPAK6.2.0/os/linux64/bin:/home/gempak/GEMPAK6.2.0/bin The pqact process can't find the decoders because the directory that contains them (NAWIPS/os/linux64/bin) isn't in the PATH environment variable. > OBS=/home/ldm/var/data/gempak > MODEL=/home/ldm/var/data/gempak/model > TEXT_DATA=/home/ldm/var/data/gempak/nwx > PWD=/home/gempak/NAWIPS > GEMHLP=/home/gempak/GEMPAK6.2.0/gempak/help > GEMMAPS=/home/gempak/GEMPAK6.2.0/gempak/maps > LANG=en_US.UTF-8 > GEMDATA=/home/ldm/var/data/gempak > XUSERFILESEARCHPATH=/home/gempak/GEMPAK6.2.0/resource/%N > NMAP_RESTORE=/home/gempak/GEMPAK6.2.0/gempak/nts/nmap/restore > CONFIGDIR=/home/gempak/GEMPAK6.2.0/config > GEMPAK=/home/gempak/GEMPAK6.2.0/gempak > GEMGTXT=/home/gempak/GEMPAK6.2.0/gempak/txt/gemlib > GARPHOME=/home/gempak/GEMPAK6.2.0/comet/garp > SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass > HISTCONTROL=ignoredups > SAT=/home/ldm/var/data/gempak/images/sat > AFOS_ALARMS=/home/ldm/var/data/gempak/alarms/ > TSTRM_WARN=/home/ldm/var/data/gempak/nwx/watch_warn/SVR > GEM_COMPTYPE=gfortran > SHLVL=1 > HOME=/home/gempak > SIGWX=/home/ldm/var/data/gempak/sigwx > GEMNTS=/home/gempak/GEMPAK6.2.0/gempak/nts > RAW_UPA=/home/ldm/var/data/upperair > GEMEXE=/home/gempak/GEMPAK6.2.0/os/linux64/bin > NAWIPS=/home/gempak/GEMPAK6.2.0 > SPDATA=/home/ldm/var/data/gempak > RAD=/home/ldm/var/data/gempak/nexrad > TORN_WARN=/home/ldm/var/data/gempak/nwx/watch_warn/TOR > LOGNAME=gempak > LP=lp -c > QTLIB=/usr/lib64/qt-3.3/lib > CVS_RSH=ssh > GEMPTXT=/home/gempak/GEMPAK6.2.0/gempak/txt/programs > GEMPDF=/home/gempak/GEMPAK6.2.0/gempak/pdf > SAO=/home/ldm/var/data/gempak/surface > OS_INC=/home/gempak/GEMPAK6.2.0/os/linux64/include > LESSOPEN=|/usr/bin/lesspipe.sh %s > RBKGPH=/home/ldm/var/data/gempak/redbook > GEMLIB=/home/gempak/GEMPAK6.2.0/os/linux64/lib > GARP_PATH=/home/gempak/GEMPAK6.2.0/comet/garp/config > GEMERR=/home/gempak/GEMPAK6.2.0/gempak/error > G_BROKEN_FILENAMES=1 > _=/bin/env > > ------------------------- > > I then ran NAWIPS/ldm/etc/gen_pqact.csh to create a pqact.gempak file > This file was changed to LDM as the owner and move to the LDMs etc folder. > I included the following line in the ldmd.conf file. > EXEC "pqact etc/pqact.gempak" > > > Example entries for pact.gempak > > WMO ^U[ABCDEFGHIJKLMNPQRSTWXY] > PIPE decoders/dcuair -b 24 -m 16 > -d data/gempak/logs/dcuair.log > -e GEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables > -s snstns.tbl > data/gempak/upperair/YYYYMMDD_upa.gem > > > DDPLUS ^FO(US14|AK1[34]|AK2[5-9]) > PIPE decoders/dcnmos > -d data/gempak/logs/dcnmos.log > -e GEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables > data/gempak/mos/YYYYMMDDHH_nmos.gem > > WMO ^(FOUS2[1-6]|FOAK3[7-9]|FOPA20) > PIPE decoders/dcgmos > -d data/gempak/logs/dcgmos.log > -e GEMPAK=/home/gempak/GEMPAK6.2.0/gempak > -e GEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables > data/gempak/mos/YYYYMMDDHH_gmos.gem > > > After restarting the ldm, an example log check shows: > > Aug 30 10:53:08 weather pqact[24549] NOTE: child 11954 exited with status 1 > (decoders/dcmsfc-b9-ddata/gempak/logs/dcmsfc.log-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tablesdata/gempak/ship/YYYYMMDDHH_sb.gem) > Aug 30 10:53:08 weather pqact[24549] NOTE: child 11957 exited with status 1 > (decoders/dcmsfc-ddata/gempak/logs/dcmsfc_6hr.log-a6-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tablesdata/gempak/ship6hr/YYYYMMDDHH_ship.gem) > Aug 30 10:53:08 weather pqact[11958] ERROR: Couldn't exec(decoders/dcuair): > No such file or directory > Aug 30 10:53:08 weather pqact[11958] NOTE: Exiting > Aug 30 10:53:08 weather pqact[11959] ERROR: Couldn't exec(decoders/dcuair): > No such file or directory > Aug 30 10:53:08 weather pqact[11959] NOTE: Exiting > Aug 30 10:53:08 weather pqact[11960] ERROR: Couldn't exec(decoders/dcacft): > No such file or directory > Aug 30 10:53:08 weather pqact[11960] NOTE: Exiting > Aug 30 10:53:08 weather pqact[11961] ERROR: Couldn't exec(decoders/dcacft): > No such file or directory > Aug 30 10:53:08 weather pqact[11961] NOTE: Exiting > Aug 30 10:53:08 weather pqact[24547] NOTE: child 11958 exited with status 1 > (decoders/dcuair-b24-m16-ddata/gempak/logs/dcuair.log-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables-ssnstns.tbldata/gempak/upperair/YYYYMMDD_upa.gem) > Aug 30 10:53:08 weather pqact[24547] NOTE: child 11960 exited with status 1 > (decoders/dcacft-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables-ddata/gempak/logs/dcacft.logdata/gempak/acft/YYYYMMDDHH_acf.gem) > Aug 30 10:53:08 weather pqact[24549] NOTE: child 11959 exited with status 1 > (decoders/dcuair-b24-m16-ddata/gempak/logs/dcuair.log-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables-ssnstns.tbldata/gempak/upperair/YYYYMMDD_upa.gem) > Aug 30 10:53:08 weather pqact[24549] NOTE: child 11961 exited with status 1 > (decoders/dcacft-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tables-ddata/gempak/logs/dcacft.logdata/gempak/acft/YYYYMMDDHH_acf.gem) > Aug 30 10:53:10 weather pqact[11962] ERROR: Couldn't exec(decoders/dcmetr): > No such file or directory > Aug 30 10:53:10 weather pqact[11962] NOTE: Exiting > Aug 30 10:53:10 weather pqact[11963] ERROR: Couldn't exec(decoders/dcmetr): > No such file or directory > Aug 30 10:53:10 weather pqact[11963] NOTE: Exiting > Aug 30 10:53:10 weather pqact[24549] NOTE: child 11962 exited with status 1 > (decoders/dcmetr-v2-a500-m72-ssfmetar_sa.tbl-ddata/gempak/logs/dcmetr.log-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tablesdata/gempak/surface/YYYYMMDD_sao.gem) > Aug 30 10:53:10 weather pqact[24547] NOTE: child 11963 exited with status 1 > (decoders/dcmetr-v2-a500-m72-ssfmetar_sa.tbl-ddata/gempak/logs/dcmetr.log-eGEMTBL=/home/gempak/GEMPAK6.2.0/gempak/tablesdata/gempak/surface/YYYYMMDD_sao.gem) > > > Please let me know if you need any additional information. I know i'm missing > something in the documentation but can't figure out where I'm going wrong. > Any help would be appreciated . > > Thanks, > > Chris > > -- > Christopher Kimmett > Unix Systems Administrator > Metropolitan State College of Denver > 303.556.3932 | address@hidden Regards, Steve Emmerson Ticket Details =================== Ticket ID: GJO-292105 Department: Support LDM Priority: Normal Status: Closed