libsim Versione 7.1.11

◆ 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 801 del file gridinfo_class.F90.

802! it is important to set topLevel after, otherwise, in case of single levels
803! bottomLevel=0 overwrites topLevel (aliases in grib_api)
804 call grib_set(gaid,'bottomLevel',l2)
805 call grib_set(gaid,'topLevel',l1)
806
807else if (editionnumber == 2)then
808
809 CALL grib_set(gaid,'typeOfFirstFixedSurface',ltype1)
810 IF (.NOT.c_e(scalef1) .OR. .NOT.c_e(scalev1)) THEN ! code missing values correctly
811 CALL grib_set_missing(gaid,'scaleFactorOfFirstFixedSurface')
812 CALL grib_set_missing(gaid,'scaledValueOfFirstFixedSurface')
813 ELSE
814 CALL grib_set(gaid,'scaleFactorOfFirstFixedSurface',scalef1)
815 CALL grib_set(gaid,'scaledValueOfFirstFixedSurface',scalev1)
816 ENDIF
817

Generated with Doxygen.