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

Ignore:
Timestamp:
2013-10-02T18:32:18+02:00 (11 years ago)
Author:
djlea
Message:

Cleaning and debugging of the observation operator. Turn off the night time averaging of SST data by default, but add a namelist option to switch it on.

File:
1 edited

Legend:

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

    r4031 r4048  
    4040         CALL off_oper_init 
    4141         !! Loop over various model counterparts 
    42          DO jimatch = 1, n_match 
     42         DO jimatch = 1, cl4_match_len 
    4343            IF (jimatch .GT. 1) THEN 
    4444               !! Initialise obs_oper 
    4545               CALL dia_obs_init 
    4646            END IF 
    47             !! Read next model counterpart 
    48             CALL off_rea_dri 
    4947            !! Interpolate to observation space 
    5048            CALL off_oper_interp 
     
    6462         !! ** Purpose : To interpolate the model as if it were running online. 
    6563         !! 
     64         !! ** Method : 1. Populate model counterparts 
     65         !!             2. Call dia_obs at appropriate time steps 
    6666         !!---------------------------------------------------------------------- 
    6767         IMPLICIT NONE 
    6868         INTEGER :: istp ! time step index 
     69         !! Loop over entire run 
    6970         istp = nit000 
    7071         nstop = 0 
    7172         DO WHILE ( istp <= nitend .AND. nstop == 0 ) 
    72             CALL dia_obs(istp) 
     73            IF (jifile <= n_files + 1) THEN 
     74               IF ( MOD(istp, nn_off_freq) == nit000 ) THEN 
     75                  !! Read next model counterpart 
     76                  CALL off_rea_dri(jifile) 
     77                  jifile = jifile + 1 
     78               ENDIF 
     79               !! Interpolate single time step 
     80               CALL dia_obs(istp) 
     81            ENDIF 
     82            !! Increment model step 
    7383            istp = istp + 1 
    7484         END DO 
Note: See TracChangeset for help on using the changeset viewer.