|
◆ gridinfo_display()
subroutine gridinfo_class::gridinfo_display |
( |
type(gridinfo_def), intent(in) |
this, |
|
|
character (len=*), optional |
namespace |
|
) |
| |
|
private |
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] | this | object to display |
| namespace | grib_api namespace of the keys to search for, all the keys if empty, default "ls" |
Definizione alla linea 822 del file gridinfo_class.F90.
825 IF (editionnumber == 1) THEN 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) 833 ELSE IF (editionnumber == 2) THEN 835 CALL grib_get(gaid, 'forecastTime',p1g) 836 CALL grib_get(gaid, 'indicatorOfUnitOfTimeRange',unit) 837 CALL g2_interval_to_second(unit, p1g, p1)
|