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 4616 for branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_clio.F90 – NEMO

Ignore:
Timestamp:
2014-04-06T17:28:25+02:00 (10 years ago)
Author:
gm
Message:

#1260 : see the associated wiki page for explanation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_clio.F90

    r4147 r4616  
    240240      !   momentum fluxes  (utau, vtau )   ! 
    241241      !------------------------------------! 
    242 !CDIR COLLAPSE 
    243242      utau(:,:) = sf(jp_utau)%fnow(:,:,1) 
    244 !CDIR COLLAPSE 
    245243      vtau(:,:) = sf(jp_vtau)%fnow(:,:,1) 
    246244 
     
    248246      !   wind stress module (taum )       ! 
    249247      !------------------------------------! 
    250 !CDIR NOVERRCHK 
    251248      DO jj = 2, jpjm1 
    252 !CDIR NOVERRCHK 
    253249         DO ji = fs_2, fs_jpim1   ! vector opt. 
    254250            ztx2 = utau(ji-1,jj  ) + utau(ji,jj) 
     
    262258      !   store the wind speed  (wndm )    ! 
    263259      !------------------------------------! 
    264 !CDIR COLLAPSE 
    265260      wndm(:,:) = sf(jp_wndm)%fnow(:,:,1) 
    266261 
     
    274269      !   Other ocean fluxes   ! 
    275270      !------------------------! 
    276 !CDIR NOVERRCHK 
    277 !CDIR COLLAPSE 
    278271      DO jj = 1, jpj 
    279 !CDIR NOVERRCHK 
    280272         DO ji = 1, jpi 
    281273            ! 
     
    368360      zcprec = rcp /  rday     ! convert prec ( mm/day ==> m/s)  ==> W/m2 
    369361 
    370 !CDIR COLLAPSE 
    371362      emp(:,:) = zqla(:,:) / cevap                                        &   ! freshwater flux 
    372363         &     - sf(jp_prec)%fnow(:,:,1) / rday * tmask(:,:,1) 
    373364      ! 
    374 !CDIR COLLAPSE 
    375365      qns(:,:) = zqlw(:,:) - zqsb(:,:) - zqla(:,:)                        &   ! Downward Non Solar flux 
    376366         &     - zqla(:,:)             * pst(:,:) * zcevap                &   ! remove evap.   heat content at SST in Celcius 
     
    496486      !  and the correction factor for taking into account  the effect of clouds  
    497487      !------------------------------------------------------ 
    498 !CDIR NOVERRCHK 
    499 !CDIR COLLAPSE 
    500488      DO jj = 1, jpj 
    501 !CDIR NOVERRCHK 
    502489         DO ji = 1, jpi 
    503490            ztatm (ji,jj) = sf(jp_tair)%fnow(ji,jj,1)                ! air temperature in Kelvins  
     
    546533      DO jl = 1, ijpl                       !  Loop over ice categories  ! 
    547534         !                                  ! ========================== ! 
    548 !CDIR NOVERRCHK 
    549 !CDIR COLLAPSE 
    550535         DO jj = 1 , jpj 
    551 !CDIR NOVERRCHK 
    552536            DO ji = 1, jpi 
    553537               !-------------------------------------------! 
     
    607591      ! ----------------------------------------------------------------------------- ! 
    608592      ! 
    609 !CDIR COLLAPSE 
    610593      p_qns(:,:,:) = z_qlw (:,:,:) - z_qsb (:,:,:) - p_qla (:,:,:)      ! Downward Non Solar flux 
    611 !CDIR COLLAPSE 
    612594      p_tpr(:,:)   = sf(jp_prec)%fnow(:,:,1) / rday                     ! total precipitation [kg/m2/s] 
    613595      ! 
     
    615597      !    Correct the OCEAN non solar flux with the existence of solid precipitation ! 
    616598      ! ---------------=====--------------------------------------------------------- ! 
    617 !CDIR COLLAPSE 
    618599      qns(:,:) = qns(:,:)                                                           &   ! update the non-solar heat flux with: 
    619600         &     - p_spr(:,:) * lfus                                                  &   ! remove melting solid precip 
     
    716697      ! Saturated water vapour and vapour pressure 
    717698      ! ------------------------------------------ 
    718 !CDIR NOVERRCHK 
    719 !CDIR COLLAPSE 
    720699      DO jj = 1, jpj 
    721 !CDIR NOVERRCHK 
    722700         DO ji = 1, jpi 
    723701            ztamr = sf(jp_tair)%fnow(ji,jj,1) - rtt 
     
    748726      zdaycor  = 1.0 + 0.0013 * SIN( zdist ) + 0.0342 * COS( zdist ) 
    749727 
    750 !CDIR NOVERRCHK 
    751728      DO jj = 1, jpj 
    752 !CDIR NOVERRCHK 
    753729         DO ji = 1, jpi 
    754730            !  product of sine (cosine) of latitude and sine (cosine) of solar declination 
     
    771747 
    772748      ! compute and sum ocean qsr over the daylight (i.e. between sunrise and sunset) 
    773 !CDIR NOVERRCHK    
    774749      DO jt = 1, jp24 
    775750         zcoef = FLOAT( jt ) - 0.5 
    776 !CDIR NOVERRCHK      
    777 !CDIR COLLAPSE 
    778751         DO jj = 1, jpj 
    779 !CDIR NOVERRCHK 
    780752            DO ji = 1, jpi 
    781753               zlha = COS(  zlsrise(ji,jj) - zcoef * zdlha(ji,jj)  )                  ! local hour angle 
     
    796768      ! Taking into account the ellipsity of the earth orbit, the clouds AND masked if sea-ice cover > 0% 
    797769      zcoef1 = srgamma * zdaycor / ( 2. * rpi ) 
    798 !CDIR COLLAPSE 
    799770      DO jj = 1, jpj 
    800771         DO ji = 1, jpi 
     
    854825      ! Saturated water vapour and vapour pressure 
    855826      ! ------------------------------------------ 
    856 !CDIR NOVERRCHK 
    857 !CDIR COLLAPSE 
    858827      DO jj = 1, jpj 
    859 !CDIR NOVERRCHK 
    860828         DO ji = 1, jpi            
    861829            ztamr = sf(jp_tair)%fnow(ji,jj,1) - rtt            
     
    886854      zdaycor  = 1.0 + 0.0013 * SIN( zdist ) + 0.0342 * COS( zdist ) 
    887855 
    888 !CDIR NOVERRCHK 
    889856      DO jj = 1, jpj 
    890 !CDIR NOVERRCHK 
    891857         DO ji = 1, jpi 
    892858            !  product of sine (cosine) of latitude and sine (cosine) of solar declination 
     
    913879      DO jl = 1, ijpl      !  loop over ice categories  ! 
    914880         !                 !----------------------------!  
    915 !CDIR NOVERRCHK    
    916881         DO jt = 1, jp24    
    917882            zcoef = FLOAT( jt ) - 0.5 
    918 !CDIR NOVERRCHK      
    919 !CDIR COLLAPSE 
    920883            DO jj = 1, jpj 
    921 !CDIR NOVERRCHK 
    922884               DO ji = 1, jpi 
    923885                  zlha = COS(  zlsrise(ji,jj) - zcoef * zdlha(ji,jj)  )                  ! local hour angle 
Note: See TracChangeset for help on using the changeset viewer.