libsim Versione 7.2.6

◆ gridinfo_encode_data()

subroutine gridinfo_encode_data ( type(gridinfo_def), intent(inout) this,
real, dimension(:,:), intent(in) field )
private

Encode a data array into a grid_id object associated to a gridinfo object.

This method encodes a 2-d array of proper size into the grid_id object associated to a gridinfo object. This can work if the gridinfo object has been correctly initialised and associated to a grid_id from an on-disk (template) dataset (grib_api or gdal file). The shape of the array must be conformal to the size of the grid previously set in the gridinfo object descriptors.

Parametri
[in,out]thisgridinfo object
[in]fielddata array to be encoded

Definizione alla linea 1095 del file gridinfo_class.F90.

1096END SUBROUTINE var_export_gribapi
1097
1098
1099SUBROUTINE level_g2_to_dballe(ltype1,scalef1,scalev1,ltype2,scalef2,scalev2, lt1,l1,lt2,l2)
1100integer,intent(in) :: ltype1,scalef1,scalev1,ltype2,scalef2,scalev2
1101integer,intent(out) ::lt1,l1,lt2,l2
1102
1103
1104CALL g2_to_dballe(ltype1, scalef1, scalev1, lt1, l1)
1105CALL g2_to_dballe(ltype2, scalef2, scalev2, lt2, l2)
1106
1107CONTAINS
1108
1109SUBROUTINE g2_to_dballe(ltype, scalef, scalev, lt, l)
1110integer,intent(in) :: ltype,scalef,scalev

Generated with Doxygen.