[ncl-talk] regridding routine for grids with 2D lat and lon
Diana Stovern - NOAA Affiliate
diana.stovern at noaa.gov
Wed Apr 29 16:17:32 MDT 2020
Hello,
I need to regrid rainfall data from a lambert conformal grid to a polar
sterographic grid. The lat and lon data in both grids are 2D arrays (see
filedump output below). Is there a regridding routine in NCL that allows
for both the input and output lat and lon to be 2D arrays? I see most of
the routines require lat and lon to be 1D arrays.
Thanks!
Diana Stovern
*Grid 1:*
float gridlat_0 ( ygrid_0, xgrid_0 )
corners : ( 23.117, 19.80368, 45.61871, 53.51192 )
long_name : latitude
grid_type : Polar Sterographic Projection (North or South)
units : degrees_north
Dy : 4.763
Dx : 4.763
Lov : 255
Lo1 : 240.977
La1 : 23.117
float gridlon_0 ( ygrid_0, xgrid_0 )
corners : ( -119.023, -80.74672, -59.95137, -134.043 )
long_name : longitude
grid_type : Polar Sterographic Projection (North or South)
units : degrees_east
Dy : 4.763
Dx : 4.763
Lov : 255
Lo1 : 240.977
La1 : 23.117
*Grid 2:*
float gridlat_0 ( ygrid_0, xgrid_0 )
corners : ( 20.192, 20.33182, 54.37271, 54.20572 )
long_name : latitude
grid_type : Lambert Conformal (secant, tangent, conical or
bipolar)
units : degrees_north
Latin2 : 25
Latin1 : 25
Dy : 2.539702
Dx : 2.539703
Lov : 265
Lo1 : 238.446
La1 : 20.192
float gridlon_0 ( ygrid_0, xgrid_0 )
corners : ( -121.554, -69.20839, -59.04248, -131.9951 )
long_name : longitude
grid_type : Lambert Conformal (secant, tangent, conical or
bipolar)
units : degrees_east
Latin2 : 25
Latin1 : 25
Dy : 2.539702
Dx : 2.539703
Lov : 265
Lo1 : 238.446
La1 : 20.192
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200429/2a86f36e/attachment.html>
More information about the ncl-talk
mailing list