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

[McIDAS #YXU-859602]: Can I recreate this radar map in McIDAS with a large GIF or JPEG file size?



Hi Gilbert,

re:
> I have a project here that I hope you can solve a problem I'm facing.
> Basically, I need to recreate this image...
> 
> http://www.srh.noaa.gov/ridge2/Conus/RadarImg/NAT_N0Q_0.gif

OK.  This a national composite of Level III "high resolution"
base reflectivity.  Michael got this working on a clone of
motherlode.ucar.edu, and I make the images available via
ADDE for testing.  Here is the information needed:

<in McIDAS>
DATALOC ADD NEXRCOMP ADDE.CISE-NSF.GOV
DSINFO IMAGE NEXRCOMP
IMGLIST NEXRCOMP/1KN0Q-NAT

re:
> But instead of 256 colors, it needs to be reduced down to
> 8 levels.

This is easily done by choosing/creating an appropriate enhancement.

re:
> It's just a white-colored background US radar
> map with just radar echoes on it.

The background color set in the enhancement will need to be changed
from black to white.  This is in the graphics table, not in the
image enhancement:

GU MAKE 0 WHITE

re:
> Preferably with as much
> AP on it removed as possible, but if not, I'll make it work.

You should expect a number of "zings" in the composite images -- these
are in the original Level III images, and the compositing routines don't
try to eliminate them.

re:
> Here's the kicker: This image is 6,000px × 2,600px.
> It needs to be that big, but I don't think McIDAS can handle it.

McIDAS can handle as large of an image as you can imagine _IF_ you
have enough shared memory.  Give the following a try:

<login as the user that runs McIDAS>
cd $MCDATA
mcenv -f 1@2600x6000
dataloc.k ADD NEXRCOMP adde.cise-nsf.gov
imgdisp.k NEXRCOMP/1KN0Q-NAT LINELE=1500 2368 PLACE=C MAG=1 EU=BREF
map.k FILE=OUTVHRES MCOL=2
exit

Does this work? Is it close to what you are looking for?

re:
> If it
> can't, can I modify the code somehow so that it can? Or is there
> a better way?

See above.

re:
> Will the radar images you send from motherlode work
> for this?

No, those composites are created from the Level III N0R images.

re:
> I'd rather not recreate the wheel.
> Is this even possible?

See above.

re:
> Thanks for any help, as always!

No worries.

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: YXU-859602
Department: Support McIDAS
Priority: Normal
Status: Closed