calibration_data_module Module


Used by

  • module~~calibration_data_module~~UsedByGraph module~calibration_data_module calibration_data_module proc~actions actions proc~actions->module~calibration_data_module proc~aqu_read_elements aqu_read_elements proc~aqu_read_elements->module~calibration_data_module proc~basin_aquifer_output basin_aquifer_output proc~basin_aquifer_output->module~calibration_data_module proc~basin_ls_pest_output basin_ls_pest_output proc~basin_ls_pest_output->module~calibration_data_module proc~basin_output basin_output proc~basin_output->module~calibration_data_module proc~basin_sw_init basin_sw_init proc~basin_sw_init->module~calibration_data_module proc~cal_allo_init cal_allo_init proc~cal_allo_init->module~calibration_data_module proc~cal_cond_read cal_cond_read proc~cal_cond_read->module~calibration_data_module proc~cal_conditions cal_conditions proc~cal_conditions->module~calibration_data_module proc~cal_parm_read cal_parm_read proc~cal_parm_read->module~calibration_data_module proc~cal_parmchg_read cal_parmchg_read proc~cal_parmchg_read->module~calibration_data_module proc~calsoft_ave_output calsoft_ave_output proc~calsoft_ave_output->module~calibration_data_module proc~calsoft_chsed calsoft_chsed proc~calsoft_chsed->module~calibration_data_module proc~calsoft_control calsoft_control proc~calsoft_control->module~calibration_data_module proc~calsoft_hyd calsoft_hyd proc~calsoft_hyd->module~calibration_data_module proc~calsoft_hyd_bfr calsoft_hyd_bfr proc~calsoft_hyd_bfr->module~calibration_data_module proc~calsoft_hyd_bfr_et calsoft_hyd_bfr_et proc~calsoft_hyd_bfr_et->module~calibration_data_module proc~calsoft_hyd_bfr_latq calsoft_hyd_bfr_latq proc~calsoft_hyd_bfr_latq->module~calibration_data_module proc~calsoft_hyd_bfr_perc calsoft_hyd_bfr_perc proc~calsoft_hyd_bfr_perc->module~calibration_data_module proc~calsoft_hyd_bfr_surq calsoft_hyd_bfr_surq proc~calsoft_hyd_bfr_surq->module~calibration_data_module proc~calsoft_plant calsoft_plant proc~calsoft_plant->module~calibration_data_module proc~calsoft_plant_zero calsoft_plant_zero proc~calsoft_plant_zero->module~calibration_data_module proc~calsoft_read_codes calsoft_read_codes proc~calsoft_read_codes->module~calibration_data_module proc~calsoft_sed calsoft_sed proc~calsoft_sed->module~calibration_data_module proc~calsoft_sum_output calsoft_sum_output proc~calsoft_sum_output->module~calibration_data_module proc~caltsoft_hyd caltsoft_hyd proc~caltsoft_hyd->module~calibration_data_module proc~ch_read_elements ch_read_elements proc~ch_read_elements->module~calibration_data_module proc~ch_read_orders_cal ch_read_orders_cal proc~ch_read_orders_cal->module~calibration_data_module proc~ch_read_parms_cal ch_read_parms_cal proc~ch_read_parms_cal->module~calibration_data_module proc~gwflow_gwet gwflow_gwet proc~gwflow_gwet->module~calibration_data_module proc~gwflow_rech gwflow_rech proc~gwflow_rech->module~calibration_data_module proc~gwflow_simulate gwflow_simulate proc~gwflow_simulate->module~calibration_data_module proc~header_write header_write proc~header_write->module~calibration_data_module proc~hru_fr_change hru_fr_change proc~hru_fr_change->module~calibration_data_module proc~lcu_read_softcal lcu_read_softcal proc~lcu_read_softcal->module~calibration_data_module proc~ls_read_lsparms_cal ls_read_lsparms_cal proc~ls_read_lsparms_cal->module~calibration_data_module proc~lsreg_output lsreg_output proc~lsreg_output->module~calibration_data_module proc~lsu_output lsu_output proc~lsu_output->module~calibration_data_module proc~lsu_read_elements lsu_read_elements proc~lsu_read_elements->module~calibration_data_module proc~mgt_sched mgt_sched proc~mgt_sched->module~calibration_data_module proc~output_landscape_init output_landscape_init proc~output_landscape_init->module~calibration_data_module proc~pl_read_parms_cal pl_read_parms_cal proc~pl_read_parms_cal->module~calibration_data_module proc~pl_read_regions_cal pl_read_regions_cal proc~pl_read_regions_cal->module~calibration_data_module proc~pl_write_parms_cal pl_write_parms_cal proc~pl_write_parms_cal->module~calibration_data_module proc~proc_cal proc_cal proc~proc_cal->module~calibration_data_module proc~rec_read_elements rec_read_elements proc~rec_read_elements->module~calibration_data_module proc~reg_read_elements reg_read_elements proc~reg_read_elements->module~calibration_data_module proc~res_read_elements res_read_elements proc~res_read_elements->module~calibration_data_module proc~soil_nutcarb_write soil_nutcarb_write proc~soil_nutcarb_write->module~calibration_data_module program~main main program~main->module~calibration_data_module

