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

Martin Losch martin.losch at awi.de
Mon Apr 3 04:59:02 EDT 2017


Hi Manfredi,

why don’t you just use

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

for a scalar field? As long as your original grid is coarser that CS510, I don’t see any problems.

Martin


> On 2 Apr 2017, at 23:51, Manfredi Manizza <mmanizza at ucsd.edu> wrote:
> 
> Hi,
> 
> I was wondering if there's around a matlab routine previously developed by some users, maybe "ad hoc",
> 
> that will remap any scalar from a global ocean field in lat/lon (in my case 0.5 deg by 0.5 deg) onto the CS510 grid.
> 
> It seems that under utils/maltab/cs_grid/ the file "uvLatLon2cube.m" is the closest thing but it is written
> 
> for UV grid and and not for tracers.
> 
> Thanks in advance.
> 
> Manfredi
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list