geoSatView: creating videos from satellite data

Summary

I created geoSatView back in 2018 to visualize fires on the West Coast of the United States. This entry briefly discusses geoSatView along with providing example videos and links to the code.

Back in late 2018 there was a series of fires raging across California (see 2018 California wildfires). To help visualize the resulting smoke, I created an R script, now known as geoSatView, to crawl through NOAA's public GEOS-16 database, download the images, crop to an area around California and the Bay Area, and then output a movie with these cropped views along with a time stamp. This allowed easy visualization both of the smoke's spread along with getting a sense of the fluid dynamics of the fires' smoke and how it depended on changing weather and wind conditions.

With the advent of the historic 2020 California wildfires, I've made various upgrades to geoSatView, e.g. switching to GEOS-17 as it has a much nicer view of the west coast of the United States including the Pacific Ocean, allowing "fast-forwarding" through nighttime portions, and a small GUI to make it easier for users to run. In addition, I added support for Zoom Earth using the webshot package in R. One reason for this was to easily also have fire locations on the map in lieu of downloading and incorporating them myself into the GEOS-17 data, something I will leave for future iterations. Lastly, while the magick R package can be used write out videos, this requires loading/reading all of the images into R and then saving them to a video file. This is done much more efficiently and quickly by creating a text file with a list of all relevant images then using ffmpeg with the appropriate flags, so I added that as an alternative option for users with ffmpeg on their systems (which should be everyone...).

In general these changes, along with other re-factoring of the code, make geoSatView more usable and versatile going forward. Additional features and updates forthcoming.

The code to run in R can be found below:

The data that was used for the animations can be found at the below URLs. Note that those NOAA GEOS websites only make available recent data, hence geoSatView needs to be run ever couple of days if you want to get a week(s)-long animation.

geoSatView videos

Below are animations for prior videos made using geoSatView. Mainly focused during times of fires flaring up along the west coast of the United States.

West Coast Fires as of 2020-09-18

NOAA (Sept. 7-18th, 2020)

Zoom Earth (Sept. 2-18th, 2020)

2019-10-28 California Fires

2018-11-11 California Fires

geoSatView gifs

West Coast Fires as of 2020-09-13

NOAA

Zoom Earth

2020-09-11 West Coast Fires

2020-08-19 California Fires

2019-10-28 California Fires

-biafra
bahanonu [at] alum.mit.edu

additional articles to journey through:

satellite-based videos: eastern europe during the russia-ukraine conflict
30 november 2022 | satellite

To visualize the nighttime lights of Eastern Europe, with a focus on times before and after the ongoing Russia-Ukraine conflict, I updated [...]my geoSatView R code originally built to view forest fires in the west coast of the United States to use satellite data from VNP46A1 and other datasets collected from the Suomi NPP VIIRS satellite.

I then created higher-quality movies in MATLAB by using the VNP46A2 Black Marble dataset collected by the same satellite, which has reduced cloud and other artifacts due to additional data processing. This allowed me to quantitate a permanent reduction in nighttime lights within Ukraine (in line with my initial hypothesis) and identify a multi-stage reduction of nighttime lights in Kiev's outer neighborhoods/metropolitan area that was greater than that seen in the city core/center. This highlights the utility of public satellite data to quickly test hypotheses and visualize large-scale changes.

I will go over how the Black Marble dataset is collected and processed along with how I created the movies and the advantages/disadvantages of each data source.

Using this platform and codebase, in follow-up posts I will look at 2021 Texas power crisis during the winter storms, vegetation changes in deforested areas or after conservation efforts, and other events.

state of sbsa: a review of 2017 and thoughts on future directions
04 june 2017 | sbsa

I spent the past year leading the Stanford Biosciences Student Association (SBSA) as President. This post consist of the letter to the comm[...]unity I sent out at the end of my term giving some highlights of the past year, those who have helped out, and thoughts on future directions.

social chair spring 2012
27 december 2011 | psk

My terms as social chair during Fall 2011 went quite well, but there were several things I was unsatisfied with. This presentation outlines[...] several different areas I would like to see improved.

Determining Fear
24 December 2012 | designs

Wanted a quick function to determine how fearful I should be (or shoul[...]d have been) under certain scenarios at particular points in my life.

©2006-2024 | Site created & coded by Biafra Ahanonu | Updated 21 October 2024
biafra ahanonu