{"id":27656727,"url":"https://github.com/tyson-swetnam/emsi","last_synced_at":"2025-09-20T22:59:56.310Z","repository":{"id":110053507,"uuid":"116533015","full_name":"tyson-swetnam/emsi","owner":"tyson-swetnam","description":"ecosystem moisture stress index ","archived":false,"fork":false,"pushed_at":"2022-05-13T15:49:43.000Z","size":112044,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-18T14:50:45.274Z","etag":null,"topics":["data","google-earth-engine","javascript","python","rmarkdown"],"latest_commit_sha":null,"homepage":"https://tyson-swetnam.github.io/emsi","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyson-swetnam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-01-07T03:06:14.000Z","updated_at":"2025-01-13T19:16:38.000Z","dependencies_parsed_at":"2023-04-13T00:16:19.158Z","dependency_job_id":null,"html_url":"https://github.com/tyson-swetnam/emsi","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tyson-swetnam/emsi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyson-swetnam%2Femsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyson-swetnam%2Femsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyson-swetnam%2Femsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyson-swetnam%2Femsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyson-swetnam","download_url":"https://codeload.github.com/tyson-swetnam/emsi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyson-swetnam%2Femsi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276169663,"owners_count":25596956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","google-earth-engine","javascript","python","rmarkdown"],"created_at":"2025-04-24T06:43:01.153Z","updated_at":"2025-09-20T22:59:56.254Z","avatar_url":"https://github.com/tyson-swetnam.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip) [![license](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://opensource.org/licenses/GPL-3.0) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4648947.svg)](https://doi.org/10.5281/zenodo.4648947)\n\n# EMSI (Ecosystem Moisture Stress Index)\n\nCode, example data, and manuscript supplemental materials which accompany **Swetnam, T.L.; Yool, S.R.; Roy, S.; Falk, D.A. On the Use of Standardized Multi-Temporal Indices for Monitoring Disturbance and Ecosystem Moisture Stress across Multiple Earth Observation Systems in the Google Earth Engine. Remote Sens. 2021, 13, 1448. https://doi.org/10.3390/rs13081448**\n\nLead Author: [Tyson Lee Swetnam](http://tyson-swetnam.github.io/) [![](https://orcid.org/sites/default/files/images/orcid_16x16.png)](http://orcid.org/0000-0002-6639-7181)\n\nCo-Authors: [Donald A. Falk](https://snre.arizona.edu/people/donald-falk) [![](https://orcid.org/sites/default/files/images/orcid_16x16.png)](http://orcid.org/0000-0003-3873-722X), [Samapriya Roy](https://samapriya.github.io/) [![](https://orcid.org/sites/default/files/images/orcid_16x16.png)](https://orcid.org/0000-0002-1527-2602), \u0026 Stephen Yool.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/tyson-swetnam/emsi/main/images/emsi_graphic_abstract.svg\" height=400\u003e\u003c/p\u003e\n\n## Contents\n\nThe repository is organized (in the attempt) to enable reproducible research as part of the [FAIR data principles](https://www.go-fair.org/fair-principles/). \n\nYou can (re)run these analyses using your own computer, on commercial cloud, or a data science workbench [CyVerse](https://cyverse.org) Discovery Environment. \n\nSee our [Wiki](https://github.com/tyson-swetnam/emsi/wiki) for additional details on the background for this work.\n\nClone the repo to your local or VM:\n\n```\ngit clone https://github.com/tyson-swetnam/emsi\n```\n\n```\ngh repo clone tyson-swetnam/emsi\n```\n\n### /data\n\nTabular time series data presented in the manuscript. \n\nRaster data are from [NASA data archive](https://earthdata.nasa.gov/earth-observation-data) services (e.g., [landsat](https://landsat.gsfc.nasa.gov/data/), [modis](https://modis.gsfc.nasa.gov/data/)) and ESA data services. Data are also hosted as [Google Earth Engine Collections](https://developers.google.com/earth-engine/datasets/). These raster data can be extracted to your local computer using our example `/python/*.py` scripting and `/rmd/*.Rmd` notebooks. \n\nPreviously extracted data are stored as `.csv` and geotiff `.tif` files on [CyVerse Data Store](https://data.cyverse.org/dav-anon/tswetnam/emsi), and R Markdown notebooks are provided in this repo which wil extract and render these data as the tables and figures used in the main text.\n\nAdditional derivative imagery layers from Google Earth Engine (GEE) are hosted on [CyVerse DataCommons](http://datacommons.cyverse.org/). \n\nOriginal commercial imagery are available from [Planet.com](https://planet.com).\n\n### /docker\n\nWe are hosting RStudio Server containers on CyVerse for reproducing the Rmd figures.\n\nDockerfiles w/ automated container builds hosted on [![DockerHub](https://img.shields.io/badge/DockerHub-blue.svg?style=popout\u0026logo=Docker)](https://hub.docker.com/r/cyversevice/rstudio-geospatial) [![CircleCI](https://circleci.com/gh/cyverse-vice/rstudio-geospatial.svg?style=svg)](https://circleci.com/gh/cyverse-vice/rstudio-geospatial) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4527797.svg)](https://doi.org/10.5281/zenodo.4527797)\n\nContainer can be run on [CyVerse Discovery Environment](https://sonora.cyverse.org) \u003ca href=\"https://sonora.cyverse.org/apps/de/6943b4f2-b663-11ea-92c5-008cfa5ae621/launch?quick-launch-id=31dcb760-f872-4c1a-850a-a4a6a25febc4\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://sonora.cyverse.org/Powered-By-CyVerse-blue.svg\"\u003e\u003c/a\u003e \n\nOther CyVerse VICE images: https://github.com/cyverse-vice \n\n### /ipynb\n\nNotebooks (Python3) for data analyses and extraction with GEE \u0026 Planet Labs enabled Jupyter Notebooks.\n\n### /javascripts\n\nThe JavaScript code used within [Earth Engine Code UI](https://code.earthengine.google.com/) for the intial time series point extractions, cloud-free NDVI calculations, and EMSI calculations within GEE. The [EMSI utils code repo could be found here](https://code.earthengine.google.com/?accept_repo=users/samapriya/emsi-utils) once added it should appear in your reader repositories. This contains code to generate a multiband EMSI product and to then generate a video from the multiband imagery.\n\nYou can also clone the repo scripts for Earth Engine directly by running:\n\n```\ngit clone https://earthengine.googlesource.com/users/tswetnam/emsi\n```\n\nCalculate and export EMSI time series videos from GEE:\n\n```\ngit clone https://earthengine.googlesource.com/users/samapriya/emsi-utils\n```\n\n### /rmd\n\nR Markdown files with statistical data analyses for figures in manuscript. \n\nThese Rmd are also hosted as HTML on the CyVerse Data Store\n\n[Okavango Delta example](https://data.cyverse.org/dav-anon/iplant/home/tswetnam/emsi/rmd/okavango-rasters-analyses.html)\n\n[US-Mexico Border grasslands example](https://data.cyverse.org/dav-anon/iplant/home/tswetnam/emsi/rmd/usmex-rasters-analyses.html)\n\n[Acre Rainforest example](https://data.cyverse.org/dav-anon/iplant/home/tswetnam/emsi/rmd/acre-rasters-analyses.html)\n\n[Yakutia Taiga Forest example](https://data.cyverse.org/dav-anon/iplant/home/tswetnam/emsi/rmd/yakutia-rasters-analyses.html)\n\n### /python\n\nPython `.py` files for extracting image collections to Google Drive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyson-swetnam%2Femsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyson-swetnam%2Femsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyson-swetnam%2Femsi/lists"}