Calculate global total

From: Jiang, Lifen <lfjiang_at_nyahnyahspammersnyahnyah>
Date: Tue Apr 23 2013 - 07:58:06 MDT

Dear NCL-Talk,

I have a data file of carbon in living plants with two dimensions (lat and lon). It is global distribution data with the resolution of 1°×1° and the unit is kg/m2. Now I need to calculate the global total.

However, area of each grid is not even since a degree area is different in the northern vs equatorial latitudes. Does NCL have this kind of functions to get global sum?

Thank you for your time!

Lifen


2013-04-23



Jiang, Lifen



发件人: Dennis Shea
发送时间: 2013-04-23 08:37:08
收件人: Virginie Hergault
抄送: ncl-talk@ucar.edu
主题: Re: [ncl-talk] Lambert coordinates
 
As noted in a previous email, look at your WRF files
via 'ncdump -h' or ncl_filedump
                 :CEN_LAT = ...;
                 :CEN_LON = ... ;
                 :TRUELAT1 =... ;
                 :TRUELAT2 = ... ;
   f = addfile(...)
   truelat1 = f@TRUELAT1
etc
===
Please send WRF related questions to wrfhelp@ucar.edu
On 4/23/13 2:54 AM, Virginie Hergault wrote:
> Hi all,
>
> I need the Lambert coordinates from WRF outputs.
> In namelist.wps, I put:
>
> map_proj = 'lambert',
> ref_lat = 42.5,
> ref_lon = 140.0,
> truelat1 = 25.0,
> truelat2 = 60.0,
> stand_lon = 140.0
>
> I have "x" ("synthesized GeoX coordinate from DX attribute") and "y"
> ("synthesized GeoY coordinate from DY attribute") as WRF outputs.
>
> I would like to know if it corresponds to the Lambert coordinates and
> what is the difference with the outputs "x_stag" and "y_stag".
>
> I hope I'm clear!
> Thanks,
> virginie
>
> I
> _______________________________________________
> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 23 07:58:18 2013

This archive was generated by hypermail 2.1.8 : Tue Apr 23 2013 - 12:54:13 MDT