Changeset 9275


Ignore:
Timestamp:
2018-01-22T17:37:59+01:00 (3 years ago)
Author:
anaguiar
Message:

Replacing factor by new variable read in/added as a namelist logical in namsbc_core

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

    r6823 r9275  
    8787   LOGICAL  ::   ln_taudif   ! logical flag to use the "mean of stress module - module of mean stress" data 
    8888   REAL(wp) ::   rn_pfac     ! multiplication factor for precipitation 
     89   REAL(wp) ::   rn_sfac     ! multiplication factor for snow precipitation over sea-ice 
    8990   REAL(wp) ::   rn_efac     ! multiplication factor for evaporation (clem) 
    9091   REAL(wp) ::   rn_vfac     ! multiplication factor for ice/ocean velocity in the calculation of wind stress (clem) 
     
    151152         &                  sn_wndi, sn_wndj, sn_humi  , sn_qsr ,           & 
    152153         &                  sn_qlw , sn_tair, sn_prec  , sn_snow,           & 
    153          &                  sn_tdif, rn_zqt,  rn_zu 
    154       !!--------------------------------------------------------------------- 
    155       ! 
     154         &                  sn_tdif, rn_zqt,  rn_zu, rn_sfac 
     155      !!--------------------------------------------------------------------- 
     156      ! 
     157      rn_sfac = 0._wp       ! Default to zero if missing from namelist  
    156158      !                                         ! ====================== ! 
    157159      IF( kt == nit000 ) THEN                   !  First call kt=nit000  ! 
  • branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90

    r9236 r9275  
    474474! Ensure fsnow is positive (as in CICE routine prepare_forcing) 
    475475      IF( iom_use('snowpre') )   CALL iom_put('snowpre',MAX( (1.0-fr_i(:,:))*sprecip(:,:) ,0.0)) !!Joakim edit   
    476       ztmp(:,:)=MAX(fr_i(:,:)*0.5*sprecip(:,:),0.0)   
     476      ztmp(:,:)=MAX(fr_i(:,:)*rn_sfac*sprecip(:,:),0.0)   
    477477      CALL nemo2cice(ztmp,fsnow,'T', 1. )  
    478478 
Note: See TracChangeset for help on using the changeset viewer.