Skip to content

Commit

Permalink
after some accidents, force-cube -j defaults now to 1 instead of 'all'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfrantz committed Dec 11, 2023
1 parent 4946473 commit 6101ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bash/force-cube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Usage: $PROG [-hvirsantobj] input-file(s)
-b = basename of output file (without extension)
defaults to the basename of the input-file
cannot be used when multiple input files are given
-j = number of jobs, defaults to 'as many as possible'
-j = number of jobs, defaults to 1
mandatory:
input-file(s) = the file(s) you want to cube
Expand Down Expand Up @@ -214,7 +214,7 @@ RESAMPLE="near"
RES=10
DOUT=$PWD
BASE="DEFAULT"
NJOB=0
NJOB=1
ATTRIBUTE="DEFAULT"
DATATYPE="Byte"
ONODATA=255
Expand Down
2 changes: 1 addition & 1 deletion bash/force-tile-extent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ cp $DIR/datacube-definition.prj $TMP/datacube-definition.prj

# generate masks, use force-cube version relative to this program
BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
$BINDIR"/"force-cube -s 10 -o $TMP -b force-extent $INP &> /dev/null
$BINDIR"/"force-cube -j 0 -s 10 -o $TMP -b force-extent $INP &> /dev/null


WD=$PWD
Expand Down

0 comments on commit 6101ac6

Please sign in to comment.