&CONFIG

! Start and end time
start_time_of_run_config                = -120000  ! Start time (in years) of the simulations
end_time_of_run_config                  = -0       ! End   time (in years) of the simulations
dt_coupling_config                      = 100

! Whether or not we want IMAU-ICE to create its own output folder (e.g. "results_20200618_001")
create_new_output_dir_config            = .TRUE.
output_dir_config                       = 'results'
do_write_debug_data_config              = .FALSE.

! Which benchmark experiment we want to run (if any)
do_benchmark_experiment_config          = .FALSE.

! Which ice-sheets we want to simulate
do_NAM_config                           = .TRUE.
do_EAS_config                           = .TRUE.
do_GRL_config                           = .TRUE.
do_ANT_config                           = .TRUE.

! The resolutions at which we want to simulate the different ice sheets
dx_NAM_config                           = 40000
dx_EAS_config                           = 40000
dx_GRL_config                           = 20000
dx_ANT_config                           = 40000

! Time stepping
dt_max_config                           = 10       ! Maximum time step (in years) of the ice model
dt_thermo_config                        = 5        ! Time step (in years) for updating the thermodynamics
dt_output_config                        = 1000     ! Time step (in years) for writing output

! Ice dynamics
m_enh_SIA_config                        = 5.0
m_enh_SSA_config                        = 0.5

! Sea level and GIA
choice_sealevel_model_config            = 'eustatic'
choice_GIA_model_config                 = 'ELRA'              ! Can be "none", "ELRA", or "SELEN"
ELRA_lithosphere_flex_rigidity_config   = 1.0E+25             ! Lithospheric flexural rigidity [kg m^2 s^-2]
ELRA_bedrock_relaxation_time_config     = 3000.0              ! Relaxation time for bedrock adjustment [yr]
mantle_density_config                   = 3300.0              ! Mantle density [kg m^-3]

! Geothermal heat flux
choice_geothermal_heat_flux_config      = 'spatial'
constant_geothermal_heat_flux_config    = 1.72E06
filename_geothermal_heat_flux_config    = 'Datasets/GHF/geothermal_heatflux_ShapiroRitzwoller2004_global_1x1_deg.nc'

! Climate matrix
filename_PD_obs_climate_config          = 'Datasets/ERA40/ERA40_climate_global.nc'
filename_GCM_snapshot_PI_config         = 'Datasets/GCM_snapshots/Singarayer_Valdes_2010_PI_Control.nc'
filename_GCM_snapshot_LGM_config        = 'Datasets/GCM_snapshots/Singarayer_Valdes_2010_LGM.nc'
  
! Ice5G ice-sheet geometry
filename_ICE5G_PD_config                = 'Datasets/ICE5G/ice5g_v1.2_00.0k_1deg.nc'
filename_ICE5G_LGM_config               = 'Datasets/ICE5G/ice5g_v1.2_21.0k_1deg.nc'

constant_lapserate_config               = 0.008

! SMB tuning
C_abl_constant_NAM_config               = 18
C_abl_constant_EAS_config               = 34.5
C_abl_constant_GRL_config               = 24
C_abl_constant_ANT_config               = 18
C_abl_Ts_NAM_config                     = 10
C_abl_Ts_EAS_config                     = 10
C_abl_Ts_GRL_config                     = 10
C_abl_Ts_ANT_config                     = 10
C_abl_Q_NAM_config                      = 0.513
C_abl_Q_EAS_config                      = 0.513
C_abl_Q_GRL_config                      = 0.513
C_abl_Q_ANT_config                      = 0.513

! Forcing
choice_forcing_method_config            = 'CO2_direct'
  
dT_deepwater_averaging_window_config    = 3000.0
dT_deepwater_dT_surf_ratio_config       = 0.25
d18O_dT_deepwater_ratio_config          = -0.28
  
dT_glob_inverse_averaging_window_config = 2000.0
inverse_d18O_to_dT_glob_scaling_config  = 20.0
CO2_inverse_averaging_window_config     = 2000.0
inverse_d18O_to_CO2_scaling_config      = 68.0
inverse_d18O_to_CO2_initial_CO2_config  = 280.0

filename_insolation_config              = 'Datasets/Insolation/Laskar_etal_2004_insolation.nc'
filename_CO2_record_config              = 'Datasets/CO2/EPICA_CO2_Bereiter_2015_100yr.dat'
CO2_record_length_config                = 8001
filename_d18O_record_config             = 'Datasets/d18O/Ahn2017_d18O.dat'
d18O_record_length_config               = 2051

! Initial and PD reference data
filename_init_NAM_config                = 'Datasets/ETOPO1/NorthAmerica_ETOPO1_5km.nc'
filename_init_EAS_config                = 'Datasets/ETOPO1/Eurasia_ETOPO1_5km.nc'
filename_init_GRL_config                = 'Datasets/Bedmachine_Greenland/Greenland_BedMachine_5km.nc'
filename_init_ANT_config                = 'Datasets/Bedmachine_Antarctica/Bedmachine_v1_Antarctica_5km.nc'
  
  ! PD reference data (NetCDF)
filename_PD_NAM_config                  = 'Datasets/ETOPO1/NorthAmerica_ETOPO1_5km.nc'
filename_PD_EAS_config                  = 'Datasets/ETOPO1/Eurasia_ETOPO1_5km.nc'
filename_PD_GRL_config                  = 'Datasets/Bedmachine_Greenland/Greenland_BedMachine_5km.nc'
filename_PD_ANT_config                  = 'Datasets/Bedmachine_Antarctica/Bedmachine_v1_Antarctica_5km.nc'

help_field_01_config    = 'lat'
help_field_02_config    = 'lon'
help_field_03_config    = 'U_surf'
help_field_04_config    = 'V_surf'
help_field_05_config    = 'mask'
help_field_06_config    = 'dHs_dx'
help_field_07_config    = 'dHs_dy'
help_field_08_config    = 'T2m_year'
help_field_09_config    = 'Precip_year'
help_field_10_config    = 'Albedo_year'
help_field_11_config    = 'SMB_year'
help_field_12_config    = 'none'
help_field_13_config    = 'none'
help_field_14_config    = 'none'
help_field_15_config    = 'none'
help_field_16_config    = 'none'
help_field_17_config    = 'none'
help_field_18_config    = 'none'
help_field_19_config    = 'none'
help_field_20_config    = 'none'
help_field_21_config    = 'none'
help_field_22_config    = 'none'
help_field_23_config    = 'none'
help_field_24_config    = 'none'
help_field_25_config    = 'none'
help_field_26_config    = 'none'
help_field_27_config    = 'none'
help_field_28_config    = 'none'
help_field_29_config    = 'none'
help_field_30_config    = 'none'
help_field_31_config    = 'none'
help_field_32_config    = 'none'
help_field_33_config    = 'none'
help_field_34_config    = 'none'
help_field_35_config    = 'none'
help_field_36_config    = 'none'
help_field_37_config    = 'none'
help_field_38_config    = 'none'
help_field_39_config    = 'none'
help_field_40_config    = 'none'
help_field_41_config    = 'none'
help_field_42_config    = 'none'
help_field_43_config    = 'none'
help_field_44_config    = 'none'
help_field_45_config    = 'none'
help_field_46_config    = 'none'
help_field_47_config    = 'none'
help_field_48_config    = 'none'
help_field_49_config    = 'none'
help_field_50_config    = 'none'

/
