-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig_batch_template.yml
More file actions
58 lines (49 loc) · 2.08 KB
/
config_batch_template.yml
File metadata and controls
58 lines (49 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# config_batch_template.yml
# Parameter file for dem_diff_batch.py
# Run with:
# mpirun -n <num_ranks> python dem_diff_batch.py config_batch.yml
#
# Copy this file, rename it (ex. config_batch_canwell.yml), fill in your
# values, and run. Each MPI rank will process a different DEM pair.
#
# DEMs should be listed oldest to most recent for meaningful differences.
dems:
- path: "/path/to/dem_2010.tif"
nickname: "DEM2010" # used in output filename and print statements
src_vcrs: "NAVD88" # options: "Ellipsoid", "EGM96", "NAVD88",
# or any valid EPSG code, see https://epsg.io/
src_hcrs: "EPSG:3338" # any valid EPSG code, see https://epsg.io/
nodata: -9999
- path: "/path/to/dem_2015.tif"
nickname: "DEM2015"
src_vcrs: "EGM96"
src_hcrs: "EPSG:32606"
nodata: -9999
- path: "/path/to/dem_2020.tif"
nickname: "DEM2020"
src_vcrs: "Ellipsoid"
src_hcrs: "EPSG:32606"
nodata: -9999
- path: "/path/to/dem_2025.tif"
nickname: "DEM2025"
src_vcrs: "Ellipsoid"
src_hcrs: "EPSG:32606"
nodata: -9999
options:
path_dest: "/scratch/username/differencedDEMs/" # trailing slash required
roi: null # path to a vector file, or null for no clipping
coregister: false # global default applied to all pairs unless overridden
# per pair in explicit_pairs below
# Pair mode — choose one:
# sequential: differences consecutive DEMs in list order
# (DEM2010-DEM2015, DEM2015-DEM2020, DEM2020-DEM2025)
# all: differences every possible combination of DEMs
# explicit: user-defined pairs listed below under explicit_pairs
pairs: "sequential"
# Only used when pairs: "explicit"
# Format: [dem1_nickname, dem2_nickname] uses global coregister default
# [dem1_nickname, dem2_nickname, true/false] overrides per pair
# explicit_pairs:
# - ["DEM2010", "DEM2025", true] # coregister override: true
# - ["DEM2015", "DEM2025", false] # coregister override: false
# - ["DEM2020", "DEM2025"] # uses global coregister default