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

Home » Public Forums » archive » How to grid pixel level data where latitude and longitude are 2D arrays
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: How to grid pixel level data where latitude and longitude are 2D arrays [message #84955 is a reply to message #84954] Wed, 19 June 2013 13:41 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> That is an awful lot of data points. I can see why there is some
> thrashing going on. Can you get this to work if you take some reasonably
> small number of random points from your data and worked with those?
> Maybe you are so oversampled, it won't make any difference. :-)

What if you used HIST_ND to bin up your lat/lon arrays, then looped
through each bin and used the reverse indices vector to select the data
values you want to use in each bin. Take the median value of the data
values as the value for the bin. That would take seconds, rather than
days.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cleaning up an inherited object...
Next Topic: convert .dat to .fits

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

Current Time: Wed Oct 08 19:21:48 PDT 2025

Total time taken to generate the page: 0.00432 seconds