@BeginModule
@Name      = Rhopot
@Title     = Calculates potential density
@Section   = Miscellaneous
@Arguments = ifile ofile
@Operators = rhopot
@EndModule


@BeginOperator_rhopot
@Title     = Calculates potential density
@Parameter = [pressure]

@BeginDescription
This is a special operator for the post processing of the ocean and sea ice model @ref{MPIOM}.
It calculates the sea water potential density (name=rhopoto; code=18). Required input fields 
are sea water in-situ temperature (name=to; code=20) and sea water salinity (name=sao; code=5).
Pressure is calculated from the level information or can be specified by the optional parameter.
@EndDescription
@EndOperator


@BeginParameter
@Item = pressure
FLOAT   Pressure in bar (constant value assigned to all levels)
@EndParameter


@BeginExample
To compute the sea water potential density from the potential temperature use this operator in combination with @mod{adisit}:
@BeginVerbatim
   cdo rhopot -adisit ifile ofile
@EndVerbatim
@EndExample
