# Re: [ferret_users] sum in ferret

Dear Russ Fiedler,

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??

--
Regards,
Nitin Patil

On Tue, Apr 28, 2015 at 1:02 PM, Russ Fiedler 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.

Cheers,
Russ

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:
---------------------------------------------------------------------------------
let data=""  ! to add all 12 months
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.

--
Regards,
Nitin Patil