Re: MASK

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 03 Apr 2009 07:48:48 -0600

Please look at Example 3
http://www.ncl.ucar.edu/Document/Functions/Built-in/mask.shtml

   f = addfile ("tden_jja_mask.nc", "r")
   tden = f->tden

I am not sure why you have two separate files.
Variable "tden" is on "jja.nc" also.

   g = addfile("jja.nc", "r")
   x = g->....

   x = mask(x, tden, 0 or 1)

The units for lat and long are missing on the jja.nc file.
You must add for proper plotting

   x&lat_at_units = "degrees_north"
   x&long_at_units= "degrees_east"

=====

Please download and read the mini-Language Manual at:

http://www.ncl.ucar.edu/Document/Manuals/

Guilherme Martins wrote:
> Hi users, I'm new using NCL and I have 2 files and one file is a file
> mask and the other is the file that I want to plot (msp variable).
> Someone could help me do that?
>
> Thanks,
>
> Guilherme.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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 Fri Apr 03 2009 - 07:48:48 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 07 2009 - 10:01:36 MDT