File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 99# SBATCH --output=logs/update_weather_%j.out
1010# SBATCH --error=logs/update_weather_%j.err
1111
12- # Initialize Lmod
13- if [ -f /opt/ohpc/admin/lmod/lmod/init/bash ]; then
14- source /opt/ohpc/admin/lmod/lmod/init/bash
15- echo " Lmod initialized successfully"
16- else
17- echo " Warning: Could not find Lmod initialization script"
18- fi
12+ # Initialize Lmod with proper MODULEPATH
13+ source /opt/ohpc/admin/lmod/lmod/init/bash
14+ export MODULEPATH=/opt/ohpc/pub/modulefiles:/software/eb/modules/all:/software/eb/modules/toolchain
1915
2016# Load required modules
2117module load GDAL/3.10.0-foss-2024a
@@ -24,8 +20,8 @@ module load R/4.4.2-gfbf-2024a
2420# Change to project directory
2521cd /home/j.palmer/research/weather-data-collector-spain
2622
27- cat " === Collecting Three Datasets ==="
28- cat " Starting: $( date) "
23+ echo " === Collecting Three Datasets ==="
24+ echo " Starting: $( date) "
2925
3026# Dataset 1: Historical daily stations (original AEMET names)
3127echo " Dataset 1: Historical daily stations..."
You can’t perform that action at this time.
0 commit comments