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 4117 for branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/ooo_data.F90 – NEMO

Ignore:
Timestamp:
2013-10-23T22:32:11+02:00 (11 years ago)
Author:
andrewryan
Message:

updated naming convention of variables to eliminate confusion with OFF_SRC variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/ooo_data.F90

    r4110 r4117  
    3131   !! Offline obs_oper settings 
    3232   CHARACTER(len=lc) :: & 
    33       & off_files(MaxNumFiles)         !: model files 
     33      & ooo_files(MaxNumFiles)         !: model files 
    3434   INTEGER            :: & 
    3535      & jifile, &                      !: current file list index 
    3636      & n_files, &                     !: number of files 
    3737      & jimatch, &                     !: current match 
    38       & nn_off_idx(MaxNumFiles), &     !: time_counter indices 
    39       & nn_off_freq                    !: read frequency in time steps 
     38      & nn_ooo_idx(MaxNumFiles), &     !: time_counter indices 
     39      & nn_ooo_freq                    !: read frequency in time steps 
    4040   CHARACTER(len=128) :: & 
    4141      & alt_file                       !: altimeter file 
     
    5555 
    5656      ! Standard offline obs_oper information 
    57       NAMELIST/namoff/off_files, nn_off_idx, nn_off_freq 
     57      NAMELIST/namoff/ooo_files, nn_ooo_idx, nn_ooo_freq 
    5858 
    5959      ! Class 4 file specifiers 
     
    6666      jifile = 1                    !: input file iteration variable  
    6767      n_files = 0                   !: number of files to cycle through 
    68       off_files(:) = ''             !: list of files to read in 
    69       nn_off_idx(:) = 0             !: list of indices inside each file 
    70       nn_off_freq = -1              !: input frequency in time steps 
     68      ooo_files(:) = ''             !: list of files to read in 
     69      nn_ooo_idx(:) = 0             !: list of indices inside each file 
     70      nn_ooo_freq = -1              !: input frequency in time steps 
    7171 
    7272      ! Class 4 initialisation 
     
    9494      ! count input files 
    9595      lmask(:) = .FALSE. 
    96       WHERE (off_files(:) /= '') lmask(:) = .TRUE. 
     96      WHERE (ooo_files(:) /= '') lmask(:) = .TRUE. 
    9797      n_files = COUNT(lmask) 
    9898 
    9999      !! Initialise sub obs window frequency 
    100       IF (nn_off_freq == -1) THEN 
     100      IF (nn_ooo_freq == -1) THEN 
    101101         !! Run length 
    102          nn_off_freq = nitend - nit000 + 1 
     102         nn_ooo_freq = nitend - nit000 + 1 
    103103      ENDIF 
    104104 
     
    111111         DO jf = 1, n_files 
    112112            WRITE(numout,'(1X,2A)') '   Input forecast file name          forecastfile = ', & 
    113                TRIM(off_files(jf)) 
     113               TRIM(ooo_files(jf)) 
    114114            WRITE(numout,*) '   Input forecast file index        forecastindex = ', & 
    115                nn_off_idx(jf) 
     115               nn_ooo_idx(jf) 
    116116            WRITE(numout,*) '   Output forecast leadtime index   leadtimeindex = ', & 
    117117               cl4_fcst_idx(jf) 
Note: See TracChangeset for help on using the changeset viewer.