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

Ignore:
Timestamp:
2013-10-24T10:29:13+02:00 (11 years ago)
Author:
andrewryan
Message:

Refactored offline_obs_oper to be nemo_gcm. Renamed ooomod.F90 to ooo_intp.F90 since it now contains the interpolation steps only. Renamed namelist to ooo.nml since it contains settings for the offline obs_oper only.

File:
1 moved

Legend:

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

    r4119 r4120  
    1 MODULE ooomod 
     1MODULE ooo_intp 
    22   !!====================================================================== 
    3    !!                    ***  MODULE ooo *** 
     3   !!                    ***  MODULE ooo_intp *** 
    44   !! ** Purpose : Run NEMO observation operator in offline mode 
    55   !!====================================================================== 
    66   !! NEMO modules 
     7   USE in_out_manager 
    78   USE diaobs 
    8    USE nemogcm 
    9    USE lib_mpp 
    10    USE in_out_manager 
    11    USE obs_fbm, ONLY: ln_cl4 
    129   !! Offline obs_oper modules 
     10   USE ooo_read 
    1311   USE ooo_data 
    14    USE ooo_read 
    1512 
    1613   IMPLICIT NONE 
    1714   PRIVATE 
    1815 
    19    PUBLIC offline_obs_oper 
     16   PUBLIC ooo_interp 
    2017 
    2118   CONTAINS 
    22  
    23       SUBROUTINE offline_obs_oper 
    24          !!---------------------------------------------------------------------- 
    25          !!                    ***  SUBROUTINE offline_obs_oper *** 
    26          !! 
    27          !! ** Purpose : To use NEMO components to interpolate model fields 
    28          !!              to observation space. 
    29          !! 
    30          !!---------------------------------------------------------------------- 
    31          !! Initialise NEMO 
    32          CALL nemo_init 
    33          !! Initialise Offline obs_oper data 
    34          CALL ooo_data_init( ln_cl4 ) 
    35          !! Loop over various model counterparts 
    36          DO jimatch = 1, cl4_match_len 
    37             IF (jimatch .GT. 1) THEN 
    38                !! Initialise obs_oper 
    39                CALL dia_obs_init 
    40             END IF 
    41             !! Interpolate to observation space 
    42             CALL ooo_interp 
    43             !! Pipe to output files 
    44             CALL dia_obs_wri 
    45             !! Reset the obs_oper between 
    46             CALL dia_obs_dealloc 
    47          END DO 
    48          !! Safely stop MPI 
    49          IF(lk_mpp) CALL mppstop  ! end mpp communications 
    50       END SUBROUTINE offline_obs_oper 
    5119 
    5220      SUBROUTINE ooo_interp 
     
    7846      END SUBROUTINE ooo_interp 
    7947 
    80 END MODULE ooomod 
     48END MODULE ooo_intp 
Note: See TracChangeset for help on using the changeset viewer.