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 9281 for branches/UKMO – NEMO

Changeset 9281 for branches/UKMO


Ignore:
Timestamp:
2018-01-24T14:57:24+01:00 (6 years ago)
Author:
anaguiar
Message:

Correct default value and add print out the value of snow precip

Location:
branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r9278 r9281  
    155155      !!--------------------------------------------------------------------- 
    156156      ! 
    157       rn_sfac = 0._wp       ! Default to zero if missing from namelist  
     157      rn_sfac = 1._wp       ! Default to one if missing from namelist  
    158158      !                                         ! ====================== ! 
    159159      IF( kt == nit000 ) THEN                   !  First call kt=nit000  ! 
  • branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90

    r9275 r9281  
    473473! Snowfall 
    474474! Ensure fsnow is positive (as in CICE routine prepare_forcing) 
     475      IF( kt == nit000 .AND. lwp )  THEN 
     476         WRITE(numout,*) 'sprecip weight, rn_sfac=', rn_sfac 
     477      ENDIF 
     478 
    475479      IF( iom_use('snowpre') )   CALL iom_put('snowpre',MAX( (1.0-fr_i(:,:))*sprecip(:,:) ,0.0)) !!Joakim edit   
    476480      ztmp(:,:)=MAX(fr_i(:,:)*rn_sfac*sprecip(:,:),0.0)   
Note: See TracChangeset for help on using the changeset viewer.