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

20011120: For Tom



>From: "James R. Frysinger" <address@hidden>
>Organization: College of Charleston
>Keywords: 200111061842.fA6Igt112242 McIDAS platfomrs

Jim,

>OK, go for it, Tom!

I logged onto weather and investigated your 'BATCH LOCDATA.BAT'
problem.  It was a typo, you had:

DATALOC ADD TOPO      TOPO

when you wanted:

DATALOC ADD TOPO      LOCAL-DATA

I modified LOCDATA.BAT and reran the BATCH invocation and everything went
smoothly.

cd ~mcidas/workdata
batch.k LOCDATA.BAT

DATALOC ADD CIMSS     weather.cofc.edu

Group Name                    Server IP Address
--------------------         ----------------------------------------
CIMSS                        WEATHER.COFC.EDU

 ...

DATALOC ADD TOPO      LOCAL-DATA

Group Name                    Server IP Address
--------------------         ----------------------------------------
TOPO                         <LOCAL-DATA>

<LOCAL-DATA> indicates that data will be accessed from the local data directory.
DATALOC -- done

 ...

DATALOC ADD MYDATA LOCAL-DATA

Group Name                    Server IP Address
--------------------         ----------------------------------------
MYDATA                       <LOCAL-DATA>

<LOCAL-DATA> indicates that data will be accessed from the local data directory.
DATALOC -- done
batch.k: BATCH done /export/home/mcidas/data/LOCDATA.BAT

Next, I verified the DATALOCs:

dataloc.k LIST
weather[17] dataloc.k LIST

Group Name                    Server IP Address
--------------------         ----------------------------------------
AMRC                         UWAMRC.SSEC.WISC.EDU
BLIZZARD                     ADDE.UCAR.EDU
CIMSS                        WEATHER.COFC.EDU
GINICOMP                     SNOW.PLYMOUTH.EDU
GINIEAST                     CACIMBO.GGY.UGA.EDU
GINIWEST                     PAPAGAYO.UNL.EDU
ME7                          IO.SCA.UQAM.CA
MYDATA                       <LOCAL-DATA>
RTGRIDS                      WEATHER.COFC.EDU
RTIMAGES                     WEATHER.COFC.EDU
RTNEXRAD                     WEATHER.COFC.EDU
RTPTSRC                      WEATHER.COFC.EDU
RTWXTEXT                     WEATHER.COFC.EDU
TOPO                         <LOCAL-DATA>

<LOCAL-DATA> indicates that data will be accessed from the local data directory.
DATALOC -- done

And verified that you can get lists from remote servers:

weather[19] dsinfo.k I GINIWEST

        Dataset Names of Type: IMAGE in Group: GINIWEST

