Skip to content

Commit cca774b

Browse files
debugging conus_ii script
1 parent d8c92a3 commit cca774b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

conus_ii/conus_ii.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -442,17 +442,14 @@ for yr in $yearsRange; do
442442
-d "$latVar","$latLimsIdx" \
443443
-d "$lonVar","$lonLimsIdx" \
444444
"$cacheDir/$yr/$f2" "$cacheDir/$yr/$f2" & # extracting $variables
445-
[ $( jobs | wc -l ) -ge $( nproc ) ] && wait
445+
446446
done
447447

448448
# increment time-step by one unit
449449
toDate=$(date --date "$toDate 1day") # current time-step
450450
toDateUnix=$(date --date="$toDate" "+%s") # current timestamp in unix EPOCH time
451451
done
452452

453-
# wait to make sure the while loop is finished
454-
wait
455-
456453
# go to the next year if necessary
457454
if [[ "$toDateUnix" == "$endOfCurrentYearUnix" ]]; then
458455
toDate=$(date --date "$toDate 1hour")

extract-dataset.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ call_processing_func () {
281281
#SBATCH --nodes=1
282282
#SBATCH --account=rpp-kshook
283283
#SBATCH --time=04:00:00
284-
#SBATCH --mem=2GB
284+
#SBATCH --mem=4GB
285285
#SBATCH --job-name=GWF_${scriptName}
286286
#SBATCH --error=$HOME/scratch/.gdt_logs/GWF_%A-%a_err.txt
287287
#SBATCH --output=$HOME/scratch/.gdt_logs/GWF_%A-%a.txt

0 commit comments

Comments
 (0)