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.
>From: "Dan A. Dansereau" <address@hidden> >Organization: Utah State University >Keywords: 199909151552.JAA07318 McIDAS FRONT FRNTDISP Dan, > I have move the /var/data to /db00/data changed the appropriate >files ( i think ) and put a soft link in the /var directory. ( I did >this because the alpha is very tough to get back up after running out >of disk space in /var ) The bottom line is I broke xcd again ( >partially ) the surface data is missing ( sfcplot ) etc would you mind >taking one more look?? What you didn't change was the set of REDIRECTions for the user 'mcidas'. I did the following to get things going again: <login as 'mcidas'> cd data <edit LOCAL.NAM and change /var/data/xcd to /db00/data/xcd and /var/data/mcidas to /db00/data/mcidas> cd ~/workdata redirect.k REST LOCAL.NAM redirect.k ADD MDXX\* \"/db00/data/xcd <login as ldm> ldmadmin stop mv xcd_run decoders/xcd_run.old ldmadmin start The stuff as 'mcidas' was to setup the file REDIRECTions. Each user should do the two REDIRECT steps above. The second forces the entries in the REDIRECTion list to be properly sorted for use. As 'ldm' I found an errant copy of xcd_run in the home directory, and the PATH for 'ldm' had '.' in it. The copy of xcd_run that had been setup for use at USU was the one in ~ldm/decoders. After the mv, this version would be used by the LDM. The LDM had to be stopped and restarted since REDIRECTions after being initially read become memory resident. The only way to force the XCD routines that were running (e.g. startxcd.k, ingebin.k, ingetext.k, dmgrid.k, dmsrc.k, dmmisc.k, dmraob.e, dmsyn.k) to have a correct set of REDIRECTions was to stop and restart them (by way of the LDM stop and restart) since they have to read this information on initial start. As I write this, I see that a new surface file has been created and has data: <login as 'mcidas'> cd workdata dmap.k MDXX tornado1.climate.usu.edu> dmap.k MDXX PERM SIZE LAST CHANGED FILENAME DIRECTORY ---- --------- ------------ -------- --------- -r-- 26541036 Oct 01 08:41 MDXX0003 /db00/data/xcd -r-- 20230936 Oct 01 08:46 MDXX0004 /db00/data/xcd -rwx 3871004 Sep 30 19:18 MDXX0013 /db00/data/xcd -r-- 2749216 Oct 01 08:46 MDXX0014 /db00/data/xcd -rwx 1456832 Sep 30 17:59 MDXX0023 /db00/data/xcd -r-- 880960 Oct 01 08:46 MDXX0024 /db00/data/xcd -rwx 5023444 Sep 30 17:59 MDXX0033 /db00/data/xcd -r-- 3043156 Oct 01 08:45 MDXX0034 /db00/data/xcd -rwx 8035624 Oct 01 08:21 MDXX0053 /db00/data/xcd -r-- 4699312 Oct 01 08:45 MDXX0054 /db00/data/xcd -r-- 3888392 Oct 01 08:46 MDXX0064 /db00/data/xcd -rwx 64984 Sep 30 18:01 MDXX0073 /db00/data/mcidas -rw- 120904 Oct 01 08:42 MDXX0074 /db00/data/mcidas 80605800 bytes in 13 files tornado1.climate.usu.edu> mdl.k 4 --RECORD AT (ROW,COL) = ( 1,2997) |TYPE = 0 | DAY = 1999274 CYD | TIME = 0 HMS |NREC = 1 | ID = TVSV | LAT = 13.1333 DEG |LON = 61.2000 DEG | ZS = 13 M | ST = |CO = LC | MOD = 0 | HMS = 0 HMS |CIGC = 2 | CC1 = 1 | CIGH = 4500. FT |ZCL1 = 1800. FT | VIS = 7.0 MI | WX1 = |WX2 = | T = 301.16 K | TD = 297.16 K |DIR = 120 DEG | SPD = 3.6 MPS | PSL = 1014.00 MB mdl.k: DONE It looks like things are running again. Please let me know if there is something else amiss. Tom