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 2001 for branches/dev_1784_OBS/NEMO/OPA_SRC/opa.F90 – NEMO

Ignore:
Timestamp:
2010-07-09T14:18:30+02:00 (14 years ago)
Author:
djlea
Message:

Adding observation operator code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_1784_OBS/NEMO/OPA_SRC/opa.F90

    r1725 r2001  
    5454   USE trdmod          ! momentum/tracers trends       (trd_mod_init routine) 
    5555   USE diaptr          ! poleward transports           (dia_ptr_init routine) 
     56   USE diaobs          ! Observation diagnostics       (dia_obs_init routine) 
    5657   USE step            ! OPA time-stepping                  (stp     routine) 
    5758#if defined key_oasis3 
     
    143144         END DO 
    144145      ENDIF 
     146 
     147      IF( lk_diaobs ) CALL dia_obs_wri 
    145148        
    146149      !                            !------------------------! 
     
    269272      !                                     ! diagnostics 
    270273      CALL iom_init                             ! iom_put initialization 
     274 
     275      IF( lk_diaobs ) THEN 
     276         CALL dia_obs_init                  ! Initialize observational data 
     277         CALL dia_obs( nit000 - 1 )         ! Observation operator for restart 
     278      ENDIF       
     279 
    271280      CALL dia_ptr_init                         ! Poleward TRansports initialization 
    272281      CALL trd_mod_init                         ! Mixed-layer/Vorticity/Integral constraints trends 
Note: See TracChangeset for help on using the changeset viewer.