Diurnal CO2
CO2 is a well-known gas but a fine resolution to confirm a daily trend is far from easy. In this one, we will see a clear trend of CO2 concentration driven by photosynthesis/respiration
CO2 conc. increased during the night, peaking concentration near the sunrise. The opposite trend occurred during the day time.
CO2 conc. vs height
analyze high-resolution of CO2 hourly concentration provided by NOAA from selected stations in the U.S.
prove a trivial thesis that CO2 concentration are reducing as the intake height increases
produce a high-quality graph like the one below.
CO2 daily
This series of CO2 data analysis was a part of my effort to interpreting CO2 data from lowcost sensors. The sensors are located in a high-rise building near the center of Hanoi.
In this post, we will work with ESRL/NOAA data taken daily from several sites over the world. The sample was taken daily using flask sampling. The site was selected to refect various conditions of high photosynthesis, on a tiny island, a reference station in Mauna Loa (Hawaii)...
Extract RSS feed from NOAA for CO2 update
Experiment with requests
and feedparser
package to extract update on CO2 concentration from NOAA website
Exercise with web scraping, manipulate string and convert to Python object such as datetime, float and pack the data into dataframe. Finally, the data is plotted using matplotlib.pyplot
Embed images in Jupyter
Taking a variety of tools to embed images to the Jupyter Notebook. A few are: Using img
tag in HTML; converting image to a base64 string representation; using selenium
to render map created by folium
Convert images into base64 string is handy to avoid missing attached files and pack the document into one single file