&CONFIG

! Start and end time
start_time_of_run_config                = 0  ! Start time (in years) of the simulations
end_time_of_run_config                  = 1000      ! 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                           = .FALSE.
do_EAS_config                           = .FALSE.
do_GRL_config                           = .FALSE.
do_ANT_config                           = .TRUE.

! The resolutions at which we want to simulate the different ice sheets
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                        = 10000     ! Time step (in years) for writing output

! Ice dynamics
m_enh_SIA_config                        = 5.0
m_enh_SSA_config                        = 1.0

! Sea level and GIA
choice_sealevel_model_config            = 'fixed'
fixed_sealevel_config                   = 0.0
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/MIO_matrixfiles/MIO_Gasson_3nomebi.nc'
filename_GCM_snapshot_LGM_config        = 'Datasets/MIO_matrixfiles/MIO_Gasson_1fumebi.nc'
filename_GCM_snapshot_PD_config         = 'Datasets/MIO_matrixfiles/MIO_Gasson_PI_control.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_ANT_config               = 32 ! 18
C_abl_Ts_ANT_config                     = 10
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

low_CO2_value_config                    = 280.0 ! 280, 840
high_CO2_value_config                   = 840.0 ! 840, 2240
low_CO2_ice_volume_config               = 26.0E15 ! 280, 840
high_CO2_ice_volume_config              = 0.0 ! 840, 2240
weight_CO2_config                       = 1.0

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

! Initial and PD reference data
!filename_init_ANT_config               = 'Datasets/Bedmachine_Antarctica/Bedmachine_v1_Antarctica_5km.nc'
filename_init_ANT_config                = 'Datasets/Paleotopographies_ANT/23-24Ma_Topo_Hochmuth_Paxman_IMAUICE_20km.nc'
  
  ! PD reference data (NetCDF)
filename_PD_ANT_config                  = 'Datasets/Bedmachine_Antarctica/Bedmachine_v1_Antarctica_5km.nc'

  ! Topo data (NetCDF)
filename_topo_ANT_config                = 'Datasets/Paleotopographies_ANT/23-24Ma_Topo_Hochmuth_Paxman_IMAUICE_20km.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    = 'GHF'
help_field_13_config    = 'GCM_PI_T2m'
help_field_14_config    = 'GCM_LGM_T2m'
help_field_15_config    = 'GCM_PI_Precip'
help_field_16_config    = 'GCM_LGM_Precip'
help_field_17_config    = 'PD_mod_T2m'
help_field_18_config    = 'PD_mod_Precip'
help_field_19_config    = 'PD_obs_T2m'
help_field_20_config    = 'PD_obs_Precip'
help_field_21_config    = 'T2m'
help_field_22_config    = 'Precip'
help_field_23_config    = 'BMB_shelf'
help_field_24_config    = 'BMB_sheet'
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'

/
