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 – 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

Location:
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/namelist

    r4095 r4117  
    33!       namoff Offline obs_oper namelist 
    44!---------------------------------------------------------------------- 
    5 !   off_files     specifies the files containing the model counterpart 
    6 !   nn_off_idx    specifies the index within the model file 
    7 !   nn_off_freq   specifies the number of timesteps between file reads 
     5!   ooo_files     specifies the files containing the model counterpart 
     6!   nn_ooo_idx    specifies the index within the model file 
     7!   nn_ooo_freq   specifies the number of timesteps between file reads 
    88&namoff 
    9    off_files = 'fcst.0.nc' 
    10    nn_off_idx = 1 
     9   ooo_files = 'fcst.0.nc' 
     10   nn_ooo_idx = 1 
    1111/ 
    1212!---------------------------------------------------------------------- 
  • branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/obs_fbm.F90

    r4110 r4117  
    15641564      !! ** Purpose : Write an obfbdata structure into a class 4 file. 
    15651565      !! 
    1566       !! ** Method  : 1. Allocate memory needed by off_wri 
     1566      !! ** Method  : 1. Allocate memory needed by ooo_write 
    15671567      !!              2. Map obfbdata into allocated memory 
    1568       !!              3. Pass mapped data to off_wri 
     1568      !!              3. Pass mapped data to ooo_write 
    15691569      !!              4. Deallocate memory 
    15701570      !!---------------------------------------------------------------------- 
  • 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) 
  • branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/ooo_read.F90

    r4110 r4117  
    4242  
    4343      !! Filename, index and match-up kind 
    44       cdfilename = TRIM(off_files(kfile)) 
     44      cdfilename = TRIM(ooo_files(kfile)) 
    4545      cmatchname = TRIM(cl4_vars(kfile)) 
    46       kindex = nn_off_idx(kfile) 
     46      kindex = nn_ooo_idx(kfile) 
    4747 
    4848      !! Update model fields 
  • branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/ooomod.F90

    r4110 r4117  
    7575         DO WHILE ( istp <= nitend .AND. nstop == 0 ) 
    7676            IF (jifile <= n_files + 1) THEN 
    77                IF ( MOD(istp, nn_off_freq) == nit000 ) THEN 
     77               IF ( MOD(istp, nn_ooo_freq) == nit000 ) THEN 
    7878                  !! Read next model counterpart 
    7979                  CALL ooo_rea_dri(jifile) 
Note: See TracChangeset for help on using the changeset viewer.