libsim  Versione 7.2.1

◆ gridinfo_import()

subroutine gridinfo_import ( type(gridinfo_def), intent(inout)  this)

Import grid_id information into a gridinfo object.

This method imports into the descriptors of the gridinfo object this the information carried on by the grid_id object thisgaid, previously set, typically by reading from a file with a supported driver (e.g. grib_api or gdal). An amount of information is deduced from thisgaid and stored in the descriptors of gridinfo object this.

Parametri
[in,out]thisgridinfo object

Definizione alla linea 869 del file gridinfo_class.F90.

870  IF (ttimeincr == 2 .AND. tprocdata /= 0) THEN
871  p1 = p1 + p2
872  ELSE
873  IF (p1 > 0) THEN
874  CALL l4f_log(l4f_warn,'Found p1>0 in grib2 analysis data, strange things may happen')
875  ENDIF
876  ENDIF
877  ELSE ! point in time
878  statproc = 254
879  p2 = 0
880 
881  ENDIF
882 
883 ELSE
884 
885  CALL l4f_log(l4f_error,'GribEditionNumber '//t2c(editionnumber)//' not supported')
886  CALL raise_error()
887 
888 ENDIF
889 
890 CALL init(this, statproc, p1, p2)
891 
892 END SUBROUTINE timerange_import_gribapi
893 
894 

Generated with Doxygen.