|
67 | 67 | -i | --dataset-dir) geotiffDir="$2" ; shift 2 ;; # required |
68 | 68 | -o | --output-dir) outputDir="$2" ; shift 2 ;; # required |
69 | 69 | -v | --variable) variables="$2" ; shift 2 ;; # required |
70 | | - -r | --crs) crs="$2" ; shift 2 ;; # required |
71 | | - -s | --start-date) startDate="$2" ; shift 2 ;; # optional |
| 70 | + -r | --crs) crs="$2" ; shift 2 ;; # required |
| 71 | + -s | --start-date) startDate="$2" ; shift 2 ;; # optional |
72 | 72 | -e | --end-date) endDate="$2" ; shift 2 ;; # optional |
73 | 73 | -l | --lat-lims) latLims="$2" ; shift 2 ;; # required - could be redundant |
74 | 74 | -n | --lon-lims) lonLims="$2" ; shift 2 ;; # required - could be redundant |
75 | 75 | -f | --shape-file) shapefile="$2" ; shift 2 ;; # required - could be redundant |
76 | 76 | -F | --fid) fid="$2" ; shift 2 ;; # optional |
77 | 77 | -t | --print-geotiff) printGeotiff="$2" ; shift 2 ;; # required |
78 | | - -a | --stat) stats="$2" ; shift 2 ;; # optional |
79 | | - -u | --include-na) includeNA="$2" ; shift 2 ;; # required |
80 | | - -q | --quantile) quantiles="$2" ; shift 2 ;; # optional |
81 | | - -p | --prefix) prefix="$2" ; shift 2 ;; # optional |
82 | | - -c | --cache) cache="$2" ; shift 2 ;; # required |
| 78 | + -a | --stat) stats="$2" ; shift 2 ;; # optional |
| 79 | + -u | --include-na) includeNA="$2" ; shift 2 ;; # required |
| 80 | + -q | --quantile) quantiles="$2" ; shift 2 ;; # optional |
| 81 | + -p | --prefix) prefix="$2" ; shift 2 ;; # optional |
| 82 | + -c | --cache) cache="$2" ; shift 2 ;; # required |
83 | 83 | -L | --lib-path) renvCache="$2" ; shift 2 ;; # required |
84 | 84 |
|
85 | 85 | # -- means the end of the arguments; drop this, and break out of the while loop |
|
0 commit comments