libsim Versione 7.2.4

◆ gridinfo_decode_data()

real function, dimension(this%griddim%dim%nx, this%griddim%dim%ny) gridinfo_decode_data ( type(gridinfo_def), intent(in) this)

Decode and return the data array from a grid_id object associated to a gridinfo object.

This method returns a 2-d array of proper size extracted from 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 from an on-disk dataset (e.g. grib_api or gdal file). The result is an array of size thisgriddimdimnx X thisgriddimdimny so it must have been properly allocated by the caller.

Parametri
[in]thisgridinfo object

Definizione alla linea 1063 del file gridinfo_class.F90.

1064else if (editionnumber == 2) then
1065
1066! this must be changed to 65535!!!!
1067 IF (this%centre /= 255) & ! if centre missing (coming from bufr), keep template
1068 CALL grib_set(gaid,'centre',this%centre)

Generated with Doxygen.