Ignore:
Timestamp:
Mar 9, 2026, 10:29:53 AM (8 days ago)
Author:
jbclement
Message:

PEM:

  • Introduction of a configurable display/logging system with options 'out2term', 'out2log', 'verbosity_lvl'. All messages now use verbosity levels ('LVL_NFO', 'LVL_WRN', 'LVL_ERR' and 'LVL_DBG').
  • Code encapsulation improvements with systematic privacy/protection of module variables.
  • Addition of workflow safety checks for required executables, dependencies (e.g. 'ncdump'), input files and callphys keys.
  • Renaming of PEM starting and diagnostic files ("startevol.nc" into "startevo.nc", "diagevol.nc" into "diagevo.nc").

JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/surf_temp.F90

    r4074 r4110  
    139139! ------------
    140140use geometry, only: ngrid, nslope, nlon, nlat, latitudes, vect2lonlat, lonlat2vect
    141 use display,  only: print_msg
     141use display,  only: print_msg, LVL_NFO, LVL_WRN
    142142use utility,  only: int2str
    143143
     
    167167if (ngrid == 1) return
    168168
    169 call print_msg("> Adapting surface temperature where ice disappeared")
     169call print_msg("> Adapting surface temperature where ice disappeared",LVL_NFO)
    170170! Convert from reduced grid to lon-lat grid
    171171call vect2lonlat(nlon,nlat,ngrid,latitudes,latitude_ll)
     
    225225                    radius = radius + 1
    226226                end do
    227                 if (.not. found) call print_msg("Warning: no bare soil found for ice disappeared at point ("//int2str(i)//','//int2str(j)//','//int2str(islope)//'!')
     227                if (.not. found) call print_msg("No bare soil found for ice disappeared at point ("//int2str(i)//','//int2str(j)//','//int2str(islope)//'!',LVL_WRN)
    228228            end if
    229229        end do
     
    325325! DEPENDENCIES
    326326! ------------
    327 use display, only: print_msg
     327use display, only: print_msg, LVL_NFO
    328328
    329329! DECLARATION
     
    338338! CODE
    339339! ----
    340 call print_msg('> Building surface temperature for the PCM')
     340call print_msg('> Building surface temperature for the PCM',LVL_NFO)
    341341tsurf4PCM(:,:) = tsurf_avg(:,:) + tsurf_dev(:,:)
    342342
Note: See TracChangeset for help on using the changeset viewer.