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 9284 for branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90 – NEMO

Ignore:
Timestamp:
2018-01-25T16:27:28+01:00 (6 years ago)
Author:
anaguiar
Message:

Moving default value of rn_sfac to the if statement where reading namsbc_core - or else parameter is wrongly reset each time-step

File:
1 edited

Legend:

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

    r9281 r9284  
    473473! Snowfall 
    474474! Ensure fsnow is positive (as in CICE routine prepare_forcing) 
     475      IF( iom_use('snowpre') )   CALL iom_put('snowpre',MAX( (1.0-fr_i(:,:))*sprecip(:,:) ,0.0)) !!Joakim edit   
    475476      IF( kt == nit000 .AND. lwp )  THEN 
    476477         WRITE(numout,*) 'sprecip weight, rn_sfac=', rn_sfac 
    477478      ENDIF 
    478  
    479       IF( iom_use('snowpre') )   CALL iom_put('snowpre',MAX( (1.0-fr_i(:,:))*sprecip(:,:) ,0.0)) !!Joakim edit   
    480479      ztmp(:,:)=MAX(fr_i(:,:)*rn_sfac*sprecip(:,:),0.0)   
    481480      CALL nemo2cice(ztmp,fsnow,'T', 1. )  
Note: See TracChangeset for help on using the changeset viewer.