- Timestamp:
- 2020-05-19T12:53:16+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ZDF/zdfosm.F90
r12489 r12950 1424 1424 ghamv(:,:,:) = 0. 1425 1425 ! 1426 IF( lwxios ) THEN1427 CALL iom_set_rstw_var_active('wn')1428 CALL iom_set_rstw_var_active('hbl')1429 CALL iom_set_rstw_var_active('hbli')1430 ENDIF1431 1426 END SUBROUTINE zdf_osm_init 1432 1427 … … 1459 1454 !!----------------------------------------------------------------------------- 1460 1455 IF( TRIM(cdrw) == 'READ'.AND. ln_rstart) THEN 1456 IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 1461 1457 id1 = iom_varid( numror, 'wn' , ldstop = .FALSE. ) 1462 1458 IF( id1 > 0 ) THEN ! 'wn' exists; read … … 1473 1469 CALL iom_get( numror, jpdom_autoglo, 'hbli', hbli, ldxios = lrxios ) 1474 1470 WRITE(numout,*) ' ===>>>> : hbl & hbli read from restart file' 1471 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 1475 1472 RETURN 1476 1473 ELSE ! 'hbl' & 'hbli' not in restart file, recalculate 1477 1474 WRITE(numout,*) ' ===>>>> : previous run without osmosis scheme, hbl computed from stratification' 1478 1475 END IF 1476 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 1479 1477 END IF 1480 1478
Note: See TracChangeset
for help on using the changeset viewer.