libsim  Versione6.3.0

◆ gridinfo_display()

subroutine gridinfo_display ( type(gridinfo_def), intent(in)  this,
character (len=*), optional  namespace 
)

Display on standard output a description of the gridinfo object provided.

For objects imported from grib_api also the grib key names and values are printed; the set of keys returned can be controlled with the input variable namespace. Available namespaces are "ls", to get the same default keys as the grib_ls command, and "mars" to get the keys used by mars, default "ls".

Parametri
[in]thisobject to display
namespacegrib_api namespace of the keys to search for, all the keys if empty, default "ls"

Definizione alla linea 822 del file gridinfo_class.F90.

822 
823 call grib_get(gaid,'GRIBEditionNumber',EditionNumber)
824 
825 IF (editionnumber == 1) THEN
826 
827  CALL grib_get(gaid,'timeRangeIndicator',tri)
828  CALL grib_get(gaid,'P1',p1g)
829  CALL grib_get(gaid,'P2',p2g)
830  CALL grib_get(gaid,'indicatorOfUnitOfTimeRange',unit)
831  CALL timerange_g1_to_v7d(tri, p1g, p2g, unit, statproc, p1, p2)
832 
833 ELSE IF (editionnumber == 2) THEN
834 
835  CALL grib_get(gaid,'forecastTime',p1g)
836  CALL grib_get(gaid,'indicatorOfUnitOfTimeRange',unit)
837  CALL g2_interval_to_second(unit, p1g, p1)

Generated with Doxygen.