Using the NOAA National Digital Forecast Database (NDFD), provided via the Cornell EAS Convenience Data Lake, we can make a high-resolution forecast animation of sky cover and wind speed for any region in the Contiguous US.
This visual can be used to supplement predictions for the general energy output of solar and wind farms.
-
All you need is the AWS CLI installed and your AWS Account Credentials with Administrator Access configured via environment variables
-
Take a look at the
config.sh
file to change betweensky
orwspd
predictions, to change the coordinates/area of your map, or to change the timezone for the map timestamps -
Run the
./forecast
script to deploy the serverless resources to your AWS Account and monitor the progress -
Examine the generated animation provided at the link in the output
-
Serverless resources are deployed to your AWS Account via CloudFormation
-
AWS CodeBuild installs dependencies and deploys a Python Lambda Function
-
AWS Step Functions runs a State Machine that produces an NDFD Forecast Animation
-
Amazon Athena is used to query the latest NDFD forecast via the Cornell EAS Convenience Data Lake
-
Python is used to consume the query results and produce a GIF forecast animation using Cartopy and Matplotlib