[old control]
hist_option       = 2
trun              = tone
cat3              = inputs/other/
cat5              = inputs/hyde_3.0/half_deg_grids/
cat6              = inputs/future/RCP_MiniCam/
foutput_dir        = output/

[control]
top level glm dir = /compyfs/inputdata/iac/giac/glm/
case name         = output
runtype           = initial   # initial or restart
start year        = 2015
stop year         = 2100
output_text         = 0         # write out text state and lu
output_netcdf       = 1         # write out netcdf state and lu
input_text_files    = 0         # read in txt wood harvest files
input_netcdf_files  = 1         # read in netcdf wood harvest files
use_urban           = 0       # 1[Y] or 0[N]
res option          = 2       # 1 (1 degree) or 2 (0.5 degree) only option 2 is valid
number of countries = 192
future rate option  = 0       # HIST(0) | GCAM(3) | AIM(4) | IMAGE(5) | MESSAGE(6)
future scenario     = 0       # HIST(0) | GCAM(3) | AIM(4) | IMAGE(5) | MESSAGE(6)
num_regions         = 32      # HIST=0,GCAM=14,AIM=24,IMAGE=24,MESSAGE=24
gridded_woodharvest = 2       # HIST=0,GCAM=0,AIM=1,IMAGE=0,MESSAGE=1,GCAM_AEZ=2
logging_option      = 1       #  0=wh=zero,1=standard wh data, 4="nodata"
zdis_option         = 1       # option for algorithm for spatial allocation of wood harvest
                              # only option 1 is supported in this version

#priority for clearing and wood harvest; keep as 1 to use shifting cultivation map and to match GLM2 transitions priority
smart_flow_option        = 1       # primary(1) or secondary(2)

#agricultural residence option
#minimum flows only or 
#shifting cultivation within the locations defined by our SC map
adjust_smart_flow_option = 5  # minimum(1) or shifting(5)

# choose whether clearing for agriculture is counted 
# towards meeting wood harvest demand Y(2) or not N(1)
converted_forest_land_option  = 1 

#historical land-use dataset = HYDE         # HYDE or No-Data
nodata_option = 5                           # 5=HYDE3 or 6=No-Data

maxz                         = 21       # Maximum z before we get tired, and spread remaining harvest over all forested cells with z >= this value
best_case                    = 1        # 1= best case, 0= other case
best_case_min_flows_t5       = 1		# 1=shiftcult; should coincide with adjust_smart_flow_option = 5 above
best_case_min_flows_t4       = 0		# I think this is mutually exclusive with best_case_min_flows_t5
total_harvest_switch         = 1
secondary_harvest_switch     = 1
virgin_harvest_switch        = 1
force_harvest_switch         = 1
cpavg                        = 1
tb2bb                        = 1.0     # total biomass to bole biomass ratio, value of 2.0 assumes the WH numbers are bole biomass only 
                                       # and we need to cut twice as much biomass  */

phbio_filename               =  inputs/other/phbio.average.7states.txt
phbio_length                 =  50    # filelength of probability of harvest given biomass

output_updated_states        = 1	# these five lines are not even read-in
output_updated_states2       = 0
output_updated_states3       = 0
output_lu                    = 1
country_primeflow_print      = 1

#glm.future options
region_test_tmp              = 0
region_test_gcode            = 11
region_test_index            = 6
conterminous                  = 0



[output_files]
static_regions_file=static_regions_file.txt
static_vba_file=static_vba_file.txt

[output directory]
output dir = $RUNDIR

[hyde_datasets]

hyde_crop_path = /compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/gcrop_1500-2005.nc
hyde_othr_path =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/gothr_1500-2005.nc
hyde_past_path =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/gpast_1500-2005.nc
hyde_watr_path =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/gwatr_850_851_half_degree.nc
hyde_icew_path =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/gicew_850_851_half_degree.nc

[hyde_datasets_nodata]

