Re: Are there ncl commands/functions to compute averages over continents and/or oceans?

From: Dennis Shea (shea AT XXXXXX)
Date: Wed Jul 03 2002 - 14:17:17 MDT


>Are there ncl commands or functions to compute averages of quantities
>over continents and/or oceans?
>
>Continents: Africa, Asia, Australia, N.America, S.America
>Oceans: N.Pacific, S.Pacific, N.Atlantic, S.Atlantic, N.Indian, S.Indian

An add-on:

If you are interested in simple areas like, say,
20S to 20N and 135E to 270E and lat/lon coordinate
variable are attached to variable "x(lat,lon)"

    wTropic = wgt_areaave(x({-20:20},{135:270}), wgty, 1.0, 0)
    
    wNH = wgt_areaave(x({0:90},:), wgty, 1.0, 0)
    
where the {} indicate that coordinate subscripting is to be used.

_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Sun Jul 14 2002 - 17:49:51 MDT