libsim  Versione 7.1.7

◆ volgrid6d_compute_vert_coord_var()

subroutine volgrid6d_class_compute::volgrid6d_compute_vert_coord_var ( type(volgrid6d), intent(in)  this,
type(vol7d_level), intent(in)  level,
type(volgrid6d), intent(out)  volgrid_lev 
)

Method for building a volume containing the vertical coordinate as a variable.

This method produces a volgrid6d volume, derived from this, containing a single variable, horizontally constant, on the same input levels, which describes the vertical coordinate in the form of a physical variable. The grid, time and timerange metadata are the same as for the original volume. Only a single vertical level type, the one matching the level argument, is converted to a variable. The level argument can also indicate the layer between two surfaces of the same type, in that case the variable representing the vertical coordinate will be set to the value of the midpoint between the two layers. If something goes wrong, e.g. no level matches level argument or the level canot be converted to a physical value, an empty volume is returned.

Parametri
[in]thisvolume with the vertical levels
[in]levelvertical level to be converted to variable, only the type(s) of level are used not the value(s)
[out]volgrid_levoutput volume with the variable describing the vertical coordinate

Definizione alla linea 1034 del file volgrid6d_class_compute.F90.


Generated with Doxygen.