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 5063 for branches/2014/dev_r4650_UKMO14.12_STAND_ALONE_OBSOPER/NEMOGCM/NEMO/SAO_SRC/sao_intp.F90 – NEMO

Ignore:
Timestamp:
2015-02-05T17:29:55+01:00 (9 years ago)
Author:
andrewryan
Message:

gross simplification of stand alone observation operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO14.12_STAND_ALONE_OBSOPER/NEMOGCM/NEMO/SAO_SRC/sao_intp.F90

    r4852 r5063  
    2727         !!             2. Call dia_obs at appropriate time steps 
    2828         !!---------------------------------------------------------------------- 
    29          INTEGER :: istp ! time step index 
    30          !! Loop over entire run 
     29         INTEGER :: & 
     30            & istp, & ! time step index 
     31            & ifile   ! file index 
    3132         istp = nit000 - 1 
    3233         nstop = 0 
     34         ifile = 1 
     35         CALL sao_rea_dri(ifile) 
    3336         DO WHILE ( istp <= nitend .AND. nstop == 0 ) 
    34             IF (jifile <= n_files + 1) THEN 
     37            IF (ifile <= n_files + 1) THEN 
    3538               IF ( MOD(istp, nn_sao_freq) == nit000 ) THEN 
    36                   !! Read next model counterpart 
    37                   CALL sao_rea_dri(jifile) 
    38                   jifile = jifile + 1 
     39                  CALL sao_rea_dri(ifile) 
     40                  ifile = ifile + 1 
    3941               ENDIF 
    40                !! Interpolate single time step 
    4142               CALL dia_obs(istp) 
    4243            ENDIF 
    43             !! Increment model step 
    4444            istp = istp + 1 
    4545         END DO 
Note: See TracChangeset for help on using the changeset viewer.