validate_product
Collection of functions to compare 2 CSLC HDF5 contents and metadata
cmd_line_parser()
Command line parser
Source code in src/compass/utils/validate_product.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
compare_cslc_metadata(file_ref, file_sec)
Compare reference and generated CSLC metadata
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_ref
|
File path to reference metadata file (golden dataset) |
required | |
file_sec
|
File path to secondary metadata file to use for comparison |
required |
Source code in src/compass/utils/validate_product.py
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 | |
compare_products(file_ref, file_sec, product_type)
Compare a reference and a newly generated (i.e., secondary) CSLC or static layer product
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_ref
|
File path to reference product (golden dataset) |
required | |
file_sec
|
File path to generated product to use for comparison |
required | |
product_type
|
Product type of CSLC or static_layers |
required |
Source code in src/compass/utils/validate_product.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | |
main()
Entrypoint of the script
Source code in src/compass/utils/validate_product.py
315 316 317 318 319 320 321 322 323 324 325 | |