libsim  Versione7.2.3

◆ gridinfo_export()

subroutine gridinfo_class::gridinfo_export ( type(gridinfo_def), intent(inout)  this)
private

Export gridinfo descriptors information into a message/band on file.

This method exports the contents of the descriptors of the gridinfo object this in the grid_id object thisgaid, previously set, for the successive write to a file. The information stored in the descriptors of gridinfo object this is inserted, when possible, in the grid_id object.

Parametri
[in,out]thisgridinfo object

Definizione alla linea 969 del file gridinfo_class.F90.

969 ! warn about local use
970  IF (this%timerange >= 192) THEN
971  CALL l4f_log(l4f_warn, &
972  'coding in grib2 a nonstandard typeOfStatisticalProcessing '// &
973  t2c(this%timerange))
974  ENDIF
975  ELSE ! bad timerange
976  CALL l4f_log(l4f_error, &
977  'Timerange with 0>p1>p2 cannot be exported in grib2')
978  CALL raise_fatal_error()
979  ENDIF
980  ELSE
981  CALL l4f_log(l4f_error, &
982  'typeofstatisticalprocessing not supported: '//TRIM(to_char(this%timerange)))
983  CALL raise_fatal_error()
984  ENDIF
985 
986 ELSE
987  CALL l4f_log(L4F_ERROR,'gribeditionnumber '//t2c(EditionNumber)//' not supported')
988  CALL raise_fatal_error()
989 ENDIF
990 
991 CONTAINS
992 
993 ! Explicitely compute and code in grib2 template 4.8 the end of
994 ! overalltimeinterval which is not done automatically by grib_api
995 SUBROUTINE code_endoftimeinterval(endtime)
996 TYPE(datetime),INTENT(in) :: endtime
997 

Generated with Doxygen.