libsim  Versione7.2.6

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

Definizione alla linea 806 del file gridinfo_class.F90.

806 INTEGER :: EditionNumber, ltype1, scalef1, scalev1, ltype2, scalef2, scalev2, &
807  ltype, l1, l2
808 
809 CALL level_dballe_to_g2(this%level1, this%l1, this%level2, this%l2, &
810  ltype1, scalef1, scalev1, ltype2, scalef2, scalev2)
811 
812 call grib_get(gaid,'GRIBEditionNumber',editionnumber)
813 
814 if (editionnumber == 1)then
815 
816  CALL level_g2_to_g1(ltype1,scalef1,scalev1,ltype2,scalef2,scalev2,ltype,l1,l2)
817 
818  call grib_set(gaid,'indicatorOfTypeOfLevel',ltype)
819 ! it is important to set topLevel after, otherwise, in case of single levels
820 ! bottomLevel=0 overwrites topLevel (aliases in grib_api)
821  call grib_set(gaid,'bottomLevel',l2)

Generated with Doxygen.