Name         NumPos   Content
------------ ------   --------------------------------------
GAN8KIR      99999    GINI 8 km 10.7 um Alaska National
GAN8KVIS     99999    GINI 8 km VIS Alaska National
GAN8KWV      99999    GINI 8 km WV Alaska National
GAR16KWV     99999    GINI 16 km WV Alaska Regional
GAR2KVIS     99999    GINI 2 km VIS Alaska Regional
GAR8K12      99999    GINI 8 km 12.0 um Alaska Regional
GAR8K39      99999    GINI 8 km 3.9 um Alaska Regional
GAR8KIR      99999    GINI 8 km 10.7 um Alaska Regional
GHN14KIR     99999    GINI 14 km IR Hawaii National
GHN14KVIS    99999    GINI 14 km VIS Hawaii National
GHN14KWV     99999    GINI 14 km WV Hawaii National
GHR1KVIS     99999    GINI 1 km VIS Hawaii Regional
GHR4K12      99999    GINI 4 km 12.0 Hawaii Regional
GHR4K39      99999    GINI 4 km 3.9 um Hawaii Regional
GHR4KIR      99999    GINI 4 km 10.7 um Hawaii Regional
GHR8KWV      99999    GINI 8 km WV Hawaii Regional
GMC24KIR     99999    GINI 24 km 10.7 um Mult-Composite
GMC24KVIS    99999    GINI 24 km VIS Mult-Composite
GMC24KWV     99999    GINI 24 km WV Mult-Composite
GNC24K12     99999    GINI 24 km 12.0 um Nhem-Composite
GNC24K39     99999    GINI 24 km 3.9 um Nhem-Composite
GNC24KIR     99999    GINI 24 km 10.7 um Nhem-Composite
GNC24KVIS    99999    GINI 24 km VIS Nhem-Composite
GNC24KWV     99999    GINI 24 km WV Nhem-Composite
GSN8K12      99999    GINI 8 km 12.0 um Super-National
GSN8K39      99999    GINI 8 km 3.9 um Super-National
GSN8KCTP     99999    GINI 8 km Sounder Cloud Top Pressure
GSN8KIR      99999    GINI 8 km 10.7 um Super-National
GSN8KLI      99999    GINI 8 km Sounder Lifted Index
GSN8KPW      99999    GINI 8 km Sounder Precipitable Water
GSN8KSFCT    99999    GINI 8 km Sounder SFC Skin Temperature
GSN8KVIS     99999    GINI 8 km VIS Super-National
GSN8KWV      99999    GINI 8 km WV Super-National
GW1KVIS      99999    GINI 1 km VIS West CONUS
GW4K12       99999    GINI 4 km 12.0 um West CONUS
GW4K39       99999    GINI 4 km 3.9 um West CONUS
GW4KIR       99999    GINI 4 km 10.7 um West CONUS
GW8KWV       99999    GINI 8 km WV West CONUS

DSINFO -- done

weather[20] imglist.k GINIWEST/GW1KVIS
Image file directory listing for:GINIWEST/GW1KVIS
 Pos Satellite/         Date       Time      Center   Band(s)
     sensor                                 Lat  Lon
 --- -------------  ------------  --------  ---- ---- ------------
  32  G-10 IMG      20 NOV 01324  21:30:00    39  117 1
imglist.k: done

Looking good.

Next, I checked how much shared memory was available.  The technique
is what is described in:

http://www.unidata.ucar.edu/packages/mcidas/780/mcx/workstation.html

weather[15]  /usr/sbin/sysdef | grep SHMMAX
 536870912      max shared memory segment size (SHMMAX)

So, weather has the amount of shared memory that you told it to have.

Next, I verified the set of REDIRECTions that you defined in LOCAL.NAM:

weather[21] redirect.k LIST
Number of active redirection entries=82
AREA007* /export/home/mcdata
AREA008* /export/home/mcdata
AREA009* /export/home/mcdata
 ...
SYNOPTIC.RAT /export/home/mcdata
TERMFCST.RAP /export/home/mcdata
TERMFCST.RAT /export/home/mcdata
redirect.k: Done

Next, I verified the setting of XCDDATA:

weather[26] tl.k XCDDATA
XCDDATA     := /export/home/mcdata
  --END OF LIST

Since all of this is looking very good, I decided to check on the
status of your McIDAS-XCD installation/configuration.  Apparently, you
built XCD, but did not install it.  The reason I know this is wmorte.k
exists in ~mcidas/mcidas7.8/src, but not in ~mcidas/binweather[32].

cd ~mcidas/mcidas7.8/src
ls wmorte.k ~/bin/wmorte.k

/export/home/mcidas/bin/wmorte.k: No such file or directory
wmorte.k*

So, you must have done a 'make install' instead of a 'make install.all'.
'make install' installs only McIDAS-X;  'make install.all' installs
McIDAS-X and McIDAS-XCD.

I installed McIDAS-XCD for you:

make install.xcdall

Next up is finishing the configuration of XCD.  This is really simple:

cd ~mcidas/workdata
batch.k XCD.BAT

Now, this BATCH file adds file REDIRECtions for *.bu* and *.gr* files:

REDIRECT ADD *.bu*          DEV=NNN "/export/home/mcdata/bufr
REDIRECT ADD *.gr*          DEV=NNN "/export/home/mcdata/grib

