Dear all,
Basically I would like to regrid a regular lat/lon input file to a
rotated lat/lon input file. For both grids, I have the input available:
1. Regular lat/lon -> This is the initial 0.25° grid, with different
sizes depending on the variables (varying between 1 and 4D variables)
/Horizontal grids :
1 : generic > size : dim = 260
2 : generic > size : dim = 2600 nx = 260 ny = 10
3 : generic > size : dim = 4420 nx = 260 ny = 17
4 : generic > size : dim = 1
5 : generic > size : dim = 520 nx = 260 ny = 2
6 : generic > size : dim = 3900 nx = 260 ny = 15
Vertical grids :
1 : surface : 0
2 : generic month : 1 2 3 4 5 6 7 8 9 10 11 12
3 : generic level : 1 2
Time axis : 200 steps/
and
/# gridID 0
#
gridtype = generic
gridsize = 260
xname = x
xunits = degrees
yname = y
yunits = degrees
xsize = 260
#
# gridID 1
#
gridtype = generic
gridsize = 2600
xname = x
xunits = degrees
yname = y
yunits = degrees
xsize = 260
ysize = 10
#
# gridID 2
#
gridtype = generic
gridsize = 4420
xname = x
xunits = degrees
yname = y
yunits = degrees
xsize = 260
ysize = 17
#
# gridID 3
#
gridtype = generic
gridsize = 1
xname = x
xunits = degrees
yname = y
yunits = degrees
#
# gridID 4
#
gridtype = generic
gridsize = 520
xname = x
xunits = degrees
yname = y
yunits = degrees
xsize = 260
ysize = 2
#
# gridID 5
#
gridtype = generic
gridsize = 3900
xname = x
xunits = degrees
yname = y
yunits = degrees
xsize = 260
ysize = 15/
2. Rotated lat/lon -> this grid is the TARGET grid, with the following
specifications:
/pollon=-167.5
pollat=40
polgam=0
ie_tot=200
je_tot=200
startlon_tot=-23
startlat_tot=-23
dlon=0.23
dlat=0.23/
Now, the idea is to regrid the INITAL grid onto the TARGET grid, but I
am not sure how to do this with ncl.
Normally I would use CDO, but here there is the limitation that CDO can
not handle the "generic" grid type from the initial file.
Now, when I would set the gridtype to lonlat (with CDO), the 1D
variables are removed from the INITIAL file, as CDO as not able to deal
with them.
Hence, I was wondering whether NCO or NCL is able to deal with this
specific issue?
I noticed a number of examples on regridding, but I haven't seen an
example on how to regrid on a predefined TARGET grid?
Any ideas?
Kind regards,
Matthias
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 21 10:52:31 2012
This archive was generated by hypermail 2.1.8 : Thu Feb 23 2012 - 10:01:53 MST