crop_nodata_path =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/nodata/gcrop_1500-1510.nc
other_nodata_path =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/nodata/gothr_1500-1510.nc
past_nodata_path  =/compyfs/inputdata/iac/giac/glm/inputs/hyde_3.0/half_deg_grids/nodata/gpast_1500-1510.nc

[future_datasets]

future_crop_constructed_states = inputs/GCAM_Expt1_constructed_states_2005-2100/gcrop.2005-2100.nc
future_secd_constructed_states = inputs/GCAM_Expt1_constructed_states_2005-2100/gsecd.2005-2100.nc
future_othr_constructed_states = inputs/GCAM_Expt1_constructed_states_2005-2100/gothr.2005-2100.nc
future_past_constructed_states = inputs/GCAM_Expt1_constructed_states_2005-2100/gpast.2005-2100.nc
# these water and ice are on the way
future_watr_constructed_states = inputs/hyde_3.0/half_deg_grids/gwatr_850_851_half_degree.nc
future_icew_constructed_states = inputs/hyde_3.0/half_deg_grids/gicew_850_851_half_degree.nc
updated_initial_state = /compyfs/inputdata/iac/giac/glm/inputs/initial/initial_state_LUH2_2015_v3.nc

[woodharvest_datasets]
# woodarvest file is on the way
woodharvest_file =/compyfs/inputdata/iac/giac/glm/inputs/other/wood_harvest/woodharvest_1500-2005.nc
woodharvest_nodata_file =/compyfs/inputdata/iac/giac/glm/inputs/woodharvest_nodata_1500-2005.nc
rcp_woodharvest_file =/compyfs/inputdata/iac/giac/glm/inputs/other/wood_harvest/RCP/woodharvest_minicam_rcp_2005_2100.nc
rcp_woodharvest_nodata_file =/compyfs/inputdata/iac/giac/glm/inputs/other/wood_harvest/RCP/woodharvest_minicam_rcp_2005_2100.nc
rcp_woodharvest_aez_file =/compyfs/inputdata/iac/giac/glm/inputs/other/wood_harvest/RCP/woodharvest_rcp45_aez_nd_2005_2100.nc
rcp_woodharvest_nodata_aez_file =/compyfs/inputdata/iac/giac/glm/inputs/other/wood_harvest/RCP/woodharvest_rcp45_aez_nd_2005_2100.nc

[other_datasets]
wh_region_codes_file   = inputs/other/wood_harvest/gcam_region_codes_updated.txt
wh_cont2region_codes_file = inputs/other/wood_harvest/continent_codes_region.txt
whcodes2glm_map  = inputs/other/wood_harvest/reg2ctry_mapping.txt
aez_region_grid_file = inputs/other/wood_harvest/gcam_region_grid.txt
aez_region_zone_file = inputs/other/wood_harvest/gcam_zone_grid.txt

# have to deal with some of these once the new country map arrives
cellinfo_file  = inputs/other/cellarea/cellarea_halfdeg.txt
ccodes_file    = inputs/other/ccodes/ccodes.txt.sort2wh
ccodes_map     = inputs/other/ccodes/ccodes_half_deg.txt
cnames_file    = inputs/other/ccodes/cnames.txt.sort2wh
regnames_file  = inputs/other/wood_harvest/gcam_region_names.txt
contcodes_file = inputs/other/ccodes/new_continent.codes.txt.sort2wh
shiftcult_map  = inputs/other/shift_cult/shiftcult_LUH1format.txt
regcodes_map     = inputs/other/wood_harvest/gcam_region_grid.txt # this is not used, and is the same as above
gcodes_cont_map  = inputs/other/ccodes/gcodes_continent_half_deg_DUMMY.asc
miami_biomass_file_vba = inputs/other/miami_biomass_v3/vba_LUH1format.txt
miami_biomass_file_vnppa = inputs/other/miami_npp/npp_LUH1format_v2.txt

[debug options]
smart_flow_bug_print         = 1
state_print                  = 0
state_bug_print              = 1
flow_bug_print               = 1


