[Thread Prev][Thread Next][Index]

Re: How to regrid the data



Hi Ming,
This is a classic regridding. You define a new
variable in terms of the existing ones.

yes? let sst_regridded =
sst_year[d=1,gx=ts[d=2],gy=ts[d=2]]

yes? shade/L=20 sst_regridded

(or save sst_regridded to a file, or whatever you want
to do.)


If you want the time axes to match as well, or if the
time axes are already the same, you can make it even
simpler

yes? let sst_regridded = sst_year[d=1,g=ts[d=2]]

The place in the documentation to look is this up is
in the index under "regridding, syntax and examples"
which takes you to Chapter 4 section 2.4 

Mary

--- Ming Yang <myang@email.unc.edu> wrote:
> Hi, guys
>     I encountered a problem recently. I have a TS
> (surface
> temperature) data from "atmym001710.ts.nc" and
> SST(sea surface
> temperature) data from "acresum001710.sst.nc" (the
> one I generated as you
> suggested). The horizontal resolution of TS is 64*32
> and that of SST is
> 144*72. Now I want to transform the SST data so that
> they has the same
> horizontal resolution as TS. What I should do? Here
> is some information of
> the data
> 
> yes? use acresum001710.sst.nc
> yes? use atmym001710.ts.nc
> yes? show data
>      currently SET data sets:
>     1> ./acresum001710.sst.nc
>  name     title                             I       
>  J         K      L
>  SST_YEAR SST[GT=YEARAXIS@AVE]             1:144    
> 1:72      ...    1:400
> 
>     2> ./atmym001710.ts.nc  (default)
>  name     title                             I       
>  J         K      L
>  TS       Surface Temperature              1:64     
> 1:32      ...    1:400
> 
>     I is for lon and J is is for lat. Thank you in
> advance.
> 
> 
> Ming
> 
> 
> 


		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement