Re: help me to count grid

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sun Oct 03 2010 - 08:21:07 MDT

[1]

If you have a land-sea mask available [say, lsmask(:,:) where 0=land,
1=ocean]

   nland = num(lsmask.eq.0)
   nocean= num(lsmask.eq.1)

[2]
http://www.ncl.ucar.edu/Applications/mask.shtml

Example 5

On 10/3/10 12:29 AM, Ammu Priya wrote:
> Hai,
> i want to count number of grid points over land separately and over
> Ocean separately.
> for example my data sets has 1degree resolution,.is ther any specific
> function to do above.please let me know..
> regards,
> ammu
>
>
>
>
> _______________________________________________
> 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 Sun Oct 3 08:21:11 2010

This archive was generated by hypermail 2.1.8 : Mon Oct 04 2010 - 08:55:54 MDT