>
>Does anyone have a code segment that shows how to interpolate
>CSIM (community ice model) output, on a x1 grid to the T-85 atmosphere
>grid?
? Something like:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
f = addfile("ice.1x1.nc" , "r")
x = f->FOO ; x([[time,],lev,],lat,lon)
^^^^^^^
one degree
; generate gaussian lat and lon
nlat = 128
mlon = 256
lonT85 = lonGlobeF (mlon, "lon", "longitude", "degrees_east")
latT85 = latGau (nlat, "lat", "latitude" , "degrees_north")
; bilinear interpolation
xT85 = linint2_Wrap (x&lon,x&lat, x , True, lonT85,latT85, 0)
good luck
D
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 21 2006 - 10:07:08 MST
This archive was generated by hypermail 2.2.0 : Tue Feb 21 2006 - 14:23:40 MST