[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20041014: MODIS data available via ADDE
- Subject: 20041014: MODIS data available via ADDE
- Date: Thu, 14 Oct 2004 19:16:12 -0600
>From: Greg Stossmeister <address@hidden>
>Organization: UCAR/JOSS
>Keywords: 200410142003.i9EK3CUE000176 McIDAS COMBINE
Hi Greg,
> I'm trying to adapt the tcl script you gave me to automatically
>generate gif images of a particular MODIS sector. One of the images I'd
>like to produce is a color composite. I've generated a sample image in
>mcidas but I'm wondering how to do it with mcidas .k commands as the
>'combine' function assembles 3 distinct frames into a single image. Do I
>run imgdisp.k 3 times specifying a frame number then run a combine.k?
Yes, the procedure would be identical to what you use when running
a full McIDAS session. The difference would be that the environment
that you run in would need to be modified to contain 3 frames. The
operative part of the driver script you are using, mcdriver.sh, only
creates a single frame:
cd $MCDATA
mcenv -f 1@900x800 -i 128 -g 32 << EOF
$@
EOF
This is easily modified to create 3 frames:
cd $MCDATA
mcenv -f 3@900x800 -i 128 -g 32 << EOF
$@
EOF
You would then IMGDISP (imgdisp.k) the different channels into different
frames and use COMBINE (combine.k) to create the composite.
>Thanks,
No worries.
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.