Re: how to interpolate missing date only in land exclude the sea?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 26 2013 - 08:42:23 MDT

On Jun 25, 2013, at 10:09 PM, dyjbean wrote:

> hi,
>
> i have a global 2D data (lat*lon), and over sea and on land have the same _FillValue, i only want to interpolate those missing gap in land, how can i do it?
> first mask out the sea, later interpolate with some functions ?
> i appreciate your suggestion.
> thanks
> dyjbean

Your suggested method sounds good.

Do you have any kind of land/sea mask variable already on your file? If so, then you can use the NCL "mask" function to mask your data based on this array. See example "mask_1.ncl" at:

http://www.ncl.ucar.edu/Applications/mask.shtml

If you don't have a land/sea mask variable on your file, then you can try the "landsea_mask" function, which uses a 1 degree mask. See example "mask_5.ncl" on the same page.

If you have really high resolution data, then you may need to find a shapefile that has a better resolution than 1 degree, and create your own mask from this. See example mask_13.ncl

--Mary

> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 26 08:42:32 2013

This archive was generated by hypermail 2.1.8 : Mon Jul 01 2013 - 12:35:42 MDT