[gradsusr] help with interpolation

Jennifer Adams jma at cola.iges.org
Fri Apr 18 13:47:28 EDT 2014


On Apr 11, 2014, at 3:43 PM, Jeff Duda wrote:

> Hello,
> I'm trying to interpolate fine grid data onto a coarser grid.  Here's what I get
> 
> ga-> define nam4u = lterp(ugrdprs,ugrdprs.2(time=15Z09APR2014))
> Notice:  Automatic Grid Interpolation Taking Place
> Data Request Error: Invalid grid coordinates
>   World coordinates convert to non-integer  grid coordinates
>     Variable = ugrdprs.2  Dimension = 2 
> Operation Error:  Error from lterp function
>   Error ocurred at column 1
> 
<snipped>

> I would guess that the source of the error is with the discrepancy in the vertical levels available.  But is it really?
Yes. "Dimension = 2" is the Z axis. 
0==X, 1==Y, 2==Z, 3==T, and 4==E.

--Jennifer

> 
> Jeff Duda
> 
> -- 
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140418/40c23094/attachment.html 


More information about the gradsusr mailing list