libsim  Versione8.0.0

◆ 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,INTENT(in) :: gaid ! grib_api id of the grib loaded in memory to export
807 
808 INTEGER :: EditionNumber, ltype1, scalef1, scalev1, ltype2, scalef2, scalev2, &
809  ltype, l1, l2
810 
811 CALL level_dballe_to_g2(this%level1, this%l1, this%level2, this%l2, &
812  ltype1, scalef1, scalev1, ltype2, scalef2, scalev2)
813 
814 call grib_get(gaid,'GRIBEditionNumber',editionnumber)
815 
816 if (editionnumber == 1)then
817 
818  CALL level_g2_to_g1(ltype1,scalef1,scalev1,ltype2,scalef2,scalev2,ltype,l1,l2)
819 
820  call grib_set(gaid,'indicatorOfTypeOfLevel',ltype)
821 ! it is important to set topLevel after, otherwise, in case of single levels

Generated with Doxygen.