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 5951 for branches/2014/dev_r4650_UKMO14.4_OBS_GENERAL_VINTERP/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_clio.F90 – NEMO

Ignore:
Timestamp:
2015-11-30T12:48:01+01:00 (8 years ago)
Author:
timgraham
Message:

Merged trunk r5936 into branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO14.4_OBS_GENERAL_VINTERP/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_clio.F90

    r5950 r5951  
    243243      !   momentum fluxes  (utau, vtau )   ! 
    244244      !------------------------------------! 
    245 !CDIR COLLAPSE 
    246245      utau(:,:) = sf(jp_utau)%fnow(:,:,1) 
    247 !CDIR COLLAPSE 
    248246      vtau(:,:) = sf(jp_vtau)%fnow(:,:,1) 
    249247 
     
    251249      !   wind stress module (taum )       ! 
    252250      !------------------------------------! 
    253 !CDIR NOVERRCHK 
    254251      DO jj = 2, jpjm1 
    255 !CDIR NOVERRCHK 
    256252         DO ji = fs_2, fs_jpim1   ! vector opt. 
    257253            ztx2 = utau(ji-1,jj  ) + utau(ji,jj) 
     
    268264      !   store the wind speed  (wndm )    ! 
    269265      !------------------------------------! 
    270 !CDIR COLLAPSE 
    271266      wndm(:,:) = sf(jp_wndm)%fnow(:,:,1) 
    272267      wndm(:,:) = wndm(:,:) * tmask(:,:,1) 
     
    281276      !   Other ocean fluxes   ! 
    282277      !------------------------! 
    283 !CDIR NOVERRCHK 
    284 !CDIR COLLAPSE 
    285278      DO jj = 1, jpj 
    286 !CDIR NOVERRCHK 
    287279         DO ji = 1, jpi 
    288280            ! 
     
    375367      zcprec = rcp /  rday     ! convert prec ( mm/day ==> m/s)  ==> W/m2 
    376368 
    377 !CDIR COLLAPSE 
    378369      emp(:,:) = zqla(:,:) / cevap                                        &   ! freshwater flux 
    379370         &     - sf(jp_prec)%fnow(:,:,1) / rday * tmask(:,:,1) 
    380371      ! 
    381 !CDIR COLLAPSE 
    382372      qns(:,:) = zqlw(:,:) - zqsb(:,:) - zqla(:,:)                        &   ! Downward Non Solar flux 
    383373         &     - zqla(:,:)             * pst(:,:) * zcevap                &   ! remove evap.   heat content at SST in Celcius 
     
    415405 
    416406# if defined key_lim2 || defined key_lim3 
     407 
    417408   SUBROUTINE blk_ice_clio_tau 
    418409      !!--------------------------------------------------------------------------- 
     
    429420      ! 
    430421      IF( nn_timing == 1 )  CALL timing_start('blk_ice_clio_tau') 
    431  
     422      ! 
    432423      SELECT CASE( cp_ice_msh ) 
    433  
     424      ! 
    434425      CASE( 'C' )                          ! C-grid ice dynamics 
    435  
     426         ! 
    436427         zcoef  = cai / cao                         ! Change from air-sea stress to air-ice stress 
    437428         utau_ice(:,:) = zcoef * utau(:,:) 
    438429         vtau_ice(:,:) = zcoef * vtau(:,:) 
    439  
     430         ! 
    440431      CASE( 'I' )                          ! I-grid ice dynamics:  I-point (i.e. F-point lower-left corner) 
    441  
     432         ! 
    442433         zcoef  = 0.5_wp * cai / cao                ! Change from air-sea stress to air-ice stress 
    443434         DO jj = 2, jpj         ! stress from ocean U- and V-points to ice U,V point 
     
    447438            END DO 
    448439         END DO 
    449  
     440         ! 
    450441         CALL lbc_lnk( utau_ice(:,:), 'I', -1. )   ;   CALL lbc_lnk( vtau_ice(:,:), 'I', -1. )   ! I-point 
    451  
     442         ! 
    452443      END SELECT 
    453  
     444      ! 
    454445      IF(ln_ctl) THEN 
    455446         CALL prt_ctl(tab2d_1=utau_ice , clinfo1=' blk_ice_clio: utau_ice : ', tab2d_2=vtau_ice , clinfo2=' vtau_ice : ') 
    456447      ENDIF 
    457  
     448      ! 
    458449      IF( nn_timing == 1 )  CALL timing_stop('blk_ice_clio_tau') 
    459  
     450      ! 
    460451   END SUBROUTINE blk_ice_clio_tau 
     452    
    461453#endif 
    462454 
    463455# if defined key_lim2 || defined key_lim3 
     456 
    464457   SUBROUTINE blk_ice_clio_flx(  ptsu , palb_cs, palb_os, palb ) 
    465458      !!--------------------------------------------------------------------------- 
     
    520513      !-------------------------------------------------------------------------------- 
    521514 
    522 !CDIR NOVERRCHK 
    523 !CDIR COLLAPSE 
    524515      DO jj = 1, jpj 
    525 !CDIR NOVERRCHK 
    526516         DO ji = 1, jpi 
    527517            ztatm (ji,jj) = sf(jp_tair)%fnow(ji,jj,1)                ! air temperature in Kelvins  
     
    573563 
    574564      !                                     ! ========================== ! 
    575       DO jl = 1, jpl                       !  Loop over ice categories  ! 
     565      DO jl = 1, jpl                        !  Loop over ice categories  ! 
    576566         !                                  ! ========================== ! 
    577 !CDIR NOVERRCHK 
    578 !CDIR COLLAPSE 
    579567         DO jj = 1 , jpj 
    580 !CDIR NOVERRCHK 
    581568            DO ji = 1, jpi 
    582569               !-------------------------------------------! 
     
    636623      ! ----------------------------------------------------------------------------- ! 
    637624      ! 
    638 !CDIR COLLAPSE 
    639625      qns_ice(:,:,:) = z_qlw (:,:,:) - z_qsb (:,:,:) - qla_ice (:,:,:)      ! Downward Non Solar flux 
    640 !CDIR COLLAPSE 
    641626      tprecip(:,:)   = sf(jp_prec)%fnow(:,:,1) / rday                     ! total precipitation [kg/m2/s] 
    642627      ! 
     
    644629      !    Correct the OCEAN non solar flux with the existence of solid precipitation ! 
    645630      ! ---------------=====--------------------------------------------------------- ! 
    646 !CDIR COLLAPSE 
    647631      qns(:,:) = qns(:,:)                                                           &   ! update the non-solar heat flux with: 
    648632         &     - sprecip(:,:) * lfus                                                  &   ! remove melting solid precip 
     
    782766      ! Saturated water vapour and vapour pressure 
    783767      ! ------------------------------------------ 
    784 !CDIR NOVERRCHK 
    785 !CDIR COLLAPSE 
    786768      DO jj = 1, jpj 
    787 !CDIR NOVERRCHK 
    788769         DO ji = 1, jpi 
    789770            ztamr = sf(jp_tair)%fnow(ji,jj,1) - rtt 
     
    814795      zdaycor  = 1.0 + 0.0013 * SIN( zdist ) + 0.0342 * COS( zdist ) 
    815796 
    816 !CDIR NOVERRCHK 
    817797      DO jj = 1, jpj 
    818 !CDIR NOVERRCHK 
    819798         DO ji = 1, jpi 
    820799            !  product of sine (cosine) of latitude and sine (cosine) of solar declination 
     
    837816 
    838817      ! compute and sum ocean qsr over the daylight (i.e. between sunrise and sunset) 
    839 !CDIR NOVERRCHK    
    840818      DO jt = 1, jp24 
    841819         zcoef = FLOAT( jt ) - 0.5 
    842 !CDIR NOVERRCHK      
    843 !CDIR COLLAPSE 
    844820         DO jj = 1, jpj 
    845 !CDIR NOVERRCHK 
    846821            DO ji = 1, jpi 
    847822               zlha = COS(  zlsrise(ji,jj) - zcoef * zdlha(ji,jj)  )                  ! local hour angle 
     
    862837      ! Taking into account the ellipsity of the earth orbit, the clouds AND masked if sea-ice cover > 0% 
    863838      zcoef1 = srgamma * zdaycor / ( 2. * rpi ) 
    864 !CDIR COLLAPSE 
    865839      DO jj = 1, jpj 
    866840         DO ji = 1, jpi 
     
    920894      ! Saturated water vapour and vapour pressure 
    921895      ! ------------------------------------------ 
    922 !CDIR NOVERRCHK 
    923 !CDIR COLLAPSE 
    924896      DO jj = 1, jpj 
    925 !CDIR NOVERRCHK 
    926897         DO ji = 1, jpi            
    927898            ztamr = sf(jp_tair)%fnow(ji,jj,1) - rtt            
     
    952923      zdaycor  = 1.0 + 0.0013 * SIN( zdist ) + 0.0342 * COS( zdist ) 
    953924 
    954 !CDIR NOVERRCHK 
    955925      DO jj = 1, jpj 
    956 !CDIR NOVERRCHK 
    957926         DO ji = 1, jpi 
    958927            !  product of sine (cosine) of latitude and sine (cosine) of solar declination 
     
    979948      DO jl = 1, ijpl      !  loop over ice categories  ! 
    980949         !                 !----------------------------!  
    981 !CDIR NOVERRCHK    
    982950         DO jt = 1, jp24    
    983951            zcoef = FLOAT( jt ) - 0.5 
    984 !CDIR NOVERRCHK      
    985 !CDIR COLLAPSE 
    986952            DO jj = 1, jpj 
    987 !CDIR NOVERRCHK 
    988953               DO ji = 1, jpi 
    989954                  zlha = COS(  zlsrise(ji,jj) - zcoef * zdlha(ji,jj)  )                  ! local hour angle 
Note: See TracChangeset for help on using the changeset viewer.