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 6256 – NEMO

Changeset 6256


Ignore:
Timestamp:
2016-01-15T10:59:16+01:00 (8 years ago)
Author:
frrh
Message:

Add some TEMPORARY code to facilitate testing MEDUSA coupling
interface fields with UM atmosphere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/nemo_v3_6_STABLE_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r6255 r6256  
    5353#endif 
    5454#if defined key_medusa 
    55    USE trc 
     55! RSRH: Temporarily commented out until we get MEDUSA code included 
     56!   USE trc 
    5657#endif 
    5758 
     
    20562057      REAL(wp), POINTER, DIMENSION(:,:)   ::   zfr_l, ztmp1, ztmp2, zotx1, zoty1, zotz1, zitx1, zity1, zitz1 
    20572058      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  
    20582064      !!---------------------------------------------------------------------- 
    20592065      ! 
     
    22722278!! May add also a coupling MED-UKCA key 
    22732279 
     2280! RSRH set up a test field purely for use during development: 
     2281      trc2d_TEST(:,:) = 0.0  
     2282 
    22742283      ! RSRH. We don't want to use magic numbers in the final code (i.e. 98 and 221). 
    22752284      ! These need moving to a parameter statement (as part of MEDUSA code) or specifying in a namelist 
    22762285      ! so the following code MUST NOT be viewed as anything more than temporary. 
    22772286      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 ) 
    22792290      END IF 
    22802291 
     
    22822293          ! We need to multiply DMS by a conversion factor to get values in the standard units expected in 
    22832294          ! 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 
    22852298         CALL cpl_prism_snd( jps_bio_dms, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 
    22862299      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.