Skip to content

Self-checks

A self-check is one short question to try after a tutorial. Its answer comes from doing the task: most ask for a number the tutorial does not print, which you get with a small change to what it taught. They are for your own use. Nothing records or sends your answers unless you use the check on the tutorial's own page, and then only in your own browser.

Each answer is folded away. Try the question first.

1. Orient and navigate

Already at home here? If you can answer the 3 questions marked skip-check, you can skip this point. If one goes wrong, its tutorial covers it.

The path you copied stops at /iplant/home/shared, and the listing holds many projects that are not MESA's. Which did you click?

After Find MESA's community data in the Data Browser · skip-check.

The path you copied stops at /iplant/home/shared, and the listing holds many projects that are not MESA's. Which did you click?

  • Community
  • Shared
  • User Shared
Answer

Shared. Shared opens every CyVerse community project. Community is the MESA folder inside it.

If you answered Community: Community opens the MESA folder, and its path goes on to /iplant/home/shared/mesa.

Not machine-checked: this is about a portal screen, which only a person can confirm.

Which of these tells you that a file will still be there after the app stops?

After Save your work where it survives the session · skip-check.

  • It is listed in JupyterLab's file browser
  • The dot on the notebook's tab has gone
  • It is listed under My Files in the portal
Answer

It is listed under My Files in the portal. The Data Browser reads the Data Store directly, not the running app.

If you answered It is listed in JupyterLab's file browser: JupyterLab also lists files on the app's own disk, which is removed when the app ends.

If you answered The dot on the notebook's tab has gone: That means the notebook is saved, but not where. It may be on the app's own disk.

Not machine-checked: this is about a portal screen, which only a person can confirm.

Your analysis is listed under Canceled, not Completed. Which button ended it?

After Stop an app and find your results · skip-check.

  • Relaunch
  • Save & Exit
  • Terminate
Answer

Terminate. Terminate ends the app at once without saving its outputs.

If you answered Save & Exit: Save & Exit stops the app cleanly, and the analysis is then listed under Completed.

If you answered Relaunch: Relaunch starts the app again with the same settings. It does not end one.

Not machine-checked: this is about a portal screen, which only a person can confirm.

2. Run and understand

Already at home here? If you can answer the 3 questions marked skip-check, you can skip this point. If one goes wrong, its tutorial covers it.

Show the last row of readings. Which gauge and day is it?

After Load a file from your Data Store into a notebook.

Show the last row of readings. Which gauge and day is it?

  • G01, 2026-07-01
  • G03, 2026-07-31
  • G05, 2026-07-09
  • G05, 2026-07-31
Answer

G05, 2026-07-31. The file runs gauge by gauge, so it ends with G05 on the last day of July.

readings.tail(1)

If you answered G01, 2026-07-01: That is the first row, which head() shows. tail() shows the end.

Confirmed against the practice data each time this site is built.

The largest reading at G02 is 2.92. What is it in millimetres?

After Read the data dictionary before the data.

Answer

29.2 mm. G02 reports in centimetres, and a centimetre is ten millimetres.

If you answered 2.92: That is the value as stored, in centimetres. It has not been converted.

If you answered 0.292: That divides by ten. Centimetres to millimetres multiplies by ten.

Confirmed against the practice data each time this site is built.

How many readings have a value of exactly 0?

After Check a column's range and missing values · skip-check.

How many readings have a value of exactly 0?

Answer

80. More than half of the 152 readings are dry days.

(readings["value"] == 0).sum()

If you answered 150: That is the number of blank flags. The question is about value.

If you answered 72: Those are the readings above 0.

If you answered 0: No value is blank, but 80 of them are zero. A zero is a measurement, not a gap.

Confirmed against the practice data each time this site is built.

Leave out the flagged readings. What is the largest value that remains?

After Tally a quality flag before you trust a number · skip-check.

Leave out the flagged readings. What is the largest value that remains?

Answer

32.5. Without the suspect reading of 180, the largest is an ordinary wet day at G03.

readings.loc[readings["flag"] != "S", "value"].max()

If you answered 180: The flagged reading is still in. Keep only the rows whose flag is not S.

If you answered 2.92: That is the largest at G02 alone.

Confirmed against the practice data each time this site is built.

Remove exact repeats with drop_duplicates(). How many rows remain?

After Count records per day to find incomplete days · skip-check.

