Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Overview

Within this notebook, we will create interactive visualizations of METAR data at a single hour. We will use the following libraries for our visualizations:

  1. Geopandas

Prerequisites

ConceptsImportanceNotes
Cartopy IntroRequiredProjections and Features
PandasRequiredTabular Datasets
  • Time to learn: 20 minutes


Imports

By default, set the date and time to one hour prior to the current time. Or, specify a past date and hour.

The timestamps of many hourly METAR reports are 5-10 minutes prior to the top of the hour. When we make our DuckDB query, we will specify a beginning and end time, one hour apart.

2026-10-01 03:27:36.425696 2026-10-01 04:27:36.425696
'2026-10-01 0400 UTC'
['https://data.source.coop/dynamical/asos-parquet/year=2026/data.parquet']

Open the GeoParquet file for the specific year.

Loading...
Loading...
Loading...
Loading...
Loading...

Now, let’s choose a specific variable ... in this case, tmpc (2-meter temperature in °C)

Loading...

Plot hourly precipitation

Loading...

Add a title to the graphic

Loading...

References

What’s next?

We will use Lonboard as an additional interactive visualization tool.