map_image.pro [message #4426] |
Wed, 31 May 1995 00:00 |
afl
Messages: 51 Registered: December 1994
|
Member |
|
|
When testing the recent beta version of IDL, we asked RSI to fix
this piece of code found in map_image.pro, but we never heard back
from them, nor did it get fixed in the final release of IDL 4.0.
;Extents of projection on map
lnmin = !map.out(2) & lnmax = !map.out(3)
ltmin = !map.out(4) & ltmax = !map.out(5)
if ((ltmin eq -90) or (ltmax eq 90)) then begin
lnmin=-180 & lonmin=-180
lnmax= 180 & lonmax= 180
wrap=1
endif
So any time you have map boundaries with a latitude minimum of -90 OR
a latitude maximum of +90, the left edge of the data MUST be -180 AND
the right edge MUST be +180. Also, wrap is set to 1!
This caused us grief when we were using the beta version, and we
anticipate it may cause you grief unless you alter the code yourself.
You might also check the IDL modification history vs. your old version
of map_image.pro... I think you will not find this additional "feature"
mentioned in the history!
Andy
--
Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
|
|
|