MESA Trainings¶
Short tutorials for getting things done on MESA, the Multidisciplinary Environment for Scientific Advancement. Each one takes you through a single task in five to ten minutes, tells you what you should see at every step, and ends with a check that shows whether it worked.
They are written for two readers: people preparing for a MESA training session, and anyone using MESA who wants to get one thing done. You do not need to be part of a training program to use them.
New to MESA? Start here Choose a pathway All tutorials
These tutorials are drafts
The portal tutorials were written from the MESA documentation, and the code in the data tutorials was run on a laptop. None has yet been checked step by step on the live portal. Each page says so at the top and at the bottom. When a tutorial has been validated, its last line gives the date, who checked it, and what it was checked against.
Getting started¶
These five tutorials take you from nothing to a saved notebook, in order. You need a web browser and a free CyVerse account.
| I want to… | Tutorial | Time |
|---|---|---|
| Get into the portal | Sign in to the MESA Portal with a CyVerse account | 5 min |
| See the data MESA shares | Find MESA's community data in the Data Browser | 5 min |
| Be allowed to start apps on a new account | Ask CyVerse for access to interactive apps | 5 min |
| Start working in a notebook | Launch MESA JupyterLab with your Data Store mounted | 5–10 min |
| Not lose my work | Save your work where it survives the session | 5–10 min |
| Finish for the day | Stop an app and find your results | 5 min |
Working with data¶
These tutorials each teach one habit for checking data before you trust a result. They share one small synthetic practice dataset and one notebook, so do the first one first.
More in the portal, sharing, and AI agents¶
Ideas, explained¶
An explainer explains one idea in a page, with no steps to follow: what an AI agent is, where a figure in its answer came from, and how to read what it did.
Practise reading what an AI agent did¶
A trace card shows one short run of an AI agent on the practice data, as text, and asks whether its answer is supported. The answer is folded away until you open it. You need no agent, no model, and no key. Start with How to use the trace cards.
Bring your own data¶
The same steps work on data of your own. Bring your own data to MESA says what to bring, what to leave out, and how to check that it arrived.
Working in R¶
These use MESA RStudio Geospatial and the same practice data.
| I want to… | Tutorial | Time |
|---|---|---|
| Get a file into R | Load a file from your Data Store in RStudio | 5–10 min |
| See what the provider doubted | Tally a quality flag in R | 5 min |
| Run SQL on a Parquet file from R | Query a Parquet file with DuckDB from R | 10 min |
| Find an impossible value or a gap in R | Check a column's range and missing values in R | 5 min |
| Find doubled and missing days in R | Count records per day in R | 5–10 min |
| Join two tables in R without losing rows | Reconcile row counts before and after a join in R | 5–10 min |
| Hand over R work that runs | Leave an R script someone else can rerun | 5–10 min |
| See which rows a join left out, in R | Join two tables in R and keep the unmatched rows visible | 10 min |
| Compare gauges that report in different units, in R | Bring two units onto one scale in R | 10 min |
| Stop a row being counted twice, in R | Find and remove a repeated row in R | 5–10 min |
| Hand over a query from R | Save a query from R so someone else can run it | 5–10 min |
| Know what a column means before using it, in R | Read the data dictionary before the data, in R | 5 min |
| Put evening rain on the right day, in R | Turn UTC timestamps into local days in R | 10 min |
| Handle one row per kind of measurement, in R | Work with a long table in R | 5–10 min |
| See an odd value in a chart, in R | Plot a column to spot odd values in R | 10 min |
| Make sure a number is not an accident of the method, in R | Check a result a second way in R | 10 min |
| Notice rows a tally dropped, in R | Check that the parts add up to the whole in R | 10 min |
| Use one month to question another, in R | Compare two files that should look alike in R | 10 min |
| Put points on a map | Map point data with sf in MESA RStudio Geospatial | 10 min |
The other MESA apps¶
One first task in each of the apps besides JupyterLab and RStudio.
| I want to… | Tutorial | Time |
|---|---|---|
| Fetch a file from the web into my Data Store | Download a file from the web into your Data Store with MESA Cloud Shell | 5–10 min |
| Write and run a script | Write and run a Python script in MESA VS Code | 10 min |
| Use a program that needs a desktop | Open a file from your Data Store in a desktop program | 10 min |
| Leave a long command running | Keep a command running in MESA Cloud Shell after you close the tab | 10 min |
| Find every file that mentions a value | Find a value in every file of a folder with MESA VS Code | 5 min |
| Run a command beside a desktop program | Open a terminal in a Data Store folder on the MESA desktop | 5–10 min |
How a tutorial is laid out¶
Every tutorial has the same six parts, in the same order:
- You will: what you have at the end.
- You need: what to have ready, with links.
- Steps: one action each, followed by what you should see.
- Check it worked: one result that tells success from failure.
- If it didn't: the most likely slip, described by what you see.
- Next: the tutorials that follow, and the documentation page to read for more.
A tutorial never repeats the documentation. For the full picture of a screen or a feature, follow its Reference link to the MESA documentation.
More about MESA¶
- MESA website: what MESA is and who builds it
- MESA documentation: guides to the portal, the apps, and the MESA tools for AI agents
- MESA Portal: where the tutorials happen
Use and reuse¶
The tutorials are licensed CC BY 4.0: copy and adapt them, with credit. To fix one or write a new one, see Contribute a tutorial.
How AI was used¶
The pages on this site were drafted with an AI assistant and are drafts until a person has followed them. How AI was used says what that covers and how to tell, page by page.
For AI agents¶
This site is an Open Knowledge Format (OKF) v0.2
knowledge bundle with the same conventions as the MESA documentation. Start at
https://idss-mesa.github.io/trainings/llms.txt
or read For AI agents.
Machine-readable versions of this page: Markdown twin · raw source on GitHub · llms.txt · llms-full.txt (whole site). See For AI agents.