Changeset 6256
- Timestamp:
- 2016-01-15T10:59:16+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/nemo_v3_6_STABLE_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r6255 r6256 53 53 #endif 54 54 #if defined key_medusa 55 USE trc 55 ! RSRH: Temporarily commented out until we get MEDUSA code included 56 ! USE trc 56 57 #endif 57 58 … … 2056 2057 REAL(wp), POINTER, DIMENSION(:,:) :: zfr_l, ztmp1, ztmp2, zotx1, zoty1, zotz1, zitx1, zity1, zitz1 2057 2058 REAL(wp), POINTER, DIMENSION(:,:,:) :: ztmp3, ztmp4 2059 2060 #if defined key_medusa 2061 ! RSRH Temporarily definitition of array used in medusa coupling until we actually have the medusa code included in the build 2062 REAL(wp) :: trc2d_TEST(jpi,jpj) 2063 #endif 2058 2064 !!---------------------------------------------------------------------- 2059 2065 ! … … 2272 2278 !! May add also a coupling MED-UKCA key 2273 2279 2280 ! RSRH set up a test field purely for use during development: 2281 trc2d_TEST(:,:) = 0.0 2282 2274 2283 ! RSRH. We don't want to use magic numbers in the final code (i.e. 98 and 221). 2275 2284 ! These need moving to a parameter statement (as part of MEDUSA code) or specifying in a namelist 2276 2285 ! so the following code MUST NOT be viewed as anything more than temporary. 2277 2286 IF ( ssnd(jps_bio_co2)%laction ) THEN 2278 CALL cpl_prism_snd( jps_bio_co2, isec, trc2d(:,:,98:98), info ) 2287 ! CALL cpl_prism_snd( jps_bio_co2, isec, trc2d(:,:,98:98), info ) 2288 ! RSRH Send our test field in place of the real bio_co2 2289 CALL cpl_prism_snd( jps_bio_co2, isec, trc2d_TEST(:,:), info ) 2279 2290 END IF 2280 2291 … … 2282 2293 ! We need to multiply DMS by a conversion factor to get values in the standard units expected in 2283 2294 ! the coupling space. 2284 ztmp1(:,: ) = trc2d(:,:,221) * dms_unit_conv 2295 ! ztmp1(:,: ) = trc2d(:,:,221) * dms_unit_conv 2296 !RSRH Use our test field in place of the real bio_dms 2297 ztmp1(:,: ) = trc2d_TEST(:,:) * dms_unit_conv 2285 2298 CALL cpl_prism_snd( jps_bio_dms, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 2286 2299 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.