GeoTiff generation
Open the
.txt
file that was generated in the last step of Class comparison.Use
Cmd f
(orCtrl f
) to search for the keywordASSIGN
within the file.
Under this keyword there will be a list of lists, where each sublist is a set of SIT_FUSE label values that is associated with a specific class involved within the context assignment process except the last sublist.
Important note: The order of these sublists is dependent upon the order in which the labels were input to the dbf_list entry in the yaml file for the class_compare.py (the previous step)
For example, looking at the example YAML in Code configuration, we see that the order of the label lists is backgroud, burnscar, fire, smoke.
Note: The last sublist is the set of labels that did not meet the minimum threshold set for any of the desired classes.
Copy this list (excluding the last sublist).
Paste the copied list into the
clusters
entry of the new YAML (see Code configuration)Make sure the order of these lists is consistent with the order of the labels in the
name
entry (see Important note above).Note 2: Make sure the
context/apply_context
entry is set toTrue
.
Run this:
cd SIT_FUSE/src/sit_fuse/postprocessing && python3 generate_cluster_geotiffs.py -y ../config/postprocess/<yaml_file>
This will output...
Last updated