Commit d75876a4 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH: fix issue related to ls8 nasa level 2a (coded in 10000 reflectance, add...

ENH: fix issue related to ls8 nasa level 2a (coded in 10000 reflectance, add lasrc mode to handle clou mask and change bitset mask values
parent ed5bb739
...@@ -129,7 +129,8 @@ L8_parameters = {"multi":1, ...@@ -129,7 +129,8 @@ L8_parameters = {"multi":1,
"high_cloud_mask":32, "high_cloud_mask":32,
"rf":8} "rf":8}
LANDSAT8_LASRC_parameters = {"multi":1, LANDSAT8_LASRC_parameters = {"mode":"lasrc",
"multi":10,
"green_band":".*_sr_band3.tif$", "green_band":".*_sr_band3.tif$",
"green_bandNumber":1, "green_bandNumber":1,
"red_band":".*_sr_band4.tif$", "red_band":".*_sr_band4.tif$",
...@@ -140,8 +141,8 @@ LANDSAT8_LASRC_parameters = {"multi":1, ...@@ -140,8 +141,8 @@ LANDSAT8_LASRC_parameters = {"multi":1,
"dem":".*\.tif", "dem":".*\.tif",
"shadow_in_mask":8, "shadow_in_mask":8,
"shadow_out_mask":8, "shadow_out_mask":8,
"all_cloud_mask":32, "all_cloud_mask":224, # cloud with high confidence (32+(64+128))
"high_cloud_mask":256, "high_cloud_mask":800, # cloud and high cloud with high confidence (32 + (512+256))
"rf":8} "rf":8}
mission_parameters = {"S2":S2_parameters,\ mission_parameters = {"S2":S2_parameters,\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment