ccdfmxlheatc : computes the heat content in the mixed layer (multi-variable input file)

Computes the heat content in the mixed layer (Joules/m2). This is the wrapping around the native cdfmxlheatc operator assuming its usage is:

cdfmxlheatc T-file **[-full]**

CliMAF optional argument is the only argument available, surrounded with ‘**’.

References :

Provider / contact : climaf at meteo dot fr for the wrapping

Inputs (in the order of CliMAF call):

  • a dataset with temperature and mld (gridT)

Mandatory arguments: None

Optional argument:

  • opt : may be used to pass key -full (for full step configurations, default is partial step)

Required files: Files, must be in the current directory (use function fixed_fields() for that; see example below).


  • main output : a netcdf file (variable : somxlheatc (Joules/m2))

Climaf call example:: For more examples which are systematically tested, see

>>> # Use "data_CNRM" project, where netcdf files with values of thetao and omlmax are defined
>>> cdef("project","data_CNRM")
>>> # How to get required files for cdftools cdfmxlheatc binary
>>> fixed_fields('ccdfmxlheatc',
 ... ('',    '/data/climaf/${project}/${model}/'),
 ... ('','/data/climaf/${project}/${model}/'))
>>> dT=ds(simulation="PRE6CPLCr2alb", variable="thetao,omlmax", period="199807", realm="O")
>>> my_cdfmxlheatc=ccdfmxlheatc(dT)
>>> cfile(my_cdfmxlheatc) # to compute the heat content in the mixed layer and get a filename with the result

Implementation: The operator is implemented as a binary using cdftools cdfmxlheatc operator.