[Thread Prev][Thread Next][Index]

Re: [ferret_users] sum in ferret

Dear Russ Fiedler,

Thanks for your quick reply. 

I have monthly per year (l=1:12) emission in Kg/m2/sec and finally I need to convert it to Total emission in Gg/year. For his I thought first I have to sum 12 months and then sum the area i.e x=65:95 and y=5:40 using @sum as seen in my code.

For converting monthly per year (l=1:12) emission in Kg/m2/sec and finally to convert it to Total emission in Gg/year over India I have to use @din means it will add the emissions??

Please suggest.

Thanks in advance!

Nitin Patil

On Tue, Apr 28, 2015 at 1:02 PM, Russ Fiedler <russell.fiedler@xxxxxxxx> wrote:

Hi Nitin,

Don't you want the total emissions (kg)? I think you'll want the integrals and not the sums. You want the @DIN transformation.

let data=""  ! to integrate all 12 months. This would show a map of kg/m^2
list/append/nohead/file=BC-awb.txt india[x=65:95@din,y=5:40@din] ! This is total value over India.


On 28/04/15 16:44, Nitin Patil wrote:
Dear ferret users,

I am doing the following to get the annual total value of emission which is kg/m2/sec in d=1:
use india_0.5deg_amip.nc ! mask file
let data=""  ! to add all 12 months
let india=data[d=1,g=mask[d=2]]*mask[d=2] ! to get only over India masking
list/append/nohead/file=BC-awb.txt india[x=65:95@sum,y=5:40@sum] ! This is to total value over India.

My query is whether I am using @sum for totallling is correct or any other transformation i have to use.

Kindly let me know. 

Nitin Patil

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement