Ocean temperature anomalies
On my previous website I tried to implement pulling this data from an environmental data API provided by Wekeo. It worked ok, but pulling new data was too slow (about 20 seconds) which basically made an ondemand map unusable. If I were to implement this again, I would fetch the data on a cron schedule and save it somewhere so the user doesn’t need to wait for the API on page load. However the GDAL library can’t be installed by PIP itself, so I won’t be able to get this working in Vercel. In the meantime, since the final result is a HTML file generated by Folium, I may as well upload the static file here for everyone to see from my last run.
I used the Python requests library to call the api, and used the ocean names from http://www.marineregions.org/ together with QGIS to delineate the ocean boundaries.
In case you are wondering, an anomaly is the difference between the temperature measured by the satellite (and apparently some ocean buoys) and an average over a date range, which I think is 30 years. My map is a breakdown of this difference by ocean. My map will also teach you ocean names.