libsim  Versione6.3.0

◆ varbufr2vargrib_convert()

type(volgrid6d_var) function varbufr2vargrib_convert ( type(vol7d_var), intent(in)  varbufr,
type(conv_func), intent(out), optional  c_func,
type(grid_id), intent(in), optional  grid_id_template 
)

Convert a vol7d_var object into a physically equivalent volgrid6d_var object.

This method returns a grib-like representation of type volgrid6d_var of the bufr-like input physical variable varbufr. Unlike the opposite convert method, in this case the conversion is not uniqe and at the moment the first matching grib-like variable is chosen, without any control over the choice process. The method optionally returns a conv_func object which can successively be used to convert the numerical values of the field associated to varbufr to the corresponding fields in the grib-like representation. If the conversion is not successful, the output variable is set to volgrid6d_var_miss and the conversion function to conv_func_miss.

Parametri
[in]varbufrinput bufr-like variable
[out]c_funccorresponding conv_func object
[in]grid_id_templatea template (typically grib_api) to which data will be finally exported, it helps in improving variable conversion

Definizione alla linea 1215 del file volgrid6d_var_class.F90.


Generated with Doxygen.