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

[McIDAS #OPK-912879]: Use McIDAS to plot visible



Hi George,

re:
> I'm a brand new user for the McIDAS.
> I'd like to plot visible.
> The script I'm use is:
> 
> mcenv <<EOF
> imgdisp.k RTIMAGES/GE-VIS 1 LAT=40 60 PLACE=C DAY=2011/06/13 TIMe=1 23 MAG=1
> 1 EU=IMAGE GRAY=YES SF=YES
> #
> map.k DEF 2 LALO 3 LAT=40 61 LON=85 130 SLAT=40 60
> #
> frmsave.k X /home/u7/mcidas/TEST/T.gif
> erase.k
> #
> exit 0
> #
> EOF
> 
> It seems the generated map is not compatible with visible. No matter how I
> changed the map setting, the visible imagery will never change.
> How should I setup the parameter?

The way you are running MAP (map.k) is incorrect -- you are telling MAP to
create a Lat,Lon map with the lower right hand corner at 40,85 and the
upper left hand corner at 61,130.  Since the image you are displaying
has its own navigation, you want to tell MAP to use that navigation.
The change to your script is simple... I suggest:

mcenv <<EOF
imgdisp.k RTIMAGES/GE-VIS 1 LAT=40 60 PLACE=C DAY=2011/06/13 TIMe=1 23 MAG=1
1 EU=IMAGE GRAY=YES SF=YES
#
map.k SAT 2 LALO 3 INT=10 10
#
frmsave.k X /home/u7/mcidas/TEST/T.gif
# erase.k
#
exit 0
#
EOF

Notes:

- I commented out the ERASE invocation at the end (erase.k).
  Since the script is exiting, there is no need to erase the frame
  after creating the GIF file.

- there are a number of ways to run MAP to display higher resolution
  maps.  For instance, try the following instead of the simple
  invocation above:

map.k X 2 LALO 3 FILE=OUTVHRES

or

map.k X 2 LALO 3 FILE=OUTVHPOL

or

map.k X 2 LALO -3 FILE=OUTVHPOL

etc.

re:
> I appreciate your help.

No worries.

re:
> Have a nice day.

You too.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: OPK-912879
Department: Support McIDAS
Priority: Normal
Status: Closed