Changeset 7089
- Timestamp:
- 2016-10-25T16:39:26+02:00 (8 years ago)
- Location:
- branches/UKMO/dev_r5518_pcbias_ipc/NEMOGCM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_pcbias_ipc/NEMOGCM/CONFIG/SHARED/namelist_ref
r6328 r7089 1331 1331 nn_bias_itwrt = 15 1332 1332 ln_itdecay = .FALSE. 1333 / 1333 ln_incpc = .FALSE. 1334 / -
branches/UKMO/dev_r5518_pcbias_ipc/NEMOGCM/NEMO/OPA_SRC/ASM/bias.F90
r7082 r7089 147 147 & sbias_rlx_out, & !: Output salinity bias field 148 148 & tbias_p_out, & !: Output temperature bias field for P correction 149 & sbias_p_out 149 & sbias_p_out, & !: Output salinity bias field for P correction 150 150 151 151 INTEGER, PRIVATE :: nn_lat_ramp ! choice of latitude dependent ramp … … 155 155 LOGICAL, PRIVATE :: ln_itdecay ! evolve bias correction at every time step. 156 156 LOGICAL, PRIVATE :: ln_incpc ! incremental pressure correction 157 LOGICAL, PRIVATE :: lat_ramp_incpc ! ramp for incremental pressure correction158 157 159 158 REAL(wp), PRIVATE, DIMENSION(:,:), ALLOCATABLE :: fbcoef … … 217 216 & cn_bias_tot, cn_bias_asm, cn_dir, sn_tbias_ofl, sn_sbias_ofl, & 218 217 & ln_bsyncro, fctamp, rn_maxlat_bias, rn_minlat_bias, & 219 & nn_bias_itwrt, ln_itdecay, ln_incpc , lat_ramp_incpc218 & nn_bias_itwrt, ln_itdecay, ln_incpc 220 219 221 220 … … 277 276 WRITE(numout,*) ' evolve pcbias at each timestep ln_itdecay = ',ln_itdecay 278 277 WRITE(numout,*) ' incremental press. correction ln_incpc = ',ln_incpc 279 WRITE(numout,*) ' lat ramp for inc.press.corr lat_ramp_incpc = ',lat_ramp_incpc280 278 WRITE(numout,*) ' Parameters for parition of bias term ' 281 279 WRITE(numout,*) ' fb_t_rlx = ',fb_t_rlx … … 309 307 & tbias_p(jpi,jpj,jpk), & 310 308 & sbias_p(jpi,jpj,jpk), & 311 & tbias_i(jpi,jpj,jpk), &312 & sbias_i(jpi,jpj,jpk), &313 309 & rhd_pc(jpi,jpj,jpk) , & 314 310 & gru_pc(jpi,jpj) , & … … 520 516 521 517 522 IF ( l at_ramp_incpc) THEN518 IF ( ln_incpc) THEN 523 519 ! not sure if this should be a special case of nn_lat_ramp == 2 524 520 minlat_bias = 3.0_wp … … 582 578 ztscale = 0.1_wp 583 579 zwgt = 1.0_wp 584 tbias_i(:,:,:) = 0.0_wp585 sbias_i(:,:,:) = 0.0_wp586 580 587 581 IF ( ln_bias_asm ) THEN … … 635 629 636 630 DO jk = 1, jpkm1 637 638 tbias_i(:,:,jk) = ( t_bkginc(:,:,jk) * zwgt * ztfrac * (1.0 - fbcoef_stscale(:,:)) ) & 631 tbias_p(:,:,jk) = tbias_p(:,:,jk) + ( t_bkginc(:,:,jk) * zwgt * ztfrac * (1.0 - fbcoef_stscale(:,:)) ) & 639 632 & - ( tbias_asm_stscale(:,:,jk) * zfrac1 * (1.0 - fbcoef_stscale(:,:)) ) 640 sbias_ i(:,:,jk) =( s_bkginc(:,:,jk) * zwgt * ztfrac * (1.0 - fbcoef_stscale(:,:)) ) &633 sbias_p(:,:,jk) = sbias_p(:,:,jk) + ( s_bkginc(:,:,jk) * zwgt * ztfrac * (1.0 - fbcoef_stscale(:,:)) ) & 641 634 & - ( sbias_asm_stscale(:,:,jk) * zfrac1 * (1.0 - fbcoef_stscale(:,:)) ) 642 643 635 ENDDO 644 636 … … 688 680 689 681 DO jk = 1, jpkm1 690 tbias_ i(:,:,jk) =( t_bkginc(:,:,jk) * zwgt * zfrac * (1.0 - fbcoef_stscale(:,:)) ) &682 tbias_p(:,:,jk) = tbias_p(:,:,jk) + ( t_bkginc(:,:,jk) * zwgt * zfrac * (1.0 - fbcoef_stscale(:,:)) ) & 691 683 & - ( tbias_asm_stscale(:,:,jk) * zfrac1 * (1.0 - fbcoef_stscale(:,:)) ) 692 sbias_ i(:,:,jk) =( s_bkginc(:,:,jk) * zwgt * zfrac * (1.0 - fbcoef_stscale(:,:)) ) &684 sbias_p(:,:,jk) = sbias_p(:,:,jk) + ( s_bkginc(:,:,jk) * zwgt * zfrac * (1.0 - fbcoef_stscale(:,:)) ) & 693 685 & - ( sbias_asm_stscale(:,:,jk) * zfrac1 * (1.0 - fbcoef_stscale(:,:)) ) 694 686 ENDDO 695 687 696 688 ENDIF … … 864 856 tsw(:,:,:,jp_tem) = tsa(:,:,:,jp_tem) - tbias_p(:,:,:) 865 857 tsw(:,:,:,jp_sal) = tsa(:,:,:,jp_sal) - sbias_p(:,:,:) 866 867 IF (ln_incpc) THEN868 tsw(:,:,:,jp_tem) = tsa(:,:,:,jp_tem) -tbias_i(:,:,:) - tbias_p(:,:,:)869 tsw(:,:,:,jp_sal) = tsa(:,:,:,jp_sal) -sbias_i(:,:,:) - sbias_p(:,:,:)870 ENDIF871 872 858 ELSE 873 859 tsw(:,:,:,jp_tem) = tsb(:,:,:,jp_tem) - tbias_p(:,:,:) 874 860 tsw(:,:,:,jp_sal) = tsb(:,:,:,jp_sal) - sbias_p(:,:,:) 875 876 IF (ln_incpc) THEN877 tsw(:,:,:,jp_tem) = tsb(:,:,:,jp_tem) - tbias_i(:,:,:) - tbias_p(:,:,:)878 tsw(:,:,:,jp_sal) = tsb(:,:,:,jp_sal) - sbias_i(:,:,:) - sbias_p(:,:,:)879 ENDIF880 881 861 ENDIF 882 862 -
branches/UKMO/dev_r5518_pcbias_ipc/NEMOGCM/NEMO/OPA_SRC/ASM/biaspar.F90
r6328 r7089 23 23 LOGICAL, PUBLIC :: ln_bias_pc_app = .FALSE. !: estimate bias from assim incr 24 24 LOGICAL, PUBLIC :: lrst_bias = .FALSE. !: estimate bias from assim incr 25 LOGICAL, PUBLIC :: ln_incpc = .FALSE. !: incr pressure correction 25 26 26 27 REAL(wp), PUBLIC, DIMENSION(:,:,:), ALLOCATABLE :: &
Note: See TracChangeset
for help on using the changeset viewer.