Re: Area at each grid cell

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 21 2012 - 09:58:00 MST

Yes, of course it is possible.

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "./area_rectlinear_grid.ncl"

; T85
       nlat = 128
       lat = latGau(nlat, "lat", "latitude", "degrees_north")

       mlon = 256
       lon = lonGlobeF(mlon, "lon", "longitude", "degrees_east")

       area = area_global_rectilinear_grid (lat, lon, False)
       printVarSummary(area)

On 2/17/12 6:18 PM, Soumik Basu wrote:
> Hello,
>
> Is it possible to calculate area of each grid cell from a model output in
> T85 resolution? I want to do an area average of kinetic energy at each
> grid point.
>
>
> Thanks,
> Soumik

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

Received on Tue Feb 21 09:58:09 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 23 2012 - 10:01:53 MST