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 8079 for branches/UKMO/dev_r7573_xios_write/NEMOGCM/NEMO/OPA_SRC/IOM/iom_def.F90 – NEMO

Ignore:
Timestamp:
2017-05-26T12:09:41+02:00 (7 years ago)
Author:
andmirek
Message:

#1882 a first working version with XIOS writing restart file. Works with MO suite u-am389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r7573_xios_write/NEMOGCM/NEMO/OPA_SRC/IOM/iom_def.F90

    r6491 r8079  
    5151!$AGRIF_DO_NOT_TREAT 
    5252   INTEGER, PUBLIC            ::   iom_open_init = 0   !: used to initialize iom_file(:)%nfid to 0 
     53!XIOS read restart    
     54   LOGICAL, PUBLIC            ::   lwxios          !: read single file restart using XIOS 
     55   INTEGER, PUBLIC            ::   wxioso          !: type of restart file when writing using XIOS 1 - single, 2 - multiple 
     56 
     57 
    5358 
    5459   TYPE, PUBLIC ::   file_descriptor 
     
    7075   END TYPE file_descriptor 
    7176   TYPE(file_descriptor), DIMENSION(jpmax_files), PUBLIC ::   iom_file !: array containing the info for all opened files 
     77 
     78   INTEGER, PARAMETER, PUBLIC                   :: max_rst_fields = 85   
     79 
     80 
     81   TYPE, PUBLIC :: RST_FIELD   
     82    CHARACTER(len=30) :: vname ! names of variables in restart file 
     83    CHARACTER(len=30) :: grid 
     84   END TYPE RST_FIELD 
     85   TYPE(RST_FIELD), PUBLIC :: rst_fields(max_rst_fields) 
     86   !  values needed to set correctlyfiles in reast file when using XIOS for writing 
    7287!$AGRIF_END_DO_NOT_TREAT 
    73  
    7488   !!===================================================================== 
    7589END MODULE iom_def 
Note: See TracChangeset for help on using the changeset viewer.