Changeset 4134 for trunk/LMDZ.COMMON/libf/evolution/clim_state_init.F90
- Timestamp:
- Mar 16, 2026, 3:24:12 PM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/clim_state_init.F90
r4117 r4134 17 17 ! ------------ 18 18 use numerics, only: dp, di, k4 19 use io_netcdf, only: open_nc, close_nc, get_var_nc, get_dim_nc, put_var_nc, start_name, start1D_name, startfi_name, start pem_name19 use io_netcdf, only: open_nc, close_nc, get_var_nc, get_dim_nc, put_var_nc, start_name, start1D_name, startfi_name, startevo_name 20 20 21 21 ! DECLARATION … … 369 369 ! ---- 370 370 ! Check if the file exists 371 inquire(file = start pem_name,exist = here)371 inquire(file = startevo_name,exist = here) 372 372 373 373 ! If the file is not here … … 375 375 if (.not. here) then 376 376 ! It is possibly because it is the very first PEM run so everything needs to be initalized 377 call print_msg('> The file "'//start pem_name//'" was not found (possibly because this is the first PEM run)',LVL_WRN)377 call print_msg('> The file "'//startevo_name//'" was not found (possibly because this is the first PEM run)',LVL_WRN) 378 378 379 379 ! H2O ice … … 509 509 ! If the file is present 510 510 ! ~~~~~~~~~~~~~~~~~~~~~~ 511 call print_msg('> Reading "'//start pem_name//'"',LVL_NFO)512 call open_nc(start pem_name,'read')511 call print_msg('> Reading "'//startevo_name//'"',LVL_NFO) 512 call open_nc(startevo_name,'read') 513 513 514 514 ! H2O ice … … 524 524 call get_dim_nc('subsurface_layers',nsoil_startpem) 525 525 if (nsoil_startpem /= nsoil) then 526 call print_msg('nsoil (PEM) = '//int2str(nsoil)//' | nsoil ("'//start pem_name//'") = '//int2str(nsoil_startpem),LVL_ERR)527 call stop_clean(__FILE__,__LINE__,'nsoil defined in the PEM is different from the one read in "'//start pem_name//'"!',1)526 call print_msg('nsoil (PEM) = '//int2str(nsoil)//' | nsoil ("'//startevo_name//'") = '//int2str(nsoil_startpem),LVL_ERR) 527 call stop_clean(__FILE__,__LINE__,'nsoil defined in the PEM is different from the one read in "'//startevo_name//'"!',1) 528 528 end if 529 529 … … 578 578 579 579 ! Close 580 call close_nc(start pem_name)580 call close_nc(startevo_name) 581 581 582 582 END SUBROUTINE read_startpem
Note: See TracChangeset
for help on using the changeset viewer.
