libsim Versione 7.2.0
|
◆ gridinfo_decode_data()
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.
Definizione alla linea 1063 del file gridinfo_class.F90. 1064
1065! this must be changed to 65535!!!!
1066 IF (this%centre /= 255) & ! if centre missing (coming from bufr), keep template
1067 CALL grib_set(gaid,'centre',this%centre)
1068 CALL grib_set(gaid,'discipline',this%discipline)
|