Skip to content

Commit

Permalink
changed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ledm committed Nov 28, 2023
1 parent 7d92af4 commit 4f82bfd
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions lotus_timeseries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@
#SBATCH -o logs/log_bgcval2_ts_%J.out
#SBATCH -e logs/log_bgcval3_ts_%J.err

# Note that the
# slurm job name should be set in the command line with -J option to the jobID
# and the output and error filers are also set at the command line.
#

######################
# This script runs a single time series job.
#
# Runs:
# sbatch -J jobID lotus_timeseries.sh jobID suite1 suite2 etc...
#
# Note that that batch_timeseries command also
# adds specific out and job scripts,
# and outputs them to ./logs directory..
#########################


#########################
# Change this to your bgcval2 conda environment name
CONDA_ENV=bgcval2

# Change this to your bgcval2 directory - or wheever you wish to run.
#BGCVAL2_PATH=$PWD

# Add one or more input_yml files here
#BGCVAL2_SUITE2=input_yml/my_bgcval2_suite2.yml

##########################
# Source global definitions
Expand All @@ -38,22 +38,16 @@ fi
echo conda activate $CONDA_ENV
conda activate ${CONDA_ENV}

##########################
# Change directory to your bgcval2 directory:
#echo cd $BGCVAL2_PATH
#cd $BGCVAL2_PATH
#pwd

##########################
# Load command line arguments:
args=$@
jobID=$1
suites="${@:2}"
echo $suites

##########################
# Run single jog timeseries analysis.
echo "analysis_timeseries -j $jobID -k $suites"
analysis_timeseries -j ${jobID} -k ${suites}
#########################
# Add one or more input_yml files here
#cho analysis_timeseries -y $BGCVAL2_SUITE
#nalysis_timeseries -y $BGCVAL2_SUITE


0 comments on commit 4f82bfd

Please sign in to comment.