- Timestamp:
- 2020-05-20T18:53:27+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/ICE/iceupdate.F90
r12489 r12957 417 417 ! 418 418 IF( id1 > 0 ) THEN ! fields exist 419 CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass' , snwice_mass ) 420 CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass_b', snwice_mass_b ) 419 IF(lrxios) CALL iom_swap(crixios_context) 420 CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass' , snwice_mass, ldxios = lrxios ) 421 CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass_b', snwice_mass_b, ldxios = lrxios ) 422 IF(lrxios) CALL iom_swap(cxios_context) 421 423 ELSE ! start from rest 422 424 IF(lwp) WRITE(numout,*) ' ==>> previous run without snow-ice mass output then set it' … … 435 437 iter = kt + nn_fsbc - 1 ! ice restarts are written at kt == nitrst - nn_fsbc + 1 436 438 ! 437 CALL iom_rstput( iter, nitrst, numriw, 'snwice_mass' , snwice_mass ) 438 CALL iom_rstput( iter, nitrst, numriw, 'snwice_mass_b', snwice_mass_b ) 439 IF( lwxios ) CALL iom_swap( cwixios_context ) 440 CALL iom_rstput( iter, nitrst, numriw, 'snwice_mass' , snwice_mass, ldxios = lwxios ) 441 CALL iom_rstput( iter, nitrst, numriw, 'snwice_mass_b', snwice_mass_b, ldxios = lwxios ) 442 IF( lwxios ) CALL iom_swap( cxios_context ) 439 443 ! 440 444 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.