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

Home » Public Forums » archive » Re: The best way to bin data to a grid? (may not be an IDL-specific question)
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: The best way to bin data to a grid? (may not be an IDL-specific question) [message #78742 is a reply to message #78739] Sun, 11 December 2011 18:29 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jasdeep Anand writes:

> I have some satellite data I'd like to bin to a high-resolution 2D
> grid for plotting and/or other analytical purposes. Each data point
> that I have has a corresponding latitude and longitude of the centre
> of the original pixel that the data was originally recorded from. The
> grid I'm trying to assign this data to is of a much finer resolution
> than what the data was taken from, so several data points may be
> assigned to the same pixel, in which case I guess an average data
> value will need to be assigned instead. To further complicate matters,
> the data I want to bin is a global dataset of ~1500000 individual
> points, spread over a number of ASCII files.
>
> Are there any routines that can handle having input data this large?
> Ideally I'd like to incorporate the binning process into the same loop
> that extracts and reads the data from each file, but I think functions
> like GRIDDATA require having all the data points to be gridded
> available already when calling them. Also, are there any general
> "housekeeping" tips that anyone can tell me about handling such data?
> I'm still quite new to this, and would appreciate any pointers you all
> could give me!

If this were me, I wouldn't think about doing this in
IDL at all. I'd spend all my time trying to convince some
hapless graduate student that he would famous if he would
write a C program to do this. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLDOC 3.4.1 Problem
Next Topic: Coyote Graphics Updates

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

Current Time: Fri Oct 10 00:46:00 PDT 2025

Total time taken to generate the page: 0.40698 seconds