Note that the REDIRECtions are for /export/home/mcdata/bufr and 
/export/home/mcdata/grib.  These directories need to be created or else
you will get tedious messages (warnings) when running DMAP.  So, I 
created them:

mkdir /export/home/mcdata/bufr
mkdir /export/home/mcdata/grib

After doing this, initial XCD configuration can be finished:

batch.k XCDDEC.BAT

XCD configuration is not finished at this point.  In particular, model
data is not yet ready to be decoded.  The reason for this is that one
must be sure that there is enough disk space before turning on the
GRID decoder.  Listing the status of XCD decoders and turning them on
and off is done with the XCD DECINFO command.  Here how things look
by default:

decinfo.k LIST

Processing Data Monitor: DMSFC        is active
=========================================================================
Decoder       Status      Configuration File
----------------------------------------------------------------------
SAODEC        Active      ISFCDEC.CFG

 ...

Processing Data Monitor: DMGRID       is inactive
=========================================================================
Decoder       Status      Configuration File
----------------------------------------------------------------------
GRIB          Active      GRIBDEC.CFG

 ...

Since you have a lot of disk in /export/home:

weather[45] df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/proc                      0       0       0     0%    /proc
/dev/dsk/c0t0d0s0    4030518 1978176 2012037    50%    /
fd                         0       0       0     0%    /dev/fd
swap                  413080    1304  411776     1%    /tmp
/dev/dsk/c0t0d0s7    24560695 8309597 16005492    35%    /export/home

I decided to go ahead and turn on GRID decoding:

weather[46] decinfo.k SET DMGRID ACTIVE
decinfo.k: Done

OK, so now when you configure the LDM to:

1) exec "xcd_run MONITOR"   <- in pqact.cond

2) send all textual data to the McIDAS-XCD text ingester and send all
   model output to the binary ingester:

   <in ~ldm/etc/pqact.conf>

    DDPLUS|IDS      ^.*     PIPE
        xcd_run DDS
    HRS     ^.*     PIPE
        xcd_run HRS


your system will decode McIDAS POINT data (surface, upper air, synoptic,
airep/pirep, and ship/buoy) and GRID data (model output from ETA, NGM,
AVN, MRF, etc.).

The last thing I wanted to setup (since I was on a 5 minute roll)
was copying needed files to /export/home/mcdata that are needed for
ldm-mcidas decoding (satellite imagery, FSL wind profiler winds, and
NLDN lightning data):

cp ~mcidas/data/SCHEMA /export/home/mcdata
cp ~mcidas/data/SYSKEY.TAB /export/home/mcdata
cp ~mcidas/workdata/ROUTE.SYS /export/home/mcdata
cd /export/home/mcdata
chmod 664 SYSKEY.TAB ROUTE.SYS SCHEMA

I checked the ADDE remote server configuration file ~mcidas/.mcenv
and it looks good as does the setup in /etc/services.
The ADDE lines in /etc/inetd.conf, on the other hand, are incorrect:

mcserv  stream  tcp     nowait  mcadde  /export/home/mcidas/bin/mcservsh        
mcservsh -H /export/home/mcadde
mccompress      stream  tcp     nowait  mcadde  
/export/home/mcidas/bin/mcservsh        mcservsh -H /export/home/mcadde

Notice that that the value of the -H flag in each is /export/home/mcadde when
they should be /export/home/mcidas.  The setup for the remote server
was probably done before you corrected the /etc/passwd entry for 'mcadde'.

What you should do now as 'root' is:

o correct the default shell for 'mcadde' in /etc/passwd; make it /bin/false
  (the default shell for 'mcadde' should be /bin/false (not a login account!)

o uninstall the remote server:

cd ~mcidas
sh ./mcinet7.8.sh uninstall mcadde

o reinstall the remote server

sh ./mcinet7.8.sh install mcadde

At this point, the ADDE remote server should work for those sites that
are either behind your firewall or enabled through it.

Then, you can go on to setup the LDM and get data rolling in!

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.