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

Home » Public Forums » archive » Overlay Point Sources on Maps
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: Overlay Point Sources on Maps [message #51685 is a reply to message #51456] Tue, 28 November 2006 11:37 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
I spent a while messing around with griddata() before I realised you
could do this:

restore,"ptsource_carbon.sav"
device,decomposed=0
loadct,39
grid=fltarr(360,180)
grid[lon+180,lat+90]=soilc
tvscl, grid

This particular dataset is simpler than I first thought - the points
are already gridded at 1x1 degree. The odd thing is that many points
are repeated (up to 8 times). The values, though, seem to be the same
in these cases. In general I think a gridding approach is more robust
for this type of problem.

regards,
Greg
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: natural neighbor interpolation
Next Topic: Re: What? You can't histogram a string array?

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

Current Time: Sun Oct 12 00:12:10 PDT 2025

Total time taken to generate the page: 0.64725 seconds