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

20010620: McIDAS: Enhancement tables and stty problem with mcenv



>From: Christian Page <address@hidden>
>Organization: Universite du Quebec a Montreal
>Keywords: 200106201031.f5KAVv116018 McIDAS ehancements

Christian,

>Is there a repository of nice enhancement tables for McIDAS?

I am sure that one or more sites might have a variety of enhancements
that they are willing to share.

>I am looking mainly for blue-green-yellow-red table for IR, or something
>similar (.ET similar to what we can see on
>http://www.rap.ucar.edu/weather/satellite/latest_ALB_ir.jpg
>by example).

I don't have an enhancement that would produce the same display.  I know
that the folks at CIRA (Colorado State University) has a number of
enhancements that were developed for RAMSDIS.  I think that the RAP
coloration of IR images are based on this (perhaps indirectly through
use of a GEMPAK enhancement which would have been adopted because of
the color scheme's use in RAMSDIS).

It might be a good idea to send an inquiry to the mcidas-x email list
(address@hidden) to see if any of the sites out there have
enhancements that they are willing to share with the community.
Since folks at SSEC are also on the mcidas-x email list, they might
chime in with info as well.

>I tried to run mcrun.sh, to test running McIDAS batch script, and I always
>get:
>stty: : Inappropriate I/O control operation
>and no McIDAS commands can work (I tried to put some commands, like imgdisp.k
>by example). I only modified MCHOME to be set to the proper
>path. Nothing else has been changed...

Hmm...  I will have to take a look into this.

I just took the copy of mcrun.sh and copied it to a working version in
my McIDAS working directory and put in a simple imglist.k invocation
to a dataset for which I have a DATALOCation, and it worked fine:

cd $MCDATA
mcenv << EOF

# put McIDAS-X commands you want to run here, one command per line.

# Example (note that these lines are commented out!!):
#
# dataloc.k ADD RTGINI adde.unidata.ucar.edu
# imgdisp.k RTGINI/GE1KVIS STA=KMIA EU=IMAGE SF=YES REFRESH='EG;MAP H'
# frmsave.k 1 miamivis.gif

imglist.k RTIMAGES/GE-IR


%cat mcrun.log
Image file directory listing for:RTIMAGES/GE-IR
 Pos Satellite/         Date       Time      Center   Band(s)
     sensor                                 Lat  Lon
 --- -------------  ------------  --------  ---- ---- ------------
   9  G-8 IMG       20 JUN 01171  16:15:00    23   71 4
imglist.k: done

So, at least on the machine I am working on (RedHat 7.1 Linux), I can't
reproduce your problem.

One quick thought...  Is LD_LIBRARY_PATH defined in the Unix session from
which you are running mcrun.sh?  If not, the following line from mcrun.sh
might fail:

LD_LIBRARY_PATH=$MCHOME/lib:$LD_LIBRARY_PATH

>From address@hidden Wed Jun 20 07:22:03 2001
>Subject: McIDAS: IR stretch table in Celcius?

>Hi again...

>Is there a stretch table available in McIDAS with Celcius units instead of
>Kelvin?

No, and since the temperatures in satellite images in McIDAS are always in
K, this is not easily done.  If your objective is to be able to display a
data BAR that has units in C, but you can make one yourself.  First, take
a look at the stretch table for GOES IR imagery, IRTEMP.ST:

SU TABLE IRTEMP
BREAKPOINTS STORED IN TABLE : IRTEMP.ST
INPUT       OUTPUT
-----       ------
 163           255
 241.9999      177
 242           176
 330           0
CALIBRATION TYPE  : GVAR
CALIBRATION UNITS : TEMP
BAND NUMBER       : -1
INTERPOLATION TYPE: LIN
SU: DONE

You can create the same stretch table, but in Celsius, as follows:

SU INI IRTEMPC X TEMP
SU MAKE IRTEMPC -110.16 -31.16 255 177
SU MAKE IRTEMPC -31.15 56.84 176 0
 
SU TABLE IRTEMPC
BREAKPOINTS STORED IN TABLE : IRTEMPC.ST
INPUT       OUTPUT
-----       ------
 -110.16       255
 -31.16        177
 -31.15        176
 56.84         0
CALIBRATION TYPE  :
CALIBRATION UNITS : TEMP
BAND NUMBER       : -1
INTERPOLATION TYPE: LIN
SU: DONE

Now, you can _not_ load the image using this stretch (because the values
will still be interpreted as K), but you can use the stretch with BAR
for labeling:

IMGDISP RTIMAGES/GE-IR STA=CYQB EU=IMAGE REFRESH='EG;MAP H;BAR SU=IRTEMPC'

The only thing wrong with this display is that the units listed by BAR
for TEMP will still be [K].  A slight change/enhancement to bar.pgm could
allow the user to specify his/her own unit for display (as a 4 or fewer
character string).

>Thanks a lot again for your support,

You are welcome.

Tom

From: "Motta, Brian" <address@hidden>
To: "Christian Page" <address@hidden>, <address@hidden>
Date: Fri, 22 Jun 2001 12:42:14 -0600
Subject: RE: McIDAS enhancement tables repository?

Christian- There are a couple of good sources for information on
satellite enhancement tables. 

for McIDAS .ET files,  see the NESDIS ORA FPDT page at
http://orbit-net.nesdis.noaa.gov/arad/fpdt/enh/enh.html

there's also a page at 
http://www.cira.colostate.edu/ramm/visit/istpds/awips/lookup.html

which shows even more enhancement tables that was done for AWIPS. Each
curve has the necessary info so that they can be re-created in McIDAS.
It's also a more complete list of all of the curves from the GOES Users
Guide.  There's also some subtle differences from imagery that you might
get from your own GVAR groundstation versus the NOAAport feed.

There are a number of references at
http://www.cira.colostate.edu/ramm/visit/istpds/awips/page1.asp

As if that weren't enough,  you can see some additional ideas for color
tables at http://www.cira.colostate.edu/RAMM/rmsdsol/main.html
The weather channel (USA) has in the last few months started using the
water vapor color table from this site. 

http://cimss.ssec.wisc.edu/goes/dpiet/dpietmain.html
Winter Storms
http://cimss.ssec.wisc.edu/goes/misc/visit/enhancement.html

Hope this helps.

Brian

========================================================================
Brian C. Motta   
Meteorologist
Virtual Institute for Satellite Integration Training
VISIT Homepage: http://www.cira.colostate.edu/ramm/visit/visithome.asp
========================================================================
Colorado State University/Foothills Campus
Cooperative Institute for Research in the Atmosphere
Regional And Mesoscale Meteorology Team
W. Laporte Avenue
Fort Collins, CO 80523-1375
970-491-8366 <<>>  970-491-8241 FAX
mailto:address@hidden <<>> http://www.cira.colostate.edu
========================================================================
Quote of the Month: Reading is fundamental.
========================================================================