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 8001 for branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90 – NEMO

Ignore:
Timestamp:
2017-05-08T17:00:32+02:00 (7 years ago)
Author:
andmirek
Message:

Reading restart with XIOS works and is bit comparable with NEMO default restart. Tested in MO GO6 eORCA25 configuration - suite u-al584

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90

    r7924 r8001  
    140140         &             nn_it000, nn_itend  , nn_date0    , nn_leapy     , nn_istate , nn_stock ,   & 
    141141         &             nn_write, ln_dimgnnn, ln_mskland  , ln_cfmeta    , ln_clobber, nn_chunksz, nn_euler, & 
    142          &             lr_xios 
     142         &             ln_xios_read 
    143143      NAMELIST/namdom/ nn_bathy, rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin,   & 
    144144         &             nn_acc   , rn_atfp     , rn_rdt      , rn_rdtmin ,                  & 
     
    154154      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    155155      !!---------------------------------------------------------------------- 
    156  
     156      ln_xios_read = .false.            ! set in case ln_xios_read is not in namelist 
    157157      REWIND( numnam_ref )              ! Namelist namrun in reference namelist : Parameters of the run 
    158158      READ  ( numnam_ref, namrun, IOSTAT = ios, ERR = 901) 
     
    195195         WRITE(numout,*) '      overwrite an existing file      ln_clobber = ', ln_clobber 
    196196         WRITE(numout,*) '      NetCDF chunksize (bytes)        nn_chunksz = ', nn_chunksz 
    197          WRITE(numout,*) '      READ restart for a single file using XIOS  = ', lr_xios  
     197         WRITE(numout,*) '      READ restart for a single file using XIOS ln_xios_read =', ln_xios_read 
    198198      ENDIF 
    199199 
     
    210210      nwrite = nn_write 
    211211      neuler = nn_euler 
    212       lxios_read = lr_xios 
     212      lxios_read = ln_xios_read 
    213213      IF ( neuler == 1 .AND. .NOT. ln_rstart ) THEN 
    214214         WRITE(ctmp1,*) 'ln_rstart =.FALSE., nn_euler is forced to 0 ' 
Note: See TracChangeset for help on using the changeset viewer.