Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get the fire/hotspot characterization dataset. | |
var fdcCol = ee.ImageCollection('NOAA/GOES/17/FDCF') | |
.filterDate('2020-09-05T15:00', '2020-09-06T02:00'); | |
// Identify fire-detected pixels of medium to high confidence. | |
var fireMaskCodes = [10, 30, 11, 31, 12, 32, 13, 33, 14, 34, 15, 35]; | |
var confVals = [1.0, 1.0, 0.9, 0.9, 0.8, 0.8, 0.5, 0.5, 0.3, 0.3, 0.1, 0.1]; | |
var defaultConfVal = 0; | |
var fdcVisCol = fdcCol.map(function(img) { | |
var confImg = img.remap(fireMaskCodes, confVals, defaultConfVal, 'Mask'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change display bands to false color. | |
visParams.bands = ['CMI_C05', 'CMI_C03', 'CMI_GREEN']; | |
print(ui.Thumbnail(geosVisCol, visParams)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get CMI image collection and process it for visualization. | |
var geosVisCol = ee.ImageCollection('NOAA/GOES/17/MCMIPF') | |
.filterDate('2020-09-05T15:00', '2020-09-06T02:00') | |
.map(processForVis); | |
// Set display parameters and render the animation. | |
var visParams = { | |
bands: ['CMI_C02', 'CMI_GREEN', 'CMI_C01'], | |
min: 0, | |
max: 0.8, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Applies scaling factors. | |
var applyScaleAndOffset = function(img) { | |
var getFactorImg = function(factorNames) { | |
var factorList = img.toDictionary().select(factorNames).values(); | |
return ee.Image.constant(factorList); | |
}; | |
var scaleImg = getFactorImg(['CMI_C.._scale']); | |
var offsetImg = getFactorImg(['CMI_C.._offset']); | |
var scaled = img.select('CMI_C..').multiply(scaleImg).add(offsetImg); | |
return img.addBands({srcImg: scaled, overwrite: true}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This script generates a GOES animation of MCMIP overlayed with FDC to | |
* show fire progression. | |
*/ | |
// ############################################################################# | |
// ### INPUTS ### | |
// ############################################################################# | |
// Area of interest. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ############################################################################# | |
// ### INPUTS ### | |
// ############################################################################# | |
var COL_ID = ee.ImageCollection("COPERNICUS/S1_GRD"); | |
var PERIOD = 0.1; // Today to PERIOD months prior | |
// ############################################################################# | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.