libsim Versione 8.0.0

◆ 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 1081 del file gridinfo_class.F90.

1082else if (editionnumber == 2) then
1083
1084! this must be changed to 65535!!!!
1085 IF (this%centre /= 255) & ! if centre missing (coming from bufr), keep template
1086 CALL grib_set(gaid,'centre',this%centre)

Generated with Doxygen.