libsim  Versione 7.1.9

◆ vol7d_var_features_posdef_apply()

elemental subroutine vol7d_var_class::vol7d_var_features_posdef_apply ( type(vol7d_var), intent(in)  this,
real, intent(inout)  val 
)

Apply a positive definite flag to a variable.

This subroutine resets the value of a variable depending on its positive definite flag defined in the associated c_func object. The c_func object can be obtained for example by the convert (interfaced to vargrib2varbufr_convert) function. The value is reset to the maximum between the value itsel and and 0 (or the value set in c_funcposdef. These values are set from the vargrib2bufr.csv file. In order for this to work, the subroutine vol7d_var_features_init has to be preliminary called.

Parametri
[in]thisvol7d_var object to be reset
[in,out]valvalue to be reset, it is reset in place

Definizione alla linea 579 del file vol7d_var_class.F90.


Generated with Doxygen.