Changeset 5704 for branches/2015/dev_r5072_UKMO2_OBS_simplification/NEMOGCM/NEMO/OPA_SRC/OBS/obs_readmdt.F90
- Timestamp:
- 2015-08-21T15:00:38+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5072_UKMO2_OBS_simplification/NEMOGCM/NEMO/OPA_SRC/OBS/obs_readmdt.F90
r5682 r5704 108 108 109 109 ! Remove the offset between the MDT used with the sla and the model MDT 110 IF( nn_msshc == 1 .OR. nn_msshc == 2 ) CALL obs_offset_mdt( z_mdt, zfill ) 110 IF( nn_msshc == 1 .OR. nn_msshc == 2 ) & 111 & CALL obs_offset_mdt( jpi, jpj, z_mdt, zfill ) 111 112 112 113 ! Intepolate the MDT already on the model grid at the observation point … … 134 135 END DO 135 136 136 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, igrdi, igrdj, glamt , zglam )137 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, igrdi, igrdj, gphit , zgphi )138 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, igrdi, igrdj, mdtmask, zmask )139 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, igrdi, igrdj, z_mdt , zmdtl )137 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, igrdi, igrdj, glamt , zglam ) 138 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, igrdi, igrdj, gphit , zgphi ) 139 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, igrdi, igrdj, mdtmask, zmask ) 140 CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, igrdi, igrdj, z_mdt , zmdtl ) 140 141 141 142 DO jobs = 1, sladata%nsurf … … 168 169 CALL wrk_dealloc(jpi,jpj,z_mdt,mdtmask) 169 170 IF(lwp)WRITE(numout,*) ' ------------- ' 170 CALL FLUSH(numout)171 171 ! 172 172 END SUBROUTINE obs_rea_mdt 173 173 174 174 175 SUBROUTINE obs_offset_mdt( mdt, zfill )175 SUBROUTINE obs_offset_mdt( kpi, kpj, mdt, zfill ) 176 176 !!--------------------------------------------------------------------- 177 177 !! … … 186 186 !! ** Action : 187 187 !!---------------------------------------------------------------------- 188 REAL(wp), DIMENSION(jpi,jpj), INTENT(inout) :: mdt ! MDT used on the model grid 189 REAL(wp) , INTENT(in ) :: zfill 188 INTEGER, INTENT(IN) :: kpi, kpj 189 REAL(wp), DIMENSION(kpi,kpj), INTENT(INOUT) :: mdt ! MDT used on the model grid 190 REAL(wp) , INTENT(IN ) :: zfill 190 191 ! 191 192 INTEGER :: ji, jj
Note: See TracChangeset
for help on using the changeset viewer.