Re: Merging land-sea masked data

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 03 Nov 2008 06:58:33 -0700

Presumably you will have a land-sea mask for the
interpolated grids. I suggest using "where"

http://www.ncl.ucar.edu/Document/Functions/Built-in/where.shtml

  mergeGrid = InterpolatedLandGrid
  mergeGrid = where(landSeaMask.eq.1, InterpolatedOceanGrid, mergeGrid)

Michel dos Santos Mesquita wrote:
> Hi,
>
> I want to interpolate some model data using one of the regridding
> functions in NCL. But, I want to mask the land part and then interpolate
> the sea data. Then, I want to mask the sea data and interpolate the land
> part. In the end, I need to merge the sea and land interpolated datasets.
> Is there a function in NCL which merges the two? Is there an example of
> this kind of interpolation?
>
> I thank you in advance!
>
> Michel
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Nov 03 2008 - 06:58:33 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 04 2008 - 10:41:27 MST