- Timestamp:
- 2013-10-23T22:32:11+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/ooo_data.F90
r4110 r4117 31 31 !! Offline obs_oper settings 32 32 CHARACTER(len=lc) :: & 33 & o ff_files(MaxNumFiles) !: model files33 & ooo_files(MaxNumFiles) !: model files 34 34 INTEGER :: & 35 35 & jifile, & !: current file list index 36 36 & n_files, & !: number of files 37 37 & jimatch, & !: current match 38 & nn_o ff_idx(MaxNumFiles), & !: time_counter indices39 & nn_o ff_freq !: read frequency in time steps38 & nn_ooo_idx(MaxNumFiles), & !: time_counter indices 39 & nn_ooo_freq !: read frequency in time steps 40 40 CHARACTER(len=128) :: & 41 41 & alt_file !: altimeter file … … 55 55 56 56 ! Standard offline obs_oper information 57 NAMELIST/namoff/o ff_files, nn_off_idx, nn_off_freq57 NAMELIST/namoff/ooo_files, nn_ooo_idx, nn_ooo_freq 58 58 59 59 ! Class 4 file specifiers … … 66 66 jifile = 1 !: input file iteration variable 67 67 n_files = 0 !: number of files to cycle through 68 o ff_files(:) = '' !: list of files to read in69 nn_o ff_idx(:) = 0 !: list of indices inside each file70 nn_o ff_freq = -1 !: input frequency in time steps68 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 71 71 72 72 ! Class 4 initialisation … … 94 94 ! count input files 95 95 lmask(:) = .FALSE. 96 WHERE (o ff_files(:) /= '') lmask(:) = .TRUE.96 WHERE (ooo_files(:) /= '') lmask(:) = .TRUE. 97 97 n_files = COUNT(lmask) 98 98 99 99 !! Initialise sub obs window frequency 100 IF (nn_o ff_freq == -1) THEN100 IF (nn_ooo_freq == -1) THEN 101 101 !! Run length 102 nn_o ff_freq = nitend - nit000 + 1102 nn_ooo_freq = nitend - nit000 + 1 103 103 ENDIF 104 104 … … 111 111 DO jf = 1, n_files 112 112 WRITE(numout,'(1X,2A)') ' Input forecast file name forecastfile = ', & 113 TRIM(o ff_files(jf))113 TRIM(ooo_files(jf)) 114 114 WRITE(numout,*) ' Input forecast file index forecastindex = ', & 115 nn_o ff_idx(jf)115 nn_ooo_idx(jf) 116 116 WRITE(numout,*) ' Output forecast leadtime index leadtimeindex = ', & 117 117 cl4_fcst_idx(jf)
Note: See TracChangeset
for help on using the changeset viewer.