You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash# Check if the right number of arguments is passedif [ "$#"-ne 7 ];thenecho"Usage: $0 COM_OCEAN_ANALYSIS COM_ICE_HISTORY_PREV COM_OCEAN_HISTORY_PREV cyc RUN HOMEgfs"exit 1
fi# Assign command-line arguments to environment variablesexport COM_OCEAN_ANALYSIS=$1export COM_ICE_HISTORY_PREV=$2export COM_OCEAN_HISTORY_PREV=$3export cyc=$4export RUN=$5export HOMEgfs=$6# Optional: Print the environment variables for debugging purposesecho"COM_OCEAN_ANALYSIS=${COM_OCEAN_ANALYSIS}"echo"COM_ICE_HISTORY_PREV=${COM_ICE_HISTORY_PREV}"echo"COM_OCEAN_HISTORY_PREV=${COM_OCEAN_HISTORY_PREV}"echo"cyc=${cyc}"echo"RUN=${RUN}"echo"HOMEgfs=${HOMEgfs}"# Run the Python utility script
python3 /pathto/exgdas_global_marine_analysis_vrfy.py
then figure out how to sbatch that task without the failures that @JohnSteffen-NOAA reported.
The text was updated successfully, but these errors were encountered:
Start with something simple like this (untested):
then figure out how to sbatch that task without the failures that @JohnSteffen-NOAA reported.
The text was updated successfully, but these errors were encountered: