Project

General

Profile

create gridarea file

Added by Natalia L over 5 years ago

Hello,

I have a grid file (database.nc, on a lambert conformal conic projection) with a variable v (units are in kg/m2).

I want to multiply the variable v with the grid cell area in order to convert the units of variable v from kg/m2 to kg.

Is it possible to create the data file with the grid cell area (in m2) of the database.nc file with cdo?

thank you

Natalia


Replies (1)

RE: create gridarea file - Added by Karin Meier-Fleischer over 5 years ago

Hi Natalia,

you can create the grid cell area with the operator gridarea.

gridarea: 'Writes the grid cell area to the output stream. If the grid cell area have to be computed it is scaled with the earth radius to square meters.'

cdo gridarea infile outfile
-Karin

    (1-1/1)