MazamaScience / MazamaSatelliteUtils

Satellite Data Download and Utility Functions
http://mazamascience.github.io/MazamaSatelliteUtils
GNU Lesser General Public License v3.0
0 stars 0 forks source link

enhance createSpatialPointsVideo_exec.R #70

Closed jonathancallahan closed 4 years ago

jonathancallahan commented 4 years ago

In an effort to help USFS (and NASA) personnel understand how useful GOES AOD might be, they first need to see where it is available and what it shows. To satisfy this, we will make it easy to create short videos over areas of interest.

A first example script for creating videos is see in local_executables/createSpatialPointsVideo_exec.R. Several features to understand about this script:

The current version of this script only works with an hours worth of data and only allows for specification of a state of interest. The first few tasks with this code are all marked with TODO: in the code. They should be approached in the following order:

lagerratrobe commented 4 years ago

I implemented the features you requested above. I was a little unsure about the "fullDay" implementation you asked for, since we already had high-level functions that download and list teh files we need for a correct daylight timespan. I used those and added a "fullDay" command-line option to control the behaviour.

Everything seems to work well and watching the movie for an entire day is rather fun. Full-day movies and up being around 3.6 Mb for the bbox that I used.

lagerratrobe commented 4 years ago

Per our conversation, see about making the plot sizes uniform and styled in such a way that they look good, regardless of the extent passed in. Also see if it makes sense to use goesaodc_areaPlot() instead of making the calls to createSpatialPoints()