#!/bin/bash

BASE_URL="https://jiutian.sjtu.edu.cn/download/CSSTmock/lightcone/Deep/M2G"

# file list
FILES=(
  "checksums.sha256"
  "lightconeM2GDeep0.hdf5"
  "lightconeM2GDeep1.hdf5"
  "lightconeM2GDeep2.hdf5"
)

for file in "${FILES[@]}"; do
    echo "Downloading: $file"
    wget "$BASE_URL/$file"
done

echo "All files saved!"
