|
5 | 5 | # always include the tailing slash "/" |
6 | 6 | # define user on Delta, avoid writing files to other user's dir |
7 | 7 | user = subprocess.check_output("whoami").strip().decode("ascii") |
8 | | -head_node = 'cn102/' |
| 8 | +head_node = 'cn014/' |
9 | 9 | #head_node = 'gpub___' |
10 | 10 |
|
11 | | -INPUT = '/scratch/bbou/julietcohen/infrastructure/input/' |
12 | | -output_subdir = 'infrastructure/output' |
| 11 | +INPUT = '/scratch/bbou/julietcohen/infrastructure/input/20240423/' |
| 12 | +output_subdir = 'infrastructure/output/20240423' |
13 | 13 | OUTPUT = f'/scratch/bbou/{user}/{output_subdir}/' |
14 | 14 |
|
15 | 15 | STAGING_LOCAL = '/tmp/staged/' |
|
44 | 44 | "tms_id": "WGS1984Quad", |
45 | 45 | "z_range": [ |
46 | 46 | 0, |
47 | | - 12 |
| 47 | + 13 |
48 | 48 | ], |
49 | 49 | "geometricError": 57, |
50 | 50 | "z_coord": 0, |
51 | 51 | "statistics": [ |
| 52 | + { |
| 53 | + "name": "palette_code", |
| 54 | + "weight_by": "area", |
| 55 | + "property": "palette_code", |
| 56 | + "aggregation_method": "max", |
| 57 | + "resampling_method": "nearest", |
| 58 | + "val_range": [ |
| 59 | + 1, |
| 60 | + 7 |
| 61 | + ], |
| 62 | + "palette": [ |
| 63 | + "#e67428", # 11=linear transport infrastructure (asphalt) |
| 64 | + "#9939a7", # 12=linear transport infrastructure (gravel) |
| 65 | + "#4daf4a", # 13=linear transport infrastructure (undefined) |
| 66 | + "#e41a1c", # 20=buildings (and other constructions such as bridges) |
| 67 | + "#787878", # 30=other impacted area (includes gravel pads, mining sites) |
| 68 | + "#e567e9", # 40=airstrip |
| 69 | + "#1f78b4" # 50=reservoir or other water body impacted by human activities |
| 70 | + ], |
| 71 | + "nodata_val": 0, |
| 72 | + "nodata_color": "#ffffff00" |
| 73 | + }, |
52 | 74 | { |
53 | 75 | "name": "infrastructure_code", |
54 | 76 | "weight_by": "area", |
|
60 | 82 | 50 |
61 | 83 | ], |
62 | 84 | "palette": [ |
63 | | - "#f48525", |
64 | | - "#f4e625", |
65 | | - "#47f425", |
66 | | - "#25f4e2", |
67 | | - "#2525f4", |
68 | | - "#f425c3", |
69 | | - "#f42525" |
| 85 | + "#e67428", # 11=linear transport infrastructure (asphalt) |
| 86 | + "#9939a7", # 12=linear transport infrastructure (gravel) |
| 87 | + "#4daf4a", # 13=linear transport infrastructure (undefined) |
| 88 | + "#e41a1c", # 20=buildings (and other constructions such as bridges) |
| 89 | + "#787878", # 30=other impacted area (includes gravel pads, mining sites) |
| 90 | + "#e567e9", # 40=airstrip |
| 91 | + "#1f78b4" # 50=reservoir or other water body impacted by human activities |
70 | 92 | ], |
71 | 93 | "nodata_val": 0, |
72 | 94 | "nodata_color": "#ffffff00" |
|
0 commit comments