#This is an example SNOWPACK configuration shipped with INIshell (https://models.slf.ch/p/inishell-ng).
#Detailed information about these settings can be obtained by starting INIshell and loading this file.

[GENERAL]
BUFFER_SIZE = 370
BUFF_BEFORE = 1.5

[INPUT]
COORDSYS  = CH1903
TIME_ZONE = 1
METEO     = SMET
METEOPATH = simulations/example_simulation/input
STATION1  = MST96
SNOWFILE1 = MST96

[OUTPUT]
COORDSYS          = CH1903
TIME_ZONE         = 1
METEOPATH         = simulations/example_simulation/output
EXPERIMENT        = RES4
TS_WRITE          = TRUE
TS_FORMAT         = SMET
TS_START          = 0.0
TS_DAYS_BETWEEN   = 0.125
PROF_WRITE        = TRUE
PROF_FORMAT       = PRO
OUT_HAZ           = FALSE
AGGREGATE_PRF     = FALSE
PROF_START        = 0.0
PROF_DAYS_BETWEEN = 0.125

[SNOWPACK]
MEAS_TSS                      = TRUE
ENFORCE_MEASURED_SNOW_HEIGHTS = TRUE
SW_MODE                       = INCOMING
HEIGHT_OF_WIND_VALUE          = 4.5
HEIGHT_OF_METEO_VALUES        = 4.5
ATMOSPHERIC_STABILITY         = NEUTRAL
ROUGHNESS_LENGTH              = 0.002
CALCULATION_STEP_LENGTH       = 15.0
CHANGE_BC                     = TRUE
THRESH_CHANGE_BC              = -1.0
SNP_SOIL                      = FALSE
SOIL_FLUX                     = FALSE
GEO_HEAT                      = 0.06
CANOPY                        = FALSE

[SNOWPACKADVANCED]
FIXED_POSITIONS     = 0.25 0.5 1.0 -0.25 -0.10
NUMBER_SLOPES       = 5
SNOW_EROSION        = TRUE
SNOW_REDISTRIBUTION = TRUE

[FILTERS]
PSUM::FILTER1    = MIN
PSUM::ARG1::SOFT = TRUE
PSUM::ARG1::MIN  = 0.0
TA::FILTER1      = MIN_MAX
TA::ARG1::MIN    = 240
TA::ARG1::MAX    = 320
RH::FILTER1      = MIN_MAX
RH::ARG1::MIN    = 0.01
RH::ARG1::MAX    = 1.2
RH::FILTER2      = MIN_MAX
RH::ARG2::SOFT   = TRUE
RH::ARG2::MIN    = 0.05
RH::ARG2::MAX    = 1.0
ISWR::FILTER1    = MIN_MAX
ISWR::ARG1::MIN  = -10
ISWR::ARG1::MAX  = 1500
ISWR::FILTER2    = MIN_MAX
ISWR::ARG2::SOFT = TRUE
ISWR::ARG2::MIN  = 0
ISWR::ARG2::MAX  = 1500
RSWR::FILTER1    = MIN_MAX
RSWR::ARG1::MIN  = -10
RSWR::ARG1::MAX  = 1500
RSWR::FILTER2    = MIN_MAX
RSWR::ARG2::SOFT = TRUE
RSWR::ARG2::MIN  = 0
RSWR::ARG2::MAX  = 1500
ILWR::FILTER1    = MIN_MAX
ILWR::ARG1::MIN  = 188
ILWR::ARG1::MAX  = 600
ILWR::FILTER2    = MIN_MAX
ILWR::ARG2::SOFT = TRUE
ILWR::ARG2::MIN  = 200
ILWR::ARG2::MAX  = 400
TSS::FILTER1     = MIN_MAX
TSS::ARG1::MIN   = 200
TSS::ARG1::MAX   = 320
TSG::FILTER1     = MIN_MAX
TSG::ARG1::MIN   = 200
TSG::ARG1::MAX   = 320
HS::FILTER1      = MIN
HS::ARG1::SOFT   = TRUE
HS::ARG1::MIN    = 0.0
HS::FILTER2      = RATE
HS::ARG2::MAX    = 5.55E-5 ;0.20 m/h
VW::FILTER1      = MIN_MAX
VW::ARG1::MIN    = -2
VW::ARG1::MAX    = 70
VW::FILTER2      = MIN_MAX
VW::ARG2::SOFT   = TRUE
VW::ARG2::MIN    = 0.0
VW::ARG2::MAX    = 50.0

[INTERPOLATIONS1D]
WINDOW_SIZE              = 86400
PSUM::RESAMPLE           = ACCUMULATE
PSUM::ACCUMULATE::PERIOD = 900
HS::RESAMPLE             = LINEAR
HS::LINEAR::WINDOW_SIZE  = 43200
VW::RESAMPLE             = NEAREST
VW::NEAREST::EXTRAPOLATE = TRUE
DW::RESAMPLE             = NEAREST
DW::NEAREST::EXTRAPOLATE = TRUE
