Changeset 4120
- Timestamp:
- 2013-10-24T10:29:13+02:00 (10 years ago)
- Location:
- branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC
- Files:
-
- 1 deleted
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/nemogcm.F90
r4116 r4120 63 63 USE xios 64 64 #endif 65 USE ooo_data ! Offline obs_oper data 66 USE ooo_read ! Offline obs_oper read routines 67 USE ooo_intp ! Offline obs_oper interpolation 65 68 66 69 IMPLICIT NONE 67 70 PRIVATE 68 71 72 PUBLIC nemo_gcm ! called by nemo.f90 69 73 PUBLIC nemo_init ! needed by AGRIF 70 74 PUBLIC nemo_alloc ! needed by TAM … … 79 83 CONTAINS 80 84 85 SUBROUTINE nemo_gcm 86 !!---------------------------------------------------------------------- 87 !! *** SUBROUTINE offline_obs_oper *** 88 !! 89 !! ** Purpose : To use NEMO components to interpolate model fields 90 !! to observation space. 91 !! 92 !! ** Method : 1. Initialise NEMO 93 !! 2. Initialise offline obs_oper 94 !! 3. Cycle through match ups 95 !! 4. Write results to file 96 !! 97 !!---------------------------------------------------------------------- 98 !! Class 4 output stream switch 99 USE obs_fbm, ONLY: ln_cl4 100 !! Initialise NEMO 101 CALL nemo_init 102 !! Initialise Offline obs_oper data 103 CALL ooo_data_init( ln_cl4 ) 104 !! Loop over various model counterparts 105 DO jimatch = 1, cl4_match_len 106 IF (jimatch .GT. 1) THEN 107 !! Initialise obs_oper 108 CALL dia_obs_init 109 END IF 110 !! Interpolate to observation space 111 CALL ooo_interp 112 !! Pipe to output files 113 CALL dia_obs_wri 114 !! Reset the obs_oper between 115 CALL dia_obs_dealloc 116 END DO 117 !! Safely stop MPI 118 IF(lk_mpp) CALL mppstop ! end mpp communications 119 END SUBROUTINE nemo_gcm 81 120 82 121 SUBROUTINE nemo_init -
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/NEMO/OOO_SRC/ooo_intp.F90
r4119 r4120 1 MODULE ooo mod1 MODULE ooo_intp 2 2 !!====================================================================== 3 !! *** MODULE ooo ***3 !! *** MODULE ooo_intp *** 4 4 !! ** Purpose : Run NEMO observation operator in offline mode 5 5 !!====================================================================== 6 6 !! NEMO modules 7 USE in_out_manager 7 8 USE diaobs 8 USE nemogcm9 USE lib_mpp10 USE in_out_manager11 USE obs_fbm, ONLY: ln_cl412 9 !! Offline obs_oper modules 10 USE ooo_read 13 11 USE ooo_data 14 USE ooo_read15 12 16 13 IMPLICIT NONE 17 14 PRIVATE 18 15 19 PUBLIC o ffline_obs_oper16 PUBLIC ooo_interp 20 17 21 18 CONTAINS 22 23 SUBROUTINE offline_obs_oper24 !!----------------------------------------------------------------------25 !! *** SUBROUTINE offline_obs_oper ***26 !!27 !! ** Purpose : To use NEMO components to interpolate model fields28 !! to observation space.29 !!30 !!----------------------------------------------------------------------31 !! Initialise NEMO32 CALL nemo_init33 !! Initialise Offline obs_oper data34 CALL ooo_data_init( ln_cl4 )35 !! Loop over various model counterparts36 DO jimatch = 1, cl4_match_len37 IF (jimatch .GT. 1) THEN38 !! Initialise obs_oper39 CALL dia_obs_init40 END IF41 !! Interpolate to observation space42 CALL ooo_interp43 !! Pipe to output files44 CALL dia_obs_wri45 !! Reset the obs_oper between46 CALL dia_obs_dealloc47 END DO48 !! Safely stop MPI49 IF(lk_mpp) CALL mppstop ! end mpp communications50 END SUBROUTINE offline_obs_oper51 19 52 20 SUBROUTINE ooo_interp … … 78 46 END SUBROUTINE ooo_interp 79 47 80 END MODULE ooo mod48 END MODULE ooo_intp
Note: See TracChangeset
for help on using the changeset viewer.