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 #51683 is a reply to message #51456] Tue, 28 November 2006 11:45 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
greg michael writes:

> 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.

Humm. Guess I should have realized this is possible, too.
It makes using the land mask a bit different.

Well, there are often several ways to skin this cat.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Sat Oct 11 10:30:04 PDT 2025

Total time taken to generate the page: 2.40028 seconds