New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9123 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icerst.F90 – NEMO

Ignore:
Timestamp:
2017-12-18T23:34:28+01:00 (6 years ago)
Author:
clem
Message:

solve issue with Prather scheme and restart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icerst.F90

    r9122 r9123  
    135135      ! Snow enthalpy (1st snow layer only) 
    136136      z3d = e_s(:,:,1,:) 
    137       CALL iom_rstput( iter, nitrst, numriw, 'tempt_sl1' , z3d ) 
     137      CALL iom_rstput( iter, nitrst, numriw, 'e_s_l01' , z3d ) 
    138138      ! Ice enthalpy (all ice layers) 
    139139      DO jk = 1, nlay_i  
    140140         WRITE(zchar1,'(I2.2)') jk 
    141          znam = 'tempt'//'_il'//zchar1 
     141         znam = 'e_i'//'_l'//zchar1 
    142142         z3d(:,:,:) = e_i(:,:,jk,:) 
    143143         CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
     
    221221!!gm dangerous !!!!!  ===>>>> better reading writing all snow layers ! 
    222222      ! Snow enthalpy (1st snow layer only) 
    223       CALL iom_get( numrir, jpdom_autoglo, 'tempt_sl1' , z3d ) 
     223      CALL iom_get( numrir, jpdom_autoglo, 'e_s_l01' , z3d ) 
    224224      e_s(:,:,1,:) = z3d 
    225225      ! Ice enthalpy (all ice layers) 
    226226      DO jk = 1, nlay_i  
    227227         WRITE(zchar1,'(I2.2)') jk 
    228          znam = 'tempt'//'_il'//zchar1 
     228         znam = 'e_i'//'_l'//zchar1 
    229229         CALL iom_get( numrir, jpdom_autoglo, znam , z3d ) 
    230230         e_i(:,:,jk,:) = z3d(:,:,:) 
Note: See TracChangeset for help on using the changeset viewer.