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

Home » Public Forums » archive » hist_nd to resample point data to a grid
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
hist_nd to resample point data to a grid [message #93754] Wed, 12 October 2016 14:36 Go to next message
sam.tushaus is currently offline  sam.tushaus
Messages: 14
Registered: February 2015
Junior Member
I have a regularly gridded dataset over the continental US, and swaths of satellite data that I would like to match to that grid. (Sometimes the swaths only partially overlap the gridded dataset).

I have been trying out the methods outlined here ( https://groups.google.com/forum/?hl=en#!searchin/comp.lang.i dl-pvwave/hist_nd%7Csort:relevance/comp.lang.idl-pvwave/TLmV W5GxZOo/iKyGMLE6aawJ), here ( https://groups.google.com/forum/?hl=en#!searchin/comp.lang.i dl-pvwave/hist_nd%7Csort:relevance/comp.lang.idl-pvwave/lnkX 7tTlqWI/MO79Y8wf5zsJ), and here (http://www.idlcoyote.com/map_tips/matchptgrid.html).

For some reason, though, trying this just gives me a newly gridded array of -0.0's. Does anyone have insight as to why this is happening?

Thanks!
Re: hist_nd to resample point data to a grid [message #93805 is a reply to message #93754] Fri, 21 October 2016 15:39 Go to previous messageGo to next message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
I think we need more information... the technique certainly should work, so there must be something about how you are implementing it that is causing issues.

-Jeremy.
Re: hist_nd to resample point data to a grid [message #93806 is a reply to message #93754] Sun, 23 October 2016 13:24 Go to previous message
rawahranger is currently offline  rawahranger
Messages: 14
Registered: March 2016
Junior Member
On Wednesday, October 12, 2016 at 3:36:43 PM UTC-6, Samantha Tushaus wrote:
> I have a regularly gridded dataset over the continental US, and swaths of satellite data that I would like to match to that grid. (Sometimes the swaths only partially overlap the gridded dataset).
>
> I have been trying out the methods outlined here ( https://groups.google.com/forum/?hl=en#!searchin/comp.lang.i dl-pvwave/hist_nd%7Csort:relevance/comp.lang.idl-pvwave/TLmV W5GxZOo/iKyGMLE6aawJ), here ( https://groups.google.com/forum/?hl=en#!searchin/comp.lang.i dl-pvwave/hist_nd%7Csort:relevance/comp.lang.idl-pvwave/lnkX 7tTlqWI/MO79Y8wf5zsJ), and here (http://www.idlcoyote.com/map_tips/matchptgrid.html).
>
> For some reason, though, trying this just gives me a newly gridded array of -0.0's. Does anyone have insight as to why this is happening?
>
> Thanks!

My first guess would be you are not using floating point arrays in your calculations.

Cheers,

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: multiplying two image arrays with different size
Next Topic: in multiplot to have common xaxis

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

Current Time: Wed Oct 08 13:40:05 PDT 2025

Total time taken to generate the page: 0.00495 seconds