Skip to content

Instantly share code, notes, and snippets.

View jdbcode's full-sized avatar

Justin Braaten jdbcode

View GitHub Profile
@jdbcode
jdbcode / ee_cartopy_polar_coordinate_ndvi.ipynb
Last active October 12, 2021 17:35
ee_cartopy_polar_coordinate_ndvi.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdbcode
jdbcode / ee_goes_bootleg_fire_progression.js
Last active July 21, 2021 15:45
Earth Engine GOES Bootleg fire progression
/**
* This script generates a GOES animation of MCMIP overlayed with FDC to
* show fire progression.
*/
// #############################################################################
// ### INPUTS ###
// #############################################################################
// Area of interest.
@jdbcode
jdbcode / ee_dataset_latency_calculator.js
Created July 16, 2021 18:18
Earth Engine dataset latency calculator
// #############################################################################
// ### INPUTS ###
// #############################################################################
var COL_ID = ee.ImageCollection("COPERNICUS/S1_GRD");
var PERIOD = 0.1; // Today to PERIOD months prior
// #############################################################################
@jdbcode
jdbcode / ee_landtrendr_ftv_deck_viz.ipynb
Last active February 17, 2024 08:55
Earth Engine LandTrendr FTV image time series deck visualization
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdbcode
jdbcode / ee_pdsi_explorer_global.md
Last active May 27, 2023 13:18
An Earth Engine App script that displays a global PDSI map and time series chart

Earth Engine App
Earth Engine Code Editor script

/**
 * @license
 * Copyright 2021 The Google Earth Engine Community Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@jdbcode
jdbcode / ee_pdsi_explorer_conus.md
Last active June 2, 2023 15:49
An Earth Engine App script that displays a PDSI map and time series chart for CONUS

Earth Engine App
Earth Engine Code Editor script

/**
 * @license
 * Copyright 2021 The Google Earth Engine Community Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@jdbcode
jdbcode / landsat_5_8_rgb_time_series_explorer.js
Last active June 22, 2021 21:48
Landsat 5 and 8 RGB time series explorer
/**
* @license
* Copyright 2021 Justin Braaten
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@jdbcode
jdbcode / goes_storm_ana_gif.ipynb
Last active June 1, 2021 23:20
goes_storm_ana_gif.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdbcode
jdbcode / medium_rstudio_cloud_rgee_nightlights.R
Last active May 22, 2021 18:20
[Medium] RStudio Cloud and rgee nightlights
library(rgee)
ee_Initialize()
createTimeBand <- function(img) {
year <- (ee$Date(img$get("system:time_start"))
$get("year")$subtract(1991L))
ee$Image(year)$byte()$addBands(img)
}
@jdbcode
jdbcode / medium_rstudio_cloud_rgee_precip.R
Last active May 21, 2021 22:59
[Medium] RStudio Cloud and rgee precip
library(rgee)
library(tidyverse)
library(sf)
ee_Initialize()
nc <- st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
terraclimate <- (ee$ImageCollection("IDAHO_EPSCOR/TERRACLIMATE")
$filterDate("2001-01-01", "2002-01-01")