Changeset 8046
- Timestamp:
- 2017-05-19T12:07:10+02:00 (8 years ago)
- Location:
- branches/UKMO/dev_r5518_GO6_package/NEMOGCM
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/CONFIG/SHARED/namelist_ref
r7962 r8046 378 378 ln_usecplmask = .false. ! use a coupling mask file to merge data received from several models 379 379 ! -> file cplmask.nc with the float variable called cplmask (jpi,jpj,nn_cplmodel) 380 ln_coupled_iceshelf_fluxes = .false. ! If true use rate of change of mass of Greenland and Antarctic icesheets to set the 381 ! combined magnitude of the iceberg calving and iceshelf melting freshwater fluxes. 380 nn_coupled_iceshelf_fluxes = 0 ! =0 : total freshwater input from iceberg calving and ice shelf basal melting 381 ! taken from climatologies used (no action in coupling routines). 382 ! =1 : use rate of change of mass of Greenland and Antarctic icesheets to set the 383 ! combined magnitude of the iceberg calving and iceshelf melting freshwater fluxes. 384 ! =2 : specify constant freshwater inputs in this namelist to set the combined 385 ! magnitude of iceberg calving and iceshelf melting freshwater fluxes. 382 386 ln_iceshelf_init_atmos = .true. ! If true force ocean to initialise icesheet masses from atmospheric values rather than 383 387 ! from values in ocean restart file. 388 rn_greenland_total_fw_flux = 0.0 ! Constant total rate of freshwater input (kg/s) for Greenland (if nn_coupled_iceshelf_fluxes=2) 384 389 rn_greenland_calving_fraction = 0.5 ! Set fraction of total freshwater flux for iceberg calving - remainder goes to iceshelf melting. 390 rn_antarctica_total_fw_flux = 0.0 ! Constant total rate of freshwater input (kg/s) for Antarctica (if nn_coupled_iceshelf_fluxes=2) 385 391 rn_antarctica_calving_fraction = 0.5 ! Set fraction of total freshwater flux for iceberg calving - remainder goes to iceshelf melting. 386 392 rn_iceshelf_fluxes_tolerance = 1e-6 ! Fractional threshold for detecting differences in icesheet masses (must be positive definite). -
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/ICB/icbclv.F90
r6488 r8046 66 66 67 67 IF( lk_oasis) THEN 68 ! ln_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true69 IF( ln_coupled_iceshelf_fluxes) THEN68 ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 69 IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 70 70 71 71 ! Adjust total calving rates so that sum of iceberg calving and iceshelf melting in the northern -
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
r6755 r8046 158 158 #endif 159 159 IF( lk_oasis) THEN 160 ! ln_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true161 IF( ln_coupled_iceshelf_fluxes) THEN160 ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 161 IF( nn_coupled_iceshelf_fluxes .eq. 1 ) THEN 162 162 CALL iom_rstput( kt, nitrst, numrow, 'greenland_icesheet_mass', greenland_icesheet_mass ) 163 163 CALL iom_rstput( kt, nitrst, numrow, 'greenland_icesheet_timelapsed', greenland_icesheet_timelapsed ) -
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_oce.F90
r7540 r8046 153 153 ! sbccpl namelist parameters associated with icesheet freshwater input code. Included here rather than in sbccpl.F90 to 154 154 ! avoid circular dependencies. 155 LOGICAL, PUBLIC :: ln_coupled_iceshelf_fluxes ! If true use rate of change of mass of Greenland and Antarctic icesheets to set the 155 INTEGER, PUBLIC :: nn_coupled_iceshelf_fluxes ! =0 : total freshwater input from iceberg calving and ice shelf basal melting 156 ! taken from climatologies used (no action in coupling routines). 157 ! =1 : use rate of change of mass of Greenland and Antarctic icesheets to set the 156 158 ! combined magnitude of the iceberg calving and iceshelf melting freshwater fluxes. 159 ! =2 : specify constant freshwater inputs in this namelist to set the combined 160 ! magnitude of iceberg calving and iceshelf melting freshwater fluxes. 157 161 LOGICAL, PUBLIC :: ln_iceshelf_init_atmos ! If true force ocean to initialise iceshelf masses from atmospheric values rather 158 ! than values in ocean restart. 162 ! than values in ocean restart (applicable if nn_coupled_iceshelf_fluxes=1). 163 REAL(wp), PUBLIC :: rn_greenland_total_fw_flux ! Constant total rate of freshwater input (kg/s) for Greenland (if nn_coupled_iceshelf_fluxes=2) 159 164 REAL(wp), PUBLIC :: rn_greenland_calving_fraction ! Set fraction of total freshwater flux for iceberg calving - remainder goes to iceshelf melting. 165 REAL(wp), PUBLIC :: rn_antarctica_total_fw_flux ! Constant total rate of freshwater input (kg/s) for Antarctica (if nn_coupled_iceshelf_fluxes=2) 160 166 REAL(wp), PUBLIC :: rn_antarctica_calving_fraction ! Set fraction of total freshwater flux for iceberg calving - remainder goes to iceshelf melting. 161 167 REAL(wp), PUBLIC :: rn_iceshelf_fluxes_tolerance ! Absolute tolerance for detecting differences in icesheet masses. -
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r7540 r8046 240 240 & sn_rcv_qns , sn_rcv_emp , sn_rcv_rnf , sn_rcv_cal , sn_rcv_iceflx, & 241 241 & sn_rcv_co2 , sn_rcv_grnm , sn_rcv_antm , sn_rcv_ts_ice, nn_cplmodel , & 242 & ln_usecplmask, ln_coupled_iceshelf_fluxes, ln_iceshelf_init_atmos, &243 & rn_greenland_ calving_fraction, &244 & rn_antarctica_ calving_fraction, rn_iceshelf_fluxes_tolerance242 & ln_usecplmask, nn_coupled_iceshelf_fluxes, ln_iceshelf_init_atmos, & 243 & rn_greenland_total_fw_flux, rn_greenland_calving_fraction, & 244 & rn_antarctica_total_fw_flux, rn_antarctica_calving_fraction, rn_iceshelf_fluxes_tolerance 245 245 !!--------------------------------------------------------------------- 246 246 … … 311 311 WRITE(numout,*)' nn_cplmodel = ', nn_cplmodel 312 312 WRITE(numout,*)' ln_usecplmask = ', ln_usecplmask 313 WRITE(numout,*)' ln_coupled_iceshelf_fluxes = ', ln_coupled_iceshelf_fluxes313 WRITE(numout,*)' nn_coupled_iceshelf_fluxes = ', nn_coupled_iceshelf_fluxes 314 314 WRITE(numout,*)' ln_iceshelf_init_atmos = ', ln_iceshelf_init_atmos 315 WRITE(numout,*)' rn_greenland_total_fw_flux = ', rn_greenland_total_fw_flux 316 WRITE(numout,*)' rn_antarctica_total_fw_flux = ', rn_antarctica_total_fw_flux 315 317 WRITE(numout,*)' rn_greenland_calving_fraction = ', rn_greenland_calving_fraction 316 318 WRITE(numout,*)' rn_antarctica_calving_fraction = ', rn_antarctica_calving_fraction … … 950 952 ncpl_qsr_freq = 86400 / ncpl_qsr_freq 951 953 952 IF( ln_coupled_iceshelf_fluxes) THEN954 IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 953 955 ! Crude masks to separate the Antarctic and Greenland icesheets. Obviously something 954 956 ! more complicated could be done if required. … … 1343 1345 ENDIF 1344 1346 1345 IF( srcv(jpr_grnm)%laction ) THEN1347 IF( srcv(jpr_grnm)%laction .AND. nn_coupled_iceshelf_fluxes == 1 ) THEN 1346 1348 greenland_icesheet_mass_array(:,:) = frcv(jpr_grnm)%z3(:,:,1) 1347 1349 ! take average over ocean points of input array to avoid cumulative error over time … … 1375 1377 IF(lwp) WRITE(numout,*) 'Greenland icesheet mass rate of change (kg/s) is ', greenland_icesheet_mass_rate_of_change 1376 1378 IF(lwp) WRITE(numout,*) 'Greenland icesheet seconds lapsed since last change is ', greenland_icesheet_timelapsed 1379 ELSE IF ( nn_coupled_iceshelf_fluxes == 2 ) THEN 1380 greenland_icesheet_mass_rate_of_change = rn_greenland_total_fw_flux 1377 1381 ENDIF 1378 1382 1379 1383 ! ! land ice masses : Antarctica 1380 IF( srcv(jpr_antm)%laction ) THEN1384 IF( srcv(jpr_antm)%laction .AND. nn_coupled_iceshelf_fluxes == 1 ) THEN 1381 1385 antarctica_icesheet_mass_array(:,:) = frcv(jpr_antm)%z3(:,:,1) 1382 1386 ! take average over ocean points of input array to avoid cumulative error from rounding errors over time … … 1410 1414 IF(lwp) WRITE(numout,*) 'Antarctica icesheet mass rate of change (kg/s) is ', antarctica_icesheet_mass_rate_of_change 1411 1415 IF(lwp) WRITE(numout,*) 'Antarctica icesheet seconds lapsed since last change is ', antarctica_icesheet_timelapsed 1416 ELSE IF ( nn_coupled_iceshelf_fluxes == 2 ) THEN 1417 antarctica_icesheet_mass_rate_of_change = rn_antarctica_total_fw_flux 1412 1418 ENDIF 1413 1419 -
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90
r7179 r8046 255 255 256 256 IF( lk_oasis) THEN 257 ! ln_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true258 IF( ln_coupled_iceshelf_fluxes) THEN257 ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 258 IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 259 259 260 260 ! Adjust total iceshelf melt rates so that sum of iceberg calving and iceshelf melting in the northern … … 304 304 305 305 IF( lk_oasis) THEN 306 ! ln_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true307 IF( ln_coupled_iceshelf_fluxes) THEN306 ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 307 IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 308 308 309 309 ! Adjust total iceshelf melt rates so that sum of iceberg calving and iceshelf melting in the northern
Note: See TracChangeset
for help on using the changeset viewer.