diff --git a/payu_config/archive.sh b/payu_config/archive.sh index f098f15..e35144a 100644 --- a/payu_config/archive.sh +++ b/payu_config/archive.sh @@ -1,6 +1,5 @@ -#!/usr/bin/bash -i - source $(dirname "$0")/archive_scripts/archive_cice_restarts.sh source $(dirname "$0")/archive_scripts/concat_ice_daily.sh source $(dirname "$0")/archive_scripts/standardise_mom6_filenames.sh -python3 $(dirname "$0")/archive_scripts/build_intake_ds.py + +qsub -lstorage=gdata/hh5+${PBS_NCI_STORAGE} -v SCRIPTS_DIR=$(dirname "$0"),PROJECT $(dirname "$0")/archive_scripts/build_intake_ds.sh \ No newline at end of file diff --git a/payu_config/archive_scripts/build_intake_ds.py b/payu_config/archive_scripts/build_intake_ds.py index 1d06513..0439111 100644 --- a/payu_config/archive_scripts/build_intake_ds.py +++ b/payu_config/archive_scripts/build_intake_ds.py @@ -35,7 +35,7 @@ def description(): metadata = YAML().load(metadata_filename) uuid = metadata.get(UUID_FIELD, None) else: - warn(f"{METADATA_FILENAME} not found in archive folder") + warn(f"{METADATA_FILENAME} not found in config folder") uuid = False # Check git status of this .py file diff --git a/payu_config/archive_scripts/build_intake_ds.sh b/payu_config/archive_scripts/build_intake_ds.sh new file mode 100644 index 0000000..567c21e --- /dev/null +++ b/payu_config/archive_scripts/build_intake_ds.sh @@ -0,0 +1,11 @@ +#!/usr/bin/bash +#PBS -l ncpus=24 +#PBS -l mem=96GB +#PBS -q normal +#PBS -l walltime=02:00:00 +#PBS -l wd + +module use /g/data/hh5/public/modules +module load conda/analysis3-24.01 + +python3 $SCRIPTS_DIR/archive_scripts/build_intake_ds.py