[MITgcm-support] Remapping from lat/lon to CS510

Manfredi Manizza mmanizza at ucsd.edu
Mon Apr 3 12:38:53 EDT 2017


Hi Martin,

it has worked great, thanks a lot !

One single comment : i know you meant "interp2". Plus I have changed the 
order because in your line

the lat and lon order was mixed if you read the original sequence.

Here the right command, jsut in case somebodyelse needs the same in the 
future:

newfld = reshape(interp2(lat,lon,fld,yc(:),yc(:)),size(xc));

Many thanks again !

Manfredi


On 4/3/17 12:59 AM, Martin Losch wrote:
> newfld = reshape(inter2(lat,lon,fld,xc(:),yc(:)),size(xc));

-- 
Manfredi Manizza, PhD
Geosciences Research Division
Scripps Institution of Oceanography
University of California San Diego
9500 Gilman Drive La Jolla, CA 92093-0244
email : mmanizza at ucsd.edu
tel   : +1-858-534-7094
web   : http://bluemoon.ucsd.edu/mmanizza/




More information about the MITgcm-support mailing list