Changeset 6166 for branches/UKMO
- Timestamp:
- 2015-12-24T16:20:28+01:00 (9 years ago)
- Location:
- branches/UKMO/dev_r5518_CICE_with_key_asminc/NEMOGCM/NEMO/OPA_SRC/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_CICE_with_key_asminc/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_ice.F90
r6163 r6166 105 105 INTEGER , PUBLIC, PARAMETER :: jpl = ncat 106 106 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: u_ice, v_ice ! jpi, jpj 107 108 ! 109 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ndaice_da !: NEMO fresh water flux to ocean due to data assim 110 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: nfresh_da !: NEMO salt flux to ocean due to data assim 111 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: nfsalt_da !: NEMO ice concentration change/second from data assim 112 107 113 #endif 108 114 … … 157 163 ss_iov(jpi,jpj) , fr_iu(jpi,jpj) , fr_iv(jpi,jpj) , & 158 164 a_i(jpi,jpj,ncat) , topmelt(jpi,jpj,ncat) , botmelt(jpi,jpj,ncat) , & 165 ndaice_da(jpi,jpj) , nfresh_da(jpi,jpj) , nfsalt_da(jpi,jpj) , & 159 166 STAT= ierr(1) ) 160 167 IF( ln_cpl ) ALLOCATE( u_ice(jpi,jpj) , fr1_i0(jpi,jpj) , tn_ice (jpi,jpj,1) , & -
branches/UKMO/dev_r5518_CICE_with_key_asminc/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r6163 r6166 53 53 fresh_ai,fhocn_ai,fswthru_ai,frzmlt, & 54 54 flatn_f,fsurfn_f,fcondtopn_f, & 55 daice_da,fresh_da,fsalt_da, & 55 56 uatm,vatm,wind,fsw,flw,Tair,potT,Qa,rhoa,zlvl, & 56 57 swvdr,swvdf,swidr,swidf … … 283 284 284 285 CALL wrk_dealloc( jpi,jpj, ztmp1, ztmp2 ) 286 287 ! Initialize fresh water and salt fluxes from data assim 288 ! and data assimilation index to cice 289 nfresh_da(:,:) = 0.0 290 nfsalt_da(:,:) = 0.0 291 ndaice_da(:,:) = 0.0 285 292 ! 286 293 IF( nn_timing == 1 ) CALL timing_stop('cice_sbc_init') … … 431 438 ENDIF 432 439 440 #if defined key_asminc 441 !Ice concentration change (from assimilation) 442 ztmp(:,:)=ndaice_da(:,:)*tmask(:,:,1) 443 Call nemo2cice(ztmp,daice_da,'T', 1. ) 444 #endif 445 433 446 ! Snowfall 434 447 ! Ensure fsnow is positive (as in CICE routine prepare_forcing) … … 684 697 snwice_fmass (:,:) = ( snwice_mass(:,:) - snwice_mass_b(:,:) ) / dt 685 698 ENDIF 699 700 #if defined key_asminc 701 ! Import fresh water and salt flux due to seaice da 702 CALL cice2nemo(fresh_da, nfresh_da,'T',1.0) 703 CALL cice2nemo(fsalt_da, nfsalt_da,'T',1.0) 704 #endif 686 705 687 706 ! Release work space
Note: See TracChangeset
for help on using the changeset viewer.