forked from ceos-org/cloud-native-geospatial-eo-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutils.py
55 lines (55 loc) · 1.36 KB
/
utils.py
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
# HLS configuration dictionary
# Note that if NASA uses the Band extension
# for their STAC documents, then this config
# will be unnecessary.
hls_config = {
"HLSS30.v2.0": {
"assets": {
"*": {
"data_type": "int16",
"nodata": -9999,
},
"Fmask": {
"data_type": "uint8",
"nodata": 255,
},
},
"aliases": {
"costal_aerosol": "B01",
"blue": "B02",
"green": "B03",
"red": "B04",
"red_edge_1": "B05",
"red_edge_2": "B06",
"red_edge_3": "B07",
"nir_broad": "B08",
"nir": "B8A",
"water_vapour": "B09",
"swir_1": "B11",
"swir_2": "B12",
"fmask": "Fmask",
},
},
"HLSL30.v2.0": {
"assets": {
"*": {
"data_type": "int16",
"nodata": -9999,
},
"Fmask": {
"data_type": "uint8",
"nodata": 255,
},
},
"aliases": {
"costal_aerosol": "B01",
"blue": "B02",
"green": "B03",
"red": "B04",
"nir": "B05",
"swir_1": "B06",
"swir_2": "B07",
"fmask": "Fmask",
},
},
}