libsim Versione 7.2.0

◆ gridinfo_display()

subroutine 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]thisobject to display
namespacegrib_api namespace of the keys to search for, all the keys if empty, default "ls"

Definizione alla linea 795 del file gridinfo_class.F90.

796
797if (editionnumber == 1)then
798
799 CALL level_g2_to_g1(ltype1,scalef1,scalev1,ltype2,scalef2,scalev2,ltype,l1,l2)
800
801 call grib_set(gaid,'indicatorOfTypeOfLevel',ltype)
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')

Generated with Doxygen.