comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Horrible map reprojections
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Horrible map reprojections [message #21637 is a reply to message #21635] Thu, 07 September 2000 07:21 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Ben Marriage wrote:
> IDL> print,!VERSION
> { x86 linux unix 5.3 Nov 11 1999}
>
> I'm trying to set up a particular map reprojection, and get some rather
> horrible results. Can somebody try this on their machine to see if it is
> reproducible please?
>
> window,0,xs=1000,ys=300
> map_set,0,180,0,limit=[-30,-180,30,180],xmar=0,$
> ymar=0,noborder=1,/grid,clip=0,/iso,/mercator
> map_continents,/hires
>
> One effect is that the reprojection does not extend all the way to the
> right hand side of the plotting area (should be 0 deg long, instead it
> is about -10 deg long). Another problem is this produces lines cutting
> across the window (caused by the map_continents part).

I prefer to use the MAP_SET keyword SCALE to create map projections
which fill a window:

window, /free, xsize=1000, ysize=300
map_set, 0, 180, xmargin=0, ymargin=0, scale=165e6, /mercator
map_continents
map_grid, /label

> This is only part of the problem, when trying to contour some data using
> a similar reprojection, I get lines cutting across the contour plot. I
> thought it might be a missing data problem, so set all missing data to
> !VALUES.F_NAN. No difference.

It might be an artifact of the projection. Try it again using the
projection I suggest above.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: SOLVED Re: puzzled with WHERE
Next Topic: Re: puzzled with WHERE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 11:12:25 PDT 2025

Total time taken to generate the page: 1.60012 seconds