Skip to content

Commit

Permalink
-j 100% instead of conservative -j 1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfrantz committed Dec 20, 2023
1 parent 4002373 commit dcb6173
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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 1
-j = number of jobs, defaults to 100%
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=1
NJOB="100%"
ATTRIBUTE="DEFAULT"
DATATYPE="Byte"
ONODATA=255
Expand Down
4 changes: 2 additions & 2 deletions bash/force-mosaic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Usage: $PROG [-h] [-v] [-i] [-j] [-m] datacube-dir
-v = show version
-i = show program's purpose
-j = number of parallel processes, defaults to 1
-j = number of parallel processes, defaults to 100%
-m = mosaic directory (default: mosaic)
This should be a directory relative to the tiles
Expand Down Expand Up @@ -144,7 +144,7 @@ eval set -- "$ARGS"

# default options
MOSAIC='mosaic'
CPU=1
CPU="100%"

while :; do
case "$1" in
Expand Down
4 changes: 2 additions & 2 deletions bash/force-procmask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Usage: $PROG [-sldobj] input-basename calc-expr
-b = basename of output file (without extension)
defaults to the basename of the input-file,
appended by '_procmask'
-j = number of jobs, defaults to 1
-j = number of jobs, defaults to 100%
Positional arguments:
- input-basename: basename of input data
Expand Down Expand Up @@ -121,7 +121,7 @@ LAYER=1
DINP=$PWD
DOUT=$PWD
OBASE="DEFAULT"
NJOB=1
NJOB="100%"

while :; do
case "$1" in
Expand Down
4 changes: 2 additions & 2 deletions bash/force-pyramid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Usage: $PROG [-hjrl] image [image]*
-h = show his help
-j = number of jobs
defaults to 1
defaults to 100%
-r = resampling option
default: nearest
-l = levels, comma-separated
Expand All @@ -76,7 +76,7 @@ if [ $? != 0 ] ; then help; fi
eval set -- "$ARGS"

# default options
NJOB=1
NJOB="100%"
LEVELS="2,4,8,16"
RESAMPLE="nearest"

Expand Down

0 comments on commit dcb6173

Please sign in to comment.