Skip to content

Workflow to acquire Landsat Collection 2 Surface Reflectance and Surface Temperature products

License

Notifications You must be signed in to change notification settings

rossyndicate/Landsat_C2_SRST

Repository files navigation

Landsat Collection 2 Surface Reflectance and Temperature Acquisition hub

Workflow to acquire Landsat Collection 2 Surface Reflectance and Surface Temperature products for lakes and reservoirs from point locations or lake polygons. The output of this workflow is stored in your Google Drive as tabular summaries of band data for your area of interest.

This repository is covered by the MIT use license. We request that all downstream uses of this work be available to the public when possible.

Primary repository contact: B Steele

Repository Overview

This repository is powered by {targets}, an r-based workflow manager. In order to use this workflow, you must have a Google Earth Engine account, and you will need to download, install, and initialize gcloud. For common issues with gcloud, please see the notes here.

Requirements

Note, before any code that requires access to Google Earth Engine is run, you must execute the following command in your zsh terminal and follow the prompts in your browser:

earthengine authenticate

When complete, your terminal will read:

Successfully saved authorization token.

This token is valid for 7 days from the time of authentication.

Completing the config.yml file

Configuration of the config.yml file is necessary for this workflow to function.

[[this section to contain a bunch more info later]]

Local Settings

location file: must contain lat, lon, uniqueid

Google Settings

Temporal Settings

Spatial Settings

Google Earth Engine Settings

Running the workflow

When your configuration file is complete and you have successfully authenticated your Earth Engine account, you are ready to run the {targets} pipeline! There are two steps to this:

  1. update line 5 of the _targets.R file with the name of your config file

  2. run the run_targets.Rmd file

Folder architecture

  • _targets contains output of the _targets.R package and can be ignored.
  • example_yml contains some example yml files for running this workflow, and the associated location data
  • data_acquisition contains the sourced functions in the _targets.R workflow, as well as an in and out folder which store end-user's data, though these files are not tracked (other than the WRS2 shapefile) by GitHub.

About

Workflow to acquire Landsat Collection 2 Surface Reflectance and Surface Temperature products

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published