Practice data: five invented rain gauges¶
Draft: not yet validated
The download below was run once in MESA JupyterLab with the first four files,
before readings_august.csv was added. Nobody has yet followed this page from
start to finish.
Tell us what you find.
The data tutorials on this site all use the same few small files, so you can practise a technique without first finding a dataset.
The data is synthetic. It was generated for these tutorials by
scripts/make_practice_data.py:
five invented rain gauges, with daily readings for July and August 2026 and one week
of hourly observations from one of them. It describes no
real place and no real measurement. Like real data, it is not perfectly clean, and the
tutorials show you how to find out where.
The files¶
| File | Rows | One row is |
|---|---|---|
gauges.csv |
5 | one rain gauge |
readings.csv |
152 | one reading from one gauge, July 2026 |
readings_august.csv |
151 | one reading from one gauge, August 2026 |
observations.csv |
336 | one hourly measurement of one kind |
gauge_sites.csv |
5 | the position of one rain gauge |
Data dictionary¶
gauges.csv
| Column | Meaning |
|---|---|
gauge_id |
Identifier, G01 to G05 |
name |
Boathouse, Orchard, Observatory, Depot, or Quarry |
unit |
The unit this gauge reports in |
elevation_m |
Elevation in metres |
readings.csv and readings_august.csv
The two files have the same columns. The first holds July 2026 and the second August
2026. The tutorials use readings.csv unless they say otherwise.
| Column | Meaning |
|---|---|
gauge_id |
Which gauge took the reading |
date |
Day of the reading, as YYYY-MM-DD |
value |
Rainfall for that day, in the gauge's own unit |
flag |
Blank, or S for a reading the sensor marked suspect |
gauge_sites.csv
| Column | Meaning |
|---|---|
gauge_id |
Which gauge |
longitude |
Longitude in decimal degrees, WGS 84; negative is west |
latitude |
Latitude in decimal degrees, WGS 84 |
The coordinates are invented and mark no real instruments.
observations.csv
| Column | Meaning |
|---|---|
gauge_id |
Which gauge; all rows are from G03, Observatory |
timestamp_utc |
Start of the hour, in UTC, as YYYY-MM-DDTHH:MM:SSZ |
measurement |
What was measured: rain_mm (rainfall in the hour, in millimetres) or air_temp_c (air temperature, in degrees Celsius) |
value |
The measured number, in the unit its measurement names |
The invented campus keeps US Mountain Time (America/Denver), six hours behind UTC in
July. The observations cover 10 to 16 July 2026 in local time.
Copy the files into your Data Store¶
- In MESA JupyterLab, double-click home in the file browser, then the folder named after your CyVerse username.
- Click the New Folder button, name the folder
mesa-practice, and open it. -
Choose File → New → Notebook. In the Select Kernel box, change the choice to Python 3 (ipykernel) (it starts on another language) and click Select. Then run this cell:
from urllib.request import urlretrieve base = "https://idss-mesa.github.io/trainings/assets/practice/" for name in ["gauges.csv", "readings.csv", "readings_august.csv", "observations.csv", "gauge_sites.csv"]: urlretrieve(base + name, name)
The five files then appear in mesa-practice, beside the notebook. Because the folder is in
your Data Store, they are still there the next time you start an app.
You can also download the files from the links above and upload them with the portal's Data Browser; see Managing data, "Upload, create, move, and delete".
Next¶
The practice data is released under CC BY 4.0, like the rest of this site.
This page was drafted with AI assistance.
Machine-readable versions of this page: Markdown twin · raw source on GitHub · llms.txt · llms-full.txt (whole site). See For AI agents.