[SciPy-User] [SciPy-user] 2d interpolation, non-regular lat/lon grid - help with delauney/natgrid??

John [H2O] washakie at gmail.com
Wed Aug 12 19:06:32 EDT 2009



Robert Kern-2 wrote:
> 
> Are you using lat/lon as X/Y for griddata? Or are you projecting it
> first? You should project. Not seeing your code or data, I'm not sure
> I can diagnose what is going wrong with the interpolation.
> 
> -- 
> Robert Kern
> 
> 
I have been trying to follow your suggestion of projecting first.. see
example later, but I'm not sure if I am doing it correctly. One question is
how then would I return the interpolated array back to a lat/lon grid... it
seems transform_scalar is set up to go from lat/lon TO projection. I guess
it could be used to 'unproject' the data as well?

Thanks!
-- 
View this message in context: http://www.nabble.com/2d-interpolation%2C-non-regular-lat-lon-grid-tp24909685p24943646.html
Sent from the Scipy-User mailing list archive at Nabble.com.




More information about the SciPy-User mailing list