Remove exact repeats with drop_duplicates(). How many rows remain?

Answer

151. One row, G03 on 5 July, is written twice, so 152 becomes 151.

len(readings.drop_duplicates())

If you answered 152: That is the table as loaded. One row for G03 is written twice.

If you answered 155: That is a complete table, 5 gauges for 31 days. This one has four missing days as well as a repeat.

If you answered 1: That is how many rows are removed, not how many remain.

Confirmed against the practice data each time this site is built.

In local time, on how many days of the week did rain fall at G03?

After Turn UTC timestamps into local days.

Answer

5. Two of the seven local days were dry.

If you answered 6: That counts UTC dates. Evening rain crosses midnight UTC, so it spills into an extra date.

If you answered 7: That counts every day of the week. Two had no rain.

If you answered 8: That is the number of UTC dates the week touches, wet or dry.

Confirmed against the practice data each time this site is built.

In how many of the 168 hours is rain_mm above 0?

After Work with a long table, one row per kind of measurement.

In how many of the 168 hours is rain_mm above 0?

Answer

17. Rain fell in about one hour in ten.

(wide["rain_mm"] > 0).sum()

If you answered 168: That is every hour. Most of them are dry.

If you answered 336: That is every row of the long table, both measurements together.

Confirmed against the practice data each time this site is built.

What does sum(is.na(readings$flag)) return?

After Load a file from your Data Store in RStudio.

What does sum(is.na(readings$flag)) return?

Answer

150. All but two readings have a blank flag, and na.strings = "" reads a blank as missing.

If you answered 0: The file was read without na.strings = "", so blanks are empty text, not missing values.

If you answered 2: Those are the flagged readings. is.na() counts the ones with no flag.

Confirmed against the practice data each time this site is built.

Which gauge is furthest north?

After Map point data with sf in MESA RStudio Geospatial.

  • G01, Boathouse
  • G02, Orchard
  • G03, Observatory
  • G05, Quarry
Answer

G03, Observatory. Observatory has the largest latitude, so it sits at the top of the map.

If you answered G05, Quarry: Quarry has the smallest latitude. It is furthest south.

If you answered G01, Boathouse: Boathouse is furthest west. Its longitude is the most negative.

Confirmed against the practice data each time this site is built.

3. Query and connect

Already at home here? If you can answer the 2 questions marked skip-check, you can skip this point. If one goes wrong, its tutorial covers it.

After the join, how many rows have a unit of cm?

After Reconcile row counts before and after a join · skip-check.

After the join, how many rows have a unit of cm?

Answer

31. Only G02 reports in centimetres, and it has 31 readings.

(joined["unit"] == "cm").sum()

If you answered 1: That counts gauges. The join gives every one of G02's readings its unit.

If you answered 121: Those are the rows in millimetres.

Confirmed against the practice data each time this site is built.

With one SQL query on readings.parquet, count the readings above 20.

After Query a Parquet file with DuckDB from a notebook · skip-check.

With one SQL query on readings.parquet, count the readings above 20.

Answer

19. The count mixes units, as the file does, so G02's centimetre values never pass 20.

duckdb.sql("SELECT count(*) FROM 'readings.parquet' WHERE value > 20")

If you answered 10: That is the count above 25.

If you answered 152: That is every row. Add WHERE value > 20.

Confirmed against the practice data each time this site is built.

4. Explore and verify

Already at home here? If you can answer the 1 questions marked skip-check, you can skip this point. If one goes wrong, its tutorial covers it.

Convert G02 to millimetres, leave out the flagged readings, and drop the repeated row. Which gauge then has the largest July total?

After Check an AI-suggested result against the data · skip-check.

  • G05, 210.9 mm
  • G03, 251.1 mm
  • G03, 273.6 mm
  • G05, 390.9 mm
Answer

G03, 251.1 mm. Observatory leads once the data is cleaned. G01 is still missing four days, so even this is not yet a fair comparison.

If you answered G05, 390.9 mm: That total includes the reading of 180 that the sensor flagged as suspect.

If you answered G05, 210.9 mm: That is G05 without its flagged reading, but G03 is higher.

If you answered G03, 273.6 mm: The repeated row for 5 July is still counted twice.

Confirmed against the practice data each time this site is built.

Next

Machine-readable versions of this page: Markdown twin · raw source on GitHub · llms.txt · llms-full.txt (whole site). See For AI agents.