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 12977 for NEMO/branches/2020/dev_12905_xios_restart/src/OCE – NEMO

Ignore:
Timestamp:
2020-05-27T09:35:03+02:00 (4 years ago)
Author:
andmirek
Message:

Ticket #2462 read restart with XIOS in SAS

Location:
NEMO/branches/2020/dev_12905_xios_restart/src/OCE
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_restart/src/OCE/DOM/domain.F90

    r12950 r12977  
    5858CONTAINS 
    5959 
    60    SUBROUTINE dom_init( Kbb, Kmm, Kaa, cdstr ) 
     60   SUBROUTINE dom_init( Kbb, Kmm, Kaa ) 
    6161      !!---------------------------------------------------------------------- 
    6262      !!                  ***  ROUTINE dom_init  *** 
     
    7474      !!---------------------------------------------------------------------- 
    7575      INTEGER          , INTENT(in) :: Kbb, Kmm, Kaa          ! ocean time level indices 
    76       CHARACTER (len=*), INTENT(in) :: cdstr                  ! model: NEMO or SAS. Determines core restart variables 
    7776      ! 
    7877      INTEGER ::   ji, jj, jk, ik   ! dummy loop indices 
     
    122121      CALL dom_glo                     ! global domain versus local domain 
    123122      CALL dom_nam                     ! read namelist ( namrun, namdom ) 
    124       ! 
    125 !reset namelist for SAS 
    126       IF(cdstr == 'SAS') THEN 
    127          IF(lrxios) THEN 
    128                IF(lwp) write(numout,*) 'Disable reading restart file using XIOS for SAS' 
    129                lrxios = .FALSE. 
    130          ENDIF 
    131       ENDIF 
    132123      ! 
    133124      CALL dom_hgr                      ! Horizontal mesh 
  • NEMO/branches/2020/dev_12905_xios_restart/src/OCE/IOM/iom.F90

    r12961 r12977  
    618618#if defined key_iomput 
    619619      TYPE(xios_context) :: nemo_hdl 
    620       IF(lwp) write(numout, *) 'SWAP TO: ', TRIM(cdname),' AGRIF: ', TRIM(Agrif_CFixed()) 
    621620      IF( TRIM(Agrif_CFixed()) == '0' ) THEN 
    622621        CALL xios_get_handle(TRIM(cdname),nemo_hdl) 
  • NEMO/branches/2020/dev_12905_xios_restart/src/OCE/nemogcm.F90

    r12641 r12977  
    428428      IF( lk_c1d       )   CALL     c1d_init        ! 1D column configuration 
    429429                           CALL     wad_init        ! Wetting and drying options 
    430                            CALL     dom_init( Nbb, Nnn, Naa, "OPA") ! Domain 
     430                           CALL     dom_init( Nbb, Nnn, Naa ) ! Domain 
    431431      IF( ln_crs       )   CALL     crs_init(      Nnn )       ! coarsened grid: domain initialization  
    432432      IF( sn_cfctl%l_prtctl )   & 
  • NEMO/branches/2020/dev_12905_xios_restart/src/OCE/step.F90

    r12969 r12977  
    351351      IF( kstp == nit000 ) THEN                          ! 1st time step only 
    352352                                        CALL iom_close( numror )   ! close input  ocean restart file 
    353          IF( lroxios )                   CALL iom_context_finalize(      crxios_context         ) 
     353         IF( lroxios )                  CALL iom_context_finalize(      crxios_context         ) 
    354354         IF(lwm)                        CALL FLUSH    ( numond )   ! flush output namelist oce 
    355355         IF(lwm .AND. numoni /= -1 )    CALL FLUSH    ( numoni )   ! flush output namelist ice (if exist) 
Note: See TracChangeset for help on using the changeset viewer.