Variables

Type Visibility Attributes Name Initial
type(calibration_parameters), public, dimension (:), allocatable :: cal_parms
type(update_parameters), public, dimension (:), allocatable :: cal_upd
type(update_parameters), public :: chg
type(update_conditional), public, dimension (:), allocatable :: upd_cond
type(soft_calibration_codes), public :: cal_codes
character(len=1), public :: cal_soft = "n"

if y, calibrate at least one balance

character(len=1), public :: cal_hard = "n"

if y, perform hard calibration

type(soft_calib_parms), public, dimension(:), allocatable :: ls_prms
type(soft_calib_parms), public, dimension(:), allocatable :: ch_prms
type(soft_calib_ls_processes), public :: lscal_z
type(soft_data_calib_landscape), public, dimension(:), allocatable :: lscal
type(soft_data_calib_landscape), public, dimension(:), allocatable :: lscalt
type(pl_parm_region), public, dimension(:), allocatable :: pl_prms
type(cataloging_units), public, dimension(:), allocatable :: region
type(cataloging_units), public, dimension(:), allocatable :: ccu_cal
type(cataloging_units), public, dimension(:), allocatable :: acu_cal
type(cataloging_units), public, dimension(:), allocatable :: rcu_cal
type(cataloging_units), public, dimension(:), allocatable :: pcu_cal
type(landscape_units), public, dimension(:), allocatable :: lsu_out
type(landscape_units), public, dimension(:), allocatable :: lsu_reg
type(landscape_units), public, dimension(:), allocatable :: acu_out
type(landscape_units), public, dimension(:), allocatable :: acu_reg
type(landscape_units), public, dimension(:), allocatable :: ccu_out
type(landscape_units), public, dimension(:), allocatable :: ccu_reg
type(landscape_units), public, dimension(:), allocatable :: rcu_out
type(landscape_units), public, dimension(:), allocatable :: rcu_reg
type(landscape_units), public, dimension(:), allocatable :: pcu_out
type(landscape_units), public, dimension(:), allocatable :: pcu_reg
type(landscape_region_elements), public, dimension(:), allocatable :: reg_elem
type(landscape_elements), public, dimension(:), allocatable :: lsu_elem
type(landscape_elements), public, dimension(:), allocatable :: ccu_elem
type(landscape_elements), public, dimension(:), allocatable :: acu_elem
type(landscape_elements), public, dimension(:), allocatable :: rcu_elem
type(landscape_elements), public, dimension(:), allocatable :: pcu_elem
type(soft_calib_pl_processes), public :: plcal_z
type(soft_data_calib_plant), public, dimension(:), allocatable :: plcal
type(soft_calib_chan_processes), public :: chcal_z
type(soft_data_calib_channel), public, dimension(:), allocatable :: chcal

Derived Types

type, public ::  calibration_parameters

Components

Type Visibility Attributes Name Initial
character(len=25), public :: name = "default"
character(len=25), public :: ob_typ = "plt"
real, public :: absmin = 0.
real, public :: absmax = 1.e6
character(len=25), public :: units = "null"

type, public ::  calibration_conditions

Components

Type Visibility Attributes Name Initial
character(len=25), public :: var = ""
character(len=25), public :: alt = ""
real, public :: targ = 0.
character(len=25), public :: targc = ""

type, public ::  update_parameters

Components

Type Visibility Attributes Name Initial
character(len=25), public :: name = ""

cn2, terrace, land use, mgt, etc.

integer, public :: num_db = 0

crosswalk number of parameter, structure or land use to get database array number

character(len=16), public :: chg_typ = ""

type of change (absval,abschg,pctchg)

real, public :: val = 0.

value of change

integer, public :: conds = 0

number of conditions

integer, public :: lyr1 = 0

first layer in range for soil variables (0 assumes all layers are modified)

integer, public :: lyr2 = 0

last layer in range for soil variables (0 assumes through last layer)

integer, public :: year1 = 0

first year for precip and temp

integer, public :: year2 = 0

last year for precip and temp

