- Timestamp:
- 2022-01-19T19:47:22+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.4_GO8_paquage_branch/src/OCE/IOM/restart.F90
r15658 r15662 30 30 USE diurnal_bulk 31 31 USE lib_mpp ! distribued memory computing library 32 USE sbc_oce ! for icesheet freshwater input variables 32 33 33 34 IMPLICIT NONE … … 172 173 CALL iom_rstput( kt, nitrst, numrow, 'sshn' , sshn, ldxios = lwxios ) 173 174 CALL iom_rstput( kt, nitrst, numrow, 'rhop' , rhop, ldxios = lwxios ) 175 176 IF( lk_oasis) THEN 177 ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 178 IF( nn_coupled_iceshelf_fluxes .eq. 1 ) THEN 179 CALL iom_rstput( kt, nitrst, numrow, 'greenland_icesheet_mass', greenland_icesheet_mass ) 180 CALL iom_rstput( kt, nitrst, numrow, 'greenland_icesheet_timelapsed', greenland_icesheet_timelapsed ) 181 CALL iom_rstput( kt, nitrst, numrow, 'greenland_icesheet_mass_roc', greenland_icesheet_mass_rate_of_change ) 182 CALL iom_rstput( kt, nitrst, numrow, 'antarctica_icesheet_mass', antarctica_icesheet_mass ) 183 CALL iom_rstput( kt, nitrst, numrow, 'antarctica_icesheet_timelapsed', antarctica_icesheet_timelapsed ) 184 CALL iom_rstput( kt, nitrst, numrow, 'antarctica_icesheet_mass_roc', antarctica_icesheet_mass_rate_of_change ) 185 ENDIF 186 ENDIF 174 187 ! extra variable needed for the ice sheet coupling 175 188 IF ( ln_iscpl ) THEN … … 320 333 ENDIF 321 334 ! 335 IF( iom_varid( numror, 'greenland_icesheet_mass', ldstop = .FALSE. ) > 0 ) THEN 336 CALL iom_get( numror, 'greenland_icesheet_mass', greenland_icesheet_mass ) 337 CALL iom_get( numror, 'greenland_icesheet_timelapsed', greenland_icesheet_timelapsed ) 338 CALL iom_get( numror, 'greenland_icesheet_mass_roc', greenland_icesheet_mass_rate_of_change ) 339 ELSE 340 greenland_icesheet_mass = 0.0 341 greenland_icesheet_mass_rate_of_change = 0.0 342 greenland_icesheet_timelapsed = 0.0 343 ENDIF 344 IF( iom_varid( numror, 'antarctica_icesheet_mass', ldstop = .FALSE. ) > 0 ) THEN 345 CALL iom_get( numror, 'antarctica_icesheet_mass', antarctica_icesheet_mass ) 346 CALL iom_get( numror, 'antarctica_icesheet_timelapsed', antarctica_icesheet_timelapsed ) 347 CALL iom_get( numror, 'antarctica_icesheet_mass_roc', antarctica_icesheet_mass_rate_of_change ) 348 ELSE 349 antarctica_icesheet_mass = 0.0 350 antarctica_icesheet_mass_rate_of_change = 0.0 351 antarctica_icesheet_timelapsed = 0.0 352 ENDIF 353 ! 322 354 IF( neuler == 0 ) THEN ! Euler restart (neuler=0) 323 355 tsb (:,:,:,:) = tsn (:,:,:,:) ! all before fields set to now values
Note: See TracChangeset
for help on using the changeset viewer.