theoway / goes-16

0 stars 1 forks source link

Map fire codes in pixels to probabilities, in the range [-1, 1] #6

Closed theoway closed 11 months ago

theoway commented 11 months ago

var fire_mask_codes = [10, 30, 11, 31, 12, 32, 13, 33, 14, 34, 15, 35]; # from input raster var confidence_values = [1.0, 1.0, 0.9, 0.9, 0.8, 0.8, 0.5, 0.5, 0.3, 0.3, 0.1, 0.1]; # values in output raster Any other mask code value should be assigned value -1

Note- this is meant to be done only for mask band. Not applicable for other bands.