integer, public :: day1 = 0

first day in range for precip and temp

integer, public :: day2 = 0

last day in range for precip and temp

integer, public :: num_tot = 0

total number of integers read in

integer, public :: num_elem = 0

total number of elements modified (ie - 1 -5 18; num_tot=3 and num_elem=6)

integer, public, dimension(:), allocatable :: num
integer, public :: num_cond = 0
type(calibration_conditions), public, dimension(:), allocatable :: cond

type, public ::  update_conditional

Components

Type Visibility Attributes Name Initial
integer, public :: max_hits = 0

maximum number of times the table will be executed

integer, public :: num_hits = 0

current number of times the table will be executed

character(len=25), public :: typ = ""

type of table- "lu_change" checks all hru; "hru_fr_change" sets all hru fractions

character(len=25), public :: dtbl = ""

points to ruleset in conditional.ctl for scheduling the update

integer, public :: cond_num = 0

integer pointer to d_table in conditional.ctl

type, public ::  soft_calibration_codes

Components

Type Visibility Attributes Name Initial
character(len=1), public :: hyd_hru = "n"

if a, calibrate all hydrologic balance processes for hru by land use in each region if b, calibrate baseflow and total runoff for hru by land use in each region if y, defaults to b for existing NAM simulations

character(len=1), public :: hyd_hrul = "n"

if y, calibrate hydrologic balance for hru_lte by land use in each region

character(len=1), public :: plt = "n"

if y, calibrate plant growth by land use (by plant) in each region

character(len=1), public :: sed = "n"

if y, calibrate sediment yield by land use in each region

character(len=1), public :: nut = "n"

if y, calibrate nutrient balance by land use in each region

character(len=1), public :: chsed = "n"

if y, calibrate channel widening and bank accretion by stream order

character(len=1), public :: chnut = "n"

if y, calibrate channel nutrient balance by stream order

character(len=1), public :: res = "n"

if y, calibrate reservoir budgets by reservoir

type, public ::  soft_calib_parms

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = ""

cn2, terrace, land use, mgt, etc.

integer, public :: num_db = 0

crosswalk number of parameter, structure or land use to get database array number

character(len=16), public :: chg_typ = ""

type of change (absval,abschg,pctchg)

real, public :: neg = 0.

negative limit of change

real, public :: pos = 0.

positive limit of change

real, public :: lo = 0.

lower limit of parameter

real, public :: up = 0.

upper limit of parameter

type, public ::  soft_calib_ls_adjust

Components

Type Visibility Attributes Name Initial
real, public :: cn = 0.
real, public :: esco = 0.
real, public :: lat_len = 0.
real, public :: petco = 0.
real, public :: slope = 0.
real, public :: tconc = 0.
real, public :: etco = 0.
real, public :: perco = 0.
real, public :: revapc = 0.
real, public :: cn3_swf = 0.

type, public ::  soft_calib_ls_processes

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
real, public :: srr = 0.
real, public :: lfr = 0.
real, public :: pcr = 0.
real, public :: etr = 0.
real, public :: tfr = 0.
real, public :: pet = 0.
real, public :: sed = 0.
real, public :: wyr = 0.
real, public :: bfr = 0.
real, public :: solp = 0.

type, public ::  ls_calib_regions

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
integer, public :: lum_no = 0
real, public :: ha = 0.
integer, public :: nbyr = 0
type(soft_calib_ls_processes), public :: meas
real, public :: precip = 0.
real, public :: precip_aa = 0.
real, public :: precip_aa_sav = 0.
real, public :: pet = 0.
real, public :: pet_aa = 0.
real, public :: petco = 0.
type(soft_calib_ls_processes), public :: sim
type(soft_calib_ls_processes), public :: aa
type(soft_calib_ls_processes), public :: prev
type(soft_calib_ls_adjust), public :: prm
type(soft_calib_ls_adjust), public :: prm_prev
type(soft_calib_ls_adjust), public :: prm_lim
type(soft_calib_ls_adjust), public :: pcur
type(soft_calib_ls_adjust), public :: phi
type(soft_calib_ls_adjust), public :: plo
type(soft_calib_ls_processes), public :: scur
type(soft_calib_ls_processes), public :: shi
type(soft_calib_ls_processes), public :: slo

type, public ::  soft_data_calib_landscape

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
integer, public :: lum_num = 0
integer, public :: num_tot = 0
integer, public, dimension(:), allocatable :: num
integer, public :: num_reg = 0
character(len=16), public, dimension(:), allocatable :: reg
integer, public, dimension(:), allocatable :: ireg
type(ls_calib_regions), public, dimension(:), allocatable :: lum

type, public ::  pl_parms_cal

Components

Type Visibility Attributes Name Initial
character(len=16), public :: var = "default"
character(len=16), public :: name = "default"
real, public :: init_val = 0.

xwalk lum()%name with lscal()%lum()%name

character(len=16), public :: chg_typ = ""

type of change (absval,abschg,pctchg)

real, public :: neg = 0.

negative limit per interation

real, public :: pos = 0.

positive limit per iteration

real, public :: lo = 0.

ultimate lower limit of parameter

real, public :: up = 0.

ultimate upper limit of parameter

type, public ::  pl_parm_region

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
integer, public :: lum_num = 0
integer, public :: parms = 2
integer, public :: num_tot = 0
integer, public, dimension(:), allocatable :: num
type(pl_parms_cal), public, dimension(:), allocatable :: prm

type, public ::  cataloging_units

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "basin"
real, public :: area_ha = 0.
integer, public :: num_tot = 0
integer, public, dimension(:), allocatable :: num
integer, public :: nlum = 0
character(len=16), public, dimension(:), allocatable :: lumc
integer, public, dimension(:), allocatable :: lum_num
integer, public, dimension(:), allocatable :: lum_num_tot
real, public, dimension(:), allocatable :: lum_ha
real, public, dimension(:), allocatable :: lum_ha_tot
real, public, dimension(:), allocatable :: hru_ha

type, public ::  landscape_units

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "basin"
real, public :: area_ha = 0.
integer, public :: num_tot = 0
integer, public, dimension(:), allocatable :: num

type, public ::  landscape_region_elements

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = ""
real, public :: ha = 0.
integer, public :: obj = 1
character(len=3), public :: obtyp = ""
integer, public :: obtypno = 0

type, public ::  landscape_elements

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = ""
integer, public :: obj = 1
character(len=3), public :: obtyp = ""
integer, public :: obtypno = 0
real, public :: bsn_frac = 0
real, public :: ru_frac = 0
real, public :: reg_frac = 0

type, public ::  soft_calib_pl_adjust

Components

Type Visibility Attributes Name Initial
real, public :: epco = 0.
real, public :: pest_stress = -1.e-9
real, public :: harv_idx = 0.
real, public :: lai_pot = 0.

type, public ::  soft_calib_pl_processes

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
real, public :: yield = 0.
real, public :: npp = 0.
real, public :: lai_mx = 0.
real, public :: wstress = 0.
real, public :: astress = 0.
real, public :: tstress = 0.

type, public ::  pl_calib_regions

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
integer, public :: plant_no = 0
real, public :: ha = 0.
integer, public :: nbyr = 0
type(soft_calib_pl_processes), public :: meas
real, public :: precip = 0.
real, public :: precip_aa = 0.
real, public :: precip_aa_sav = 0.
type(soft_calib_pl_processes), public :: sim
type(soft_calib_pl_processes), public :: aa
type(soft_calib_pl_processes), public :: prev
type(soft_calib_pl_adjust), public :: prm
type(soft_calib_pl_adjust), public :: prm_prev
type(soft_calib_pl_adjust), public :: prm_lim
type(soft_calib_pl_adjust), public :: prm_uplim
type(soft_calib_pl_adjust), public :: prm_lowlim

type, public ::  soft_data_calib_plant

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
integer, public :: lum_num = 0
integer, public :: num_tot = 0
integer, public, dimension(:), allocatable :: num
type(pl_calib_regions), public, dimension(:), allocatable :: lum

type, public ::  soft_calib_chan_adjust

Components

Type Visibility Attributes Name Initial
real, public :: cov = 0.
real, public :: erod = 0.
real, public :: shear_bnk = 0.
real, public :: hc_erod = 0.

type, public ::  soft_calib_chan_processes

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = ""
real, public :: chw = 0.
real, public :: chd = 0.
real, public :: hc = 0.
real, public :: fpd = 0.

type, public ::  chan_calib_regions

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
real, public :: length = 0.
integer, public :: nbyr = 0
type(soft_calib_chan_processes), public :: meas
type(soft_calib_chan_processes), public :: sim
type(soft_calib_chan_processes), public :: aa
type(soft_calib_chan_processes), public :: prev
type(soft_calib_chan_adjust), public :: prm
type(soft_calib_chan_adjust), public :: prm_prev
type(soft_calib_chan_adjust), public :: prm_lim

type, public ::  soft_data_calib_channel

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default"
integer, public :: ord_num = 0
integer, public :: num_tot = 0
integer, public, dimension(:), allocatable :: num
type(chan_calib_regions), public, dimension(:), allocatable :: ord