[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010110: McIDAS XCD 7.701 and LDM NEXRAD Products (cont.)
- Subject: 20010110: McIDAS XCD 7.701 and LDM NEXRAD Products (cont.)
- Date: Wed, 10 Jan 2001 18:08:05 -0700
>From: Eirh-Yu Hsie <address@hidden>
>Organization: CU/CIRES
>Keywords: 200101101553.f0AFrjo09619 McIDS NEXRAD ADDE setup
Hsie,
>What I likr to do is tie up the unused product code (I do not have WSI
>product):
>
>ROUTE ADD R1 AREA 300 339 CC=3 SYS=2301 2302 2303 "Base Reflectivity Tilt 1
>ROUTE ADD R2 AREA 340 379 CC=3 SYS=2304 2305 2306 "Base Reflectivity Tilt 2
>ROUTE ADD R3 AREA 380 419 CC=3 SYS=2307 2308 2309 "Base Reflectivity Tilt 3
>ROUTE ADD R4 AREA 420 459 CC=3 SYS=2310 2311 2312 "Base Reflectivity Tilt 4
>ROUTE ADD R5 AREA 460 499 CC=3 SYS=2313 2314 2315 "Composite Reflectivity
>ROUTE ADD R6 AREA 500 539 CC=3 SYS=2316 2317 2318 "Layer Reflect SFC-24 K ft
>ROUTE ADD R7 AREA 540 579 CC=3 SYS=2319 2320 2321 "Layer Reflect 24-33 K ft
>ROUTE ADD R8 AREA 580 619 CC=3 SYS=2322 2323 2324 "Layer Reflect 33-60 K ft
>ROUTE ADD R9 AREA 620 659 CC=3 SYS=2325 2326 2327 "Echo Tops
>ROUTE ADD RA AREA 660 699 CC=3 SYS=2328 2329 2330 "Vertical Liquid H2O
>ROUTE ADD RB AREA 700 739 CC=3 SYS=2331 2332 2333 "1-hour Surface Rain Total
>ROUTE ADD RC AREA 740 779 CC=3 SYS=2334 2335 2336 "3-hour Surface Rain Total
>ROUTE ADD RD AREA 780 819 CC=3 SYS=2337 2338 2339 "Storm Total Rainfall
>ROUTE ADD RE AREA 820 859 CC=3 SYS=2340 2341 2342 "Radial Velocity Tilt 1
>ROUTE ADD RF AREA 860 899 CC=3 SYS=2343 2344 2345 "Radial Velocity Tilt 2
>ROUTE ADD RG AREA 900 939 CC=3 SYS=2346 2347 2348 "Radial Velocity Tilt 3
>ROUTE ADD RH AREA 940 979 CC=3 SYS=2349 2350 2351 "Radial Velocity Tilt 4
>ROUTE ADD RI AREA 980 1019 CC=3 SYS=2352 2353 2354 "248 nm Base Reflectivity
> T1
>ROUTE ADD RJ AREA 1020 1059 CC=3 SYS=2355 2356 2357 "Storm-Rel Mean Vel Tilt 1
>ROUTE ADD RK AREA 1060 1099 CC=3 SYS=2358 2359 2360 "Storm-Rel Mean Vel Tilt 2
>
>
>and use them for NEXRAD product for one station, e.g. FTG. So I can use the
>Unidata menu system or the GUI to see the Nexrad images.
OK, I think I understand what you want to do.
First, the routing table entries were used when a site was ingesting WSI
NIDS data AND converting those products to McIDAS AREA file format using
the ldm-mcidas decoder nids2area. nids2area does _not_ (yet) work with
the zlib-compressed NIDS images in NOAAPORT. Instead, I have updated the
ADDE servers for NEXRAD data to be able to read those files directly.
Since the MCGUI is not ADDEized yet (works on AREA files), you will need
to use the Fkey menu. On top of that, another site pointed out to me
that I had not updated/modified the Fkey menu to work with NOAAPORT
NIDS products. I did the update this morning and was just testing it
when I saw your email. So, you should grab the new Fkey menu and
put it in the ~mcidas/mcidas7.7/data directory on your machine:
<login as 'mcidas'>
cd mcidas7.7/data
ftp ftp.unidata.ucar.edu
<user> anonymous
<pass> your_email_address
cd pub/mcidas
binary
get UNIDATA.MNU
quit
<make sure that ~/mcidas7.7/data/UNIDATA.MNU is linked to
~mcidas/data/UNIDATA.MNU. This way you will know you will be using the
correct version.
To test things out, do the following from your McIDAS-X session:
DATALOC ADD RTNEXRAD PAPAGAYO.UNL.EDU
Now, start the new Fkey menu and try plotting a Base Reflectivity Tilt 1
image:
F1 Latest Images/Image Loops
CF1 NIDS Products (NOAAPORT)
F1 Base Reflectivity Tilt 1
A Tcl/Tk GUI widget should eventually popup on your screen and give you
a list of stations that you can display. Choose FTG from the list
and hit the Load button. The Base Reflectivity for FTG should be displayed
in Frame 11 if everything is setup correctly.
Next, we need to setup ADDE serving for the NOAAPORT NIDS products on
your system. This is what our last email exchange was about.
All of the steps in the procedure are done as the user 'mcidas' on the
machine that is running your remote ADDE server:
cd ~mcidas/data
cp DSSERVE.BAT DSNEXRAD.BAT
<edit DSNEXRAD.BAT and remove ALL lines except those that define the
NOAAPORT NEXRAD products. i.e., leave the lines:
REM
REM NOAAPORT NEXRAD Level III products
REM
DSSERVE ADD RTNEXRAD/N0R NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Base Reflectivity Tilt 1
DSSERVE ADD RTNEXRAD/N1R NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Base Reflectivity Tilt 2
DSSERVE ADD RTNEXRAD/N2R NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Base Reflectivity Tilt 3
DSSERVE ADD RTNEXRAD/N3R NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Base Reflectivity Tilt 4
DSSERVE ADD RTNEXRAD/N0V NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Radial Velocity Tilt 1
DSSERVE ADD RTNEXRAD/N1V NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Radial Velocity Tilt 2
DSSERVE ADD RTNEXRAD/NCR NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Composite Reflectivity
DSSERVE ADD RTNEXRAD/N0S NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Storm-Rel Mean Vel Tilt 1
DSSERVE ADD RTNEXRAD/N1S NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Storm-Rel Mean Vel Tilt 2
DSSERVE ADD RTNEXRAD/N2S NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Storm-Rel Mean Vel Tilt 3
DSSERVE ADD RTNEXRAD/NVL NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Vertical Liquid H2O
DSSERVE ADD RTNEXRAD/NTP NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"Storm Total Rainfall
DSSERVE ADD RTNEXRAD/N1P NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"1-hour Surface Rainfall
DSSERVE ADD RTNEXRAD/N0Z NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
"248 nm Base Reflectifity
DSSERVE ADD RTNEXRAD/NET NEXR 1 9999 TYPE=IMAGE INFO=NNEXRAD.CFG
" Echo Tops
<while still editing the file, change NNEXRAD.CFG to CIRENEXR.CFG; you will
end up with:
REM
REM NOAAPORT NEXRAD Level III products
REM
DSSERVE ADD RTNEXRAD/N0R NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Base Reflectivity Tilt 1
DSSERVE ADD RTNEXRAD/N1R NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Base Reflectivity Tilt 2
DSSERVE ADD RTNEXRAD/N2R NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Base Reflectivity Tilt 3
DSSERVE ADD RTNEXRAD/N3R NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Base Reflectivity Tilt 4
DSSERVE ADD RTNEXRAD/N0V NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Radial Velocity Tilt 1
DSSERVE ADD RTNEXRAD/N1V NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Radial Velocity Tilt 2
DSSERVE ADD RTNEXRAD/NCR NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Composite Reflectivity
DSSERVE ADD RTNEXRAD/N0S NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Storm-Rel Mean Vel Tilt 1
DSSERVE ADD RTNEXRAD/N1S NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Storm-Rel Mean Vel Tilt 2
DSSERVE ADD RTNEXRAD/N2S NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Storm-Rel Mean Vel Tilt 3
DSSERVE ADD RTNEXRAD/NVL NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Vertical Liquid H2O
DSSERVE ADD RTNEXRAD/NTP NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"Storm Total Rainfall
DSSERVE ADD RTNEXRAD/N1P NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"1-hour Surface Rainfall
DSSERVE ADD RTNEXRAD/N0Z NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
"248 nm Base Reflectifity
DSSERVE ADD RTNEXRAD/NET NEXR 1 9999 TYPE=IMAGE INFO=CIRENEXR.CFG
" Echo Tops
cd ~mcidas/workdata
cp NNEXRAD.CFG CIRENEXR.CFG
<edit CIRENEXR.CFG and change DIRMASK= to the directory mask where you are
storing your NEXRAD products. More on this below...
setup your ADDE server routing table:
batch.k DSNEXRAD.BAT
It is best if you store your NEXRAD data in a hierarchical directory
structure that has the station ID as one node in the branch:
/N0R/N0R_20010110_1530
/N1R/...
/data/nexrad/NIDS/FTG/N2R/...
/NCR/...
/NVL/...
etc./...
/N0R/...
/N1R/...
/data/nexrad/NIDS/CYS/N2R/...
/NCR/...
/NVL/...
etc./...
The idea is for the directory structure to look like:
/data/nexrad/NIDS/\ID/\TYPE/
where \ID represents NEXRAD station IDs and \TYPE represents NEXRAD product
types.
After doing this, the DIRMASK entry in CIRENEXR.CFG would look like:
DIRMASK=/data/nexrad/NIDS/\ID/\TYPE/
The FILEMASK line in CIRENEXR.CFG needs to be set to match the naming
scheme that you have adopted for the files. We use names like:
N0R_CCYYMMDD_HHMM
where: CC - century
YY - year
MM - month
DD - day
HH - hour
MM - minute
example: N0R_20010110_1530
For this example, FILEMASK would be set to:
FILEMASK=\TYPE_*
After setting up CIRENEXR.CFG, you should be able to list and display
the NEXRAD data available on your machine. Here is how I would test
this:
cd ~mcidas/workdata
dataloc.k ADD RTNEXRAD cires_adde_server_name
dsinfo.k I RTNEXRAD
If you get a listing that reflects the entries in ~mcidas/data/DSNEXRAD.CFG
above, then continue. Otherwise we need to find out what went wrong above.
imglist.k RTNEXRAD/N0R ID=FTG
If this works, go for broke and start a McIDAS-X session, then the Fkey
menu and try plotting the data.
Please let me know how this goes...
Tom