# ============================================================================
#  SHARED SETTINGS OF THE ROUND 6 RUNS: the NAT permutation experiment.
#
#  Each 1850 glacier state of the L4 state tree (lmr_gdirs_v7_202610/states/)
#  is restarted with every NAT climate: a conditional NAT ensemble per state.
#  See README.md and CLAUDE.md ("NAT permutation experiment"). The OGGM
#  version, container and sample data come from the v7 config, as the gdirs.
# ============================================================================

source /home/www/fmaussion/runs/lmr_2025/lmr_gdirs_v7_202610/common.sh

R6_DIR=/home/www/fmaussion/runs/lmr_2025/round6
R5_DIR=/home/www/fmaussion/runs/lmr_2025/round5   # merge_ens.py, merge_chunks.py
STATES_DIR=$V7_DIR/states
STATES_URL_BASE=${V7_EXPS_URL%/exps}/states

# NAT climates: newnat temperature (v2 of 2026-10-17), each member's own P
NAT_T_URL=$DATA_URL/lmr_seas_fullsplit_oldBE_newnat
P_URL=$DATA_URL/lmr_seas_fullsplit_oldBE

# The states: start of 1850 (L4 model_flowlines_ens###_1850)
PERM_YS=1850
PERM_STATES="123 023 117 054 178 010 041"

PERM_CHUNK_SIZE=100
PERM_N_CHUNKS=40
PERM_BATCH_SIZE=20      # NAT members per task (x 7 states)
PERM_CPUS=8 ; PERM_TIME=08:00:00

LOCAL_PY=/home/users/fmaussion/.miniforge3/envs/oggm_env/bin/python
