[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20050331: WWDISP problems on McIDAS (cont.)
- Subject: 20050331: WWDISP problems on McIDAS (cont.)
- Date: Thu, 31 Mar 2005 12:04:25 -0700
>From: Unidata Support <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200503302006.j2UK6Av2007918 McIDAS WWDISP
Hi Gilbert,
I _think_ was able to replicate the problem you were seeing with WWDISP
not displaying warnings by county. I found, however, that my problem
was related to a file REDIRECTion that I had in place.
WWDISP and WWLIST both call a C routine that reads .MAP files to get
county (state and zone) border information used in plotting. The .MAP
file names all begin with the letter 'U':
<as 'mcidas'>
cd ~mcidas/data
ls -alt U*.MAP
-rw-r--r-- 10 mcidas ustaff 8045944 Apr 14 2004 USZONE.MAP
-rw-r--r-- 10 mcidas ustaff 5767780 Apr 14 2004 USCOUNTY.MAP
-rw-r--r-- 10 mcidas ustaff 2034796 Oct 23 2001 USSTATE.MAP
The file REDIRECTion that I had that caused my WWDISP invocations to
not work was:
/home/mcidas/workdata% redirect.k LIST
Number of active redirection entries=4
AREA2000 .
BREF_* /home/mcidas/workdata/10KRCM-NAT
G12* /scratch/chiz/
U* /home/mcidas/workdata/topo
In my case, the 'U*' redirection matched all of the .MAP files used by
WWDISP/WWLIST. The errors I would see when running WWLIST looked
like:
wwlist.k: McGetCountyNameFromFips returns -1
Unable to find county number 89 for the state of MN
wwlist.k: McGetCountyNameFromFips returns -1
Unable to find county number 99 for the state of ND
...
After removing the file REDIRECTion, my WWDISP and WWLIST invocations
worked without problem. I created three plots to convince my self of
the correct functionality on a Linux system here at the UPC:
http://www.unidata.ucar.edu/content/staff/tom/gifs/wwdisp_20050331.gif
http://www.unidata.ucar.edu/content/staff/tom/gifs/wwdisp_AL.gif
http://www.unidata.ucar.edu/content/staff/tom/gifs/wwdisp_CO.gif
Please take a look at these and see if they are the sort of plot output
you would expect. If they are, please do the following to see if you
have a problem similar to the one that I had (this assumes that you are
running the McIDAS processes that create your web page graphics as the
user 'mcidas'. If you are running as some other user, you will need to
login as that user and test in the same way):
<as 'mcidas'>
cd ~mcidas/workdata
dmap.k \*.MAP
If your DMAP listing does not show that the USZONE.MAP, USCOUNTY.MAP,
and USSTATE.MAP files were found in ~mcidas/data, then check to see if
you have a file REDIRECTion that is causing the program to not find
them:
redirect.k LIST
If you find an offending REDIRECTion, remove it and verify that the
WWDISP plots are created correcctly.
If this is _not_ your problem, I would appreciate being able to logon
as the user producing your graphics on the machine on which the graphics
are being produced so I can troubleshoot. Thanks in advance.
Cheers,
Tom
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web. If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.