Code configuration

Configuration for the YAML file that will help us generate our class comparison.

gen_from_geotiffs (bool): Generates context assigned output

data: 
  clust_reader_type: Reader type
  reader_kwargs:
    no_arg: "no_arg"
  subset_inds: List of lists. Number of sublists must correspond to number of geotiffs.
  create_separate (bool): 

gtiff_data: List with geotiffs.
cluster_fnames: List of zarr files

context:
  apply_context (bool): Applies context
  clusters: List of lists. Copied from .txt file in GeoTiff generation step
  name: List of label names
  compare_truth (bool): 
  generate_union (bool): 

E.g. configuration:

gen_from_geotiffs: False

data:
  clust_reader_type: "zarr_to_numpy"
  reader_kwargs:
    no_arg: "no_arg"
  subset_inds: [ [ ], [ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ],[ ] ]
  create_separate: False
  
  gtiff_data: [
    "/data/nlahaye/SIT_FUSE_Geo/AVIRIS_C/aviris_20190821_p00r23.tif.clust.data_79099clusters.zarr.full_geo.tif",
    "/data/nlahaye/SIT_FUSE_Geo/AVIRIS_C/aviris_20190821_p00r24.tif.clust.data_79099clusters.zarr.full_geo.tif",
    "/data/nlahaye/SIT_FUSE_Geo/AVIRIS_C/aviris_20190821_p00r25.tif.clust.data_79099clusters.zarr.full_geo.tif",
    "/data/nlahaye/SIT_FUSE_Geo/AVIRIS_C/aviris_20190821_p00r26.tif.clust.data_79099clusters.zarr.full_geo.tif",
    "/data/nlahaye/SIT_FUSE_Geo/AVIRIS_C/aviris_20190821_p00r27.tif.clust.data_79099clusters.zarr.full_geo.tif"
  ]
  
  cluster_fnames: [
    "/data/nlahaye/SIT_FUSE_Geo/zarrs/AVIRIS_zarrs/aviris_20190821_p00r23.tif.clust.data_79099clusters.zarr",
    "/data/nlahaye/SIT_FUSE_Geo/zarrs/AVIRIS_zarrs/aviris_20190821_p00r24.tif.clust.data_79099clusters.zarr",
    "/data/nlahaye/SIT_FUSE_Geo/zarrs/AVIRIS_zarrs/aviris_20190821_p00r25.tif.clust.data_79099clusters.zarr",
    "/data/nlahaye/SIT_FUSE_Geo/zarrs/AVIRIS_zarrs/aviris_20190821_p00r26.tif.clust.data_79099clusters.zarr",
    "/data/nlahaye/SIT_FUSE_Geo/zarrs/AVIRIS_zarrs/aviris_20190821_p00r27.tif.clust.data_79099clusters.zarr"
  ]


context:
  apply_context: True
  clusters: [ [10.1, 10.101, 10.102, 10.108, 10.11, 10.124, 10.14, 10.141, 10.147, 10.153, 10.155, 10.161, 10.162, 10.164, 10.182, 10.184, 10.19, 10.199, 20.6, 20.601, 20.602, 20.603, 20.604, 20.605, 20.606, 20.607, 20.608, 20.609, 20.61, 20.611, 20.612, 20.613, 20.614, 20.615, 20.616, 20.617, 20.618, 20.619, 20.62, 20.621, 20.622, 20.623, 20.624, 20.625, 20.626, 20.627, 20.628, 20.629, 20.63, 20.631, 20.632, 20.633, 20.634, 20.635, 20.636, 20.637, 20.638, 20.639, 20.64, 20.641, 20.642, 20.643, 20.644, 20.645, 20.646, 20.647, 20.648, 20.649, 20.65, 20.651, 20.652, 20.653, 20.654, 20.655, 20.656, 20.657, 20.658, 20.659, 20.66, 20.661, 20.662, 20.663, 20.664, 20.665, 20.666, 20.667, 20.668, 20.669, 20.67, 20.671, 20.672, 20.673, 20.674, 20.675, 20.676, 20.677, 20.678, 20.679, 20.68, 20.681, 20.682, 20.683, 20.684, 20.685, 20.686, 20.687, 20.688, 20.689, 20.69, 20.691, 20.692, 20.693, 20.694, 20.695, 20.696, 20.697, 20.698, 20.699, 27.702, 27.706, 27.716, 27.729, 27.733, 27.742, 27.745, 27.749, 27.751, 27.773, 27.774, 27.779, 27.783, 27.786, 27.787, 27.791, 27.799, 32.3, 32.303, 32.304, 32.305, 32.307, 32.308, 32.309, 32.31, 32.312, 32.313, 32.318, 32.322, 32.324, 32.325, 32.326, 32.328, 32.337, 32.342, 32.346, 32.348, 32.349, 32.351, 32.353, 32.355, 32.36, 32.362, 32.363, 32.364, 32.365, 32.366, 32.367, 32.368, 32.37, 32.371, 32.374, 32.375, 32.377, 32.383, 32.384, 32.386, 32.391, 32.392, 32.393, 32.395, 32.396, 32.397, 32.398, 32.399, 36.3, 36.301, 36.302, 36.303, 36.304, 36.305, 36.306, 36.307, 36.308, 36.309, 36.31, 36.311, 36.312, 36.313, 36.314, 36.315, 36.316, 36.317, 36.318, 36.319, 36.32, 36.321, 36.322, 36.323, 36.324, 36.325, 36.326, 36.327, 36.328, 36.329, 36.33, 36.331, 36.332, 36.333, 36.334, 36.335, 36.336, 36.337, 36.338, 36.339, 36.34, 36.341, 36.342, 36.343, 36.344, 36.345, 36.346, 36.347, 36.348, 36.349, 36.35, 36.351, 36.352, 36.353, 36.354, 36.355, 36.356, 36.357, 36.358, 36.359, 36.36, 36.361, 36.362, 36.363, 36.364, 36.365, 36.366, 36.367, 36.368, 36.369, 36.37, 36.371, 36.372, 36.373, 36.374, 36.375, 36.376, 36.377, 36.378, 36.379, 36.38, 36.381, 36.382, 36.383, 36.384, 36.385, 36.386, 36.387, 36.388, 36.389, 36.39, 36.391, 36.392, 36.393, 36.394, 36.395, 36.396, 36.397, 36.398, 36.399, 42.1, 42.103, 42.105, 42.108, 42.111, 42.118, 42.119, 42.12, 42.121, 42.123, 42.128, 42.131, 42.135, 42.137, 42.14, 42.146, 42.147, 42.148, 42.149, 42.155, 42.156, 42.158, 42.163, 42.164, 42.165, 42.166, 42.167, 42.168, 42.176, 42.177, 42.179, 42.185, 42.188, 42.189, 42.19, 42.192, 42.199, 46.801, 46.808, 46.811, 46.812, 46.817, 46.823, 46.828, 46.829, 46.835, 46.836, 46.838, 46.84, 46.842, 46.845, 46.853, 46.857, 46.862, 46.865, 46.867, 46.872, 46.874, 46.883, 46.884, 46.893, 46.897, 72.201, 72.204, 72.21, 72.213, 72.215, 72.228, 72.229, 72.234, 72.245, 72.25, 72.252, 72.272, 72.273, 72.277, 72.284, 72.288, 72.29, 72.294, 72.295, 74.9, 74.902, 74.903, 74.905, 74.906, 74.912, 74.914, 74.915, 74.917, 74.921, 74.924, 74.925, 74.927, 74.929, 74.93, 74.934, 74.938, 74.939, 74.94, 74.943, 74.944, 74.95, 74.956, 74.957, 74.958, 74.961, 74.963, 74.967, 74.968, 74.973, 74.975, 74.977, 74.979, 74.982, 74.983, 74.984, 74.985, 74.987, 74.989, 74.996, 74.998, 78.001, 78.006, 78.007, 78.008, 78.011, 78.013, 78.016, 78.018, 78.023, 78.027, 78.028, 78.03, 78.032, 78.035, 78.036, 78.045, 78.049, 78.052, 78.059, 78.06, 78.063, 78.064, 78.068, 78.072, 78.075, 78.076, 78.078, 78.082, 78.083, 78.084, 78.085, 78.088, 78.093, 78.097, 79.0, 79.001, 79.002, 79.003, 79.004, 79.005, 79.006, 79.007, 79.008, 79.009, 79.01, 79.011, 79.012, 79.013, 79.014, 79.015, 79.016, 79.017, 79.018, 79.019, 79.02, 79.021, 79.022, 79.023, 79.024, 79.025, 79.026, 79.027, 79.028, 79.029, 79.03, 79.031, 79.032, 79.033, 79.034, 79.035, 79.036, 79.037, 79.038, 79.039, 79.04, 79.041, 79.042, 79.043, 79.044, 79.045, 79.046, 79.047, 79.048, 79.049, 79.05, 79.051, 79.052, 79.053, 79.054, 79.055, 79.056, 79.057, 79.058, 79.059, 79.06, 79.061, 79.062, 79.063, 79.064, 79.065, 79.066, 79.067, 79.068, 79.069, 79.07, 79.071, 79.072, 79.073, 79.074, 79.075, 79.076, 79.077, 79.078, 79.079, 79.08, 79.081, 79.082, 79.083, 79.084, 79.085, 79.086, 79.087, 79.088, 79.089, 79.09, 79.091, 79.092, 79.093, 79.094, 79.095, 79.096, 79.097, 79.098, 79.099, 46.807, 46.876, 68.211, 72.225, 72.236, 74.988, 78.01, 78.019, 78.029, 27.719, 27.743, 46.837, 72.255, 27.721, 27.739, 72.223, 78.057], [ 27.733, 27.745, 27.751, 27.776, 27.787, 27.793, 27.799, 32.3, 32.312, 32.313, 32.321, 32.333, 32.339, 32.343, 32.356, 32.361, 32.365, 32.366, 32.367, 32.369, 32.384, 32.392, 32.396, 32.398, 32.399, 36.312, 36.314, 36.318, 36.345, 42.102, 42.103, 42.105, 42.106, 42.121, 42.131, 42.146, 42.156, 42.158, 42.166, 42.168, 42.174, 42.185, 42.192, 46.845, 46.872, 72.252, 72.257, 72.269, 79.028, 79.034, 79.038, 79.057, 79.066, 79.068, 79.07, 79.089 ], [ 27.704, 27.706, 27.716, 27.723, 27.729, 27.751, 27.773, 27.799, 32.321, 32.339, 32.344, 32.361, 32.365, 32.384, 32.398, 46.845, 46.872, 72.202, 72.257, 72.269, 79.038, 79.057, 79.066, 79.068, 79.07, 79.072, 32.335, 32.396 ], [ 10.101, 10.107, 10.11, 10.111, 10.113, 10.118, 10.119, 10.12, 10.123, 10.124, 10.126, 10.127, 10.141, 10.143, 10.144, 10.145, 10.147, 10.15, 10.153, 10.156, 10.157, 10.158, 10.161, 10.163, 10.167, 10.168, 10.169, 10.17, 10.174, 10.18, 10.183, 10.184, 10.187, 10.197, 20.607, 20.61, 20.654, 20.661, 20.694, 20.699, 27.703, 27.704, 27.706, 27.715, 27.716, 27.717, 27.719, 27.72, 27.721, 27.722, 27.723, 27.727, 27.729, 27.731, 27.733, 27.737, 27.74, 27.751, 27.758, 27.762, 27.773, 27.775, 27.776, 27.787, 27.793, 27.794, 27.797, 27.799, 32.3, 32.301, 32.303, 32.304, 32.305, 32.307, 32.308, 32.309, 32.31, 32.312, 32.313, 32.318, 32.321, 32.322, 32.323, 32.324, 32.325, 32.326, 32.328, 32.332, 32.333, 32.335, 32.336, 32.337, 32.339, 32.34, 32.341, 32.342, 32.343, 32.344, 32.345, 32.346, 32.348, 32.349, 32.35, 32.351, 32.352, 32.353, 32.354, 32.355, 32.356, 32.357, 32.358, 32.359, 32.36, 32.361, 32.362, 32.363, 32.364, 32.365, 32.366, 32.367, 32.368, 32.369, 32.37, 32.371, 32.373, 32.374, 32.375, 32.377, 32.382, 32.383, 32.384, 32.386, 32.388, 32.389, 32.391, 32.392, 32.393, 32.395, 32.396, 32.397, 32.398, 32.399, 36.301, 36.308, 36.309, 36.311, 36.316, 36.324, 36.326, 36.328, 36.329, 36.331, 36.334, 36.337, 36.338, 36.346, 36.356, 36.36, 36.362, 36.373, 36.374, 36.382, 36.384, 36.39, 36.392, 36.395, 42.1, 42.102, 42.103, 42.105, 42.106, 42.108, 42.118, 42.119, 42.121, 42.123, 42.124, 42.126, 42.128, 42.129, 42.131, 42.134, 42.135, 42.144, 42.146, 42.15, 42.155, 42.156, 42.157, 42.158, 42.163, 42.164, 42.166, 42.167, 42.172, 42.174, 42.175, 42.176, 42.177, 42.179, 42.18, 42.185, 42.187, 42.188, 42.189, 42.192, 42.193, 42.198, 46.845, 68.2, 68.201, 68.202, 68.203, 68.205, 68.207, 68.208, 68.209, 68.212, 68.213, 68.214, 68.221, 68.222, 68.224, 68.226, 68.228, 68.23, 68.231, 68.232, 68.233, 68.234, 68.237, 68.24, 68.244, 68.245, 68.247, 68.25, 68.251, 68.252, 68.253, 68.254, 68.256, 68.258, 68.259, 68.26, 68.261, 68.262, 68.265, 68.266, 68.268, 68.269, 68.271, 68.272, 68.273, 68.274, 68.275, 68.277, 68.278, 68.279, 68.283, 68.284, 68.285, 68.286, 68.287, 68.289, 68.29, 68.292, 68.293, 68.296, 68.297, 72.201, 72.202, 72.205, 72.207, 72.21, 72.213, 72.217, 72.228, 72.232, 72.234, 72.247, 72.252, 72.257, 72.269, 72.277, 72.278, 72.281, 72.282, 72.294, 72.295, 74.9, 74.903, 74.905, 74.906, 74.912, 74.921, 74.924, 74.939, 74.942, 74.944, 74.95, 74.961, 74.987, 78.036, 79.011, 79.017, 79.018, 79.019, 79.02, 79.023, 79.026, 79.03, 79.034, 79.035, 79.036, 79.038, 79.041, 79.044, 79.046, 79.049, 79.057, 79.06, 79.061, 79.066, 79.068, 79.069, 79.07, 79.072, 79.074, 79.078, 79.079, 79.08, 79.083, 79.084, 79.085, 79.089, 79.09, 79.091, 79.097, 79.098, 79.099, 10.1, 10.103, 10.104, 10.105, 10.115, 10.116, 10.129, 10.13, 10.135, 10.139, 10.151, 10.152, 10.154, 10.155, 10.164, 10.173, 10.176, 10.179, 10.185, 10.19, 10.192, 10.195, 10.198, 10.199, 32.314, 32.32, 36.354, 36.397, 42.19, 42.199, 72.25, 74.93, 74.973, 74.979, 74.988, 72.214, 72.225, 72.285, 78.093, 79.024, 79.076, 79.088, 78.032, 42.11, 66.907 ] ]
  name: [ "background", "burnscar", "fire", "smoke" ] #i.e. smoke
  compare_truth: false
  generate_union: false

Last updated