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 14054 for NEMO/branches/2020/dev_r13747_ENHANCE-04_dford_OBSOP_BGC/src/SAS – NEMO

Ignore:
Timestamp:
2020-12-03T14:55:50+01:00 (4 years ago)
Author:
ayoung
Message:

Updated to trunk at 14052. No conflicts since last sette test at 14034. Ticket #2567.

Location:
NEMO/branches/2020/dev_r13747_ENHANCE-04_dford_OBSOP_BGC/src/SAS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13747_ENHANCE-04_dford_OBSOP_BGC/src/SAS/nemogcm.F90

    r14049 r14054  
    3434   USE diu_layers     ! diurnal bulk SST and coolskin 
    3535   USE step_diu       ! diurnal bulk SST timestepping (called from here if run offline) 
     36   USE icb_oce        ! icebergs 
    3637   ! 
    3738   USE prtctl         ! Print control 
     
    215216      !!---------------------------------------------------------------------- 
    216217      ! 
    217       IF( lk_oasis ) THEN   ;   cxios_context = 'sas' 
    218       ELSE                  ;   cxios_context = 'nemo' 
     218      IF( lk_oasis ) THEN   ;   cxios_context = 'sas'    ! when coupling SAS to OCE 
     219      ELSE                  ;   cxios_context = 'nemo'   !  
    219220      ENDIF 
    220221      nn_hls = 1 
     222      ! 
     223      l_SAS = .TRUE.   ! used in domain:dom_nam 
    221224      ! 
    222225      !                             !-------------------------------------------------! 
     
    393396      ! ==> 
    394397                           CALL icb_init( rn_Dt, nit000)   ! initialise icebergs instance 
     398 
     399      ! compatibility check 
     400      IF( ln_icebergs .AND. ln_M2016 ) THEN 
     401         IF( lwp ) WRITE(numout,*) '         ==>>>   ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)' 
     402         CALL ctl_stop('ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)') 
     403      END IF 
    395404      ! 
    396405      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
  • NEMO/branches/2020/dev_r13747_ENHANCE-04_dford_OBSOP_BGC/src/SAS/sbcssm.F90

    r13286 r14054  
    2121   USE zpshde         ! z-coord. with partial steps: horizontal derivatives 
    2222   USE closea         ! for ln_closea 
     23   USE icb_oce        ! for icebergs 
    2324   ! 
    2425   USE in_out_manager ! I/O manager 
     
    226227         ln_closea = .false. 
    227228      ENDIF 
    228  
     229      IF( ln_icebergs .AND. ln_M2016 ) THEN 
     230         IF( lwp ) WRITE(numout,*) '         ==>>>   ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)' 
     231         CALL ctl_stop('ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)') 
     232      END IF 
    229233      ! 
    230234      IF( l_sasread ) THEN                       ! store namelist information in an array 
Note: See TracChangeset for help on using the changeset viewer.