libsim Versione 7.2.1
|
◆ gridinfo_display()
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".
Definizione alla linea 795 del file gridinfo_class.F90. 796call grib_get(gaid,'GRIBEditionNumber',EditionNumber)
797
798if (editionnumber == 1)then
799
800 CALL level_g2_to_g1(ltype1,scalef1,scalev1,ltype2,scalef2,scalev2,ltype,l1,l2)
801
802 call grib_set(gaid,'indicatorOfTypeOfLevel',ltype)
803! it is important to set topLevel after, otherwise, in case of single levels
804! bottomLevel=0 overwrites topLevel (aliases in grib_api)
805 call grib_set(gaid,'bottomLevel',l2)
806 call grib_set(gaid,'topLevel',l1)
807
808else if (editionnumber == 2)then
809
810 CALL grib_set(gaid,'typeOfFirstFixedSurface',ltype1)
811 IF (.NOT.c_e(scalef1) .OR. .NOT.c_e(scalev1)) THEN ! code missing values correctly
|