[MITgcm-support] regridding question

Jonny Williams Jonny.Williams at bristol.ac.uk
Wed Nov 27 12:43:31 EST 2013


Thank you very much for your suggestion Dimitris, I'll give that a go!

Jonny


On 27 November 2013 17:17, Menemenlis, Dimitris (3248) <
Dimitris.Menemenlis at jpl.nasa.gov> wrote:

>  Jonny, you need to extrapolate your fields to land points on your coarse
> grid before interpolating to hi-res grid and applying mask.
> For extrapolation, use your favorite routine.
> If it's only a few point, closest neighbor is simple
> and probably best.
>
>  One small routine that I use a lot for cases just like yours is:
> http://ecco2.jpl.nasa.gov/matlab/tools/xpolate.m
> You need to fill land points with NaNs, then apply.
> But be careful about edges of domain as the routine
> assumes double periodicity.
>
>  Cheers
>
>   Dimitris Menemenlis
>
>  On Nov 27, 2013, at 9:06 AM, Jonny Williams wrote:
>
> Hi everyone
>
>  I have a question regarding regridding low-resolution NetCDF model data
> onto a high resolution NetCDF observational land-sea mask/bathymetry.
>
>  Basically the actual regrdding of the data from low resolution to high
> resolution is easy for me (NetCDF operators etc...) BUT this preserves the
> blocky land-sea mask of the original low-resolution data so in summary I
> wish to regrid the low resolution data AND impose the very high resolution
> coastline data.
>
>  Does anyone have any ideas about how this could be achieved in practice?
>
>  Many thanks!
>
>  Jonny
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>


-- 
Dr Jonny Williams
School of Geographical Sciences
University of Bristol
University Road
BS8 1SS

+44 (0)117 3318352
jonny.williams at bristol.ac.uk
bit.ly/jonnywilliams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20131127/3dd79969/attachment.htm>


More information about the MITgcm-support mailing list