Download a file from the web into your Data Store with MESA Cloud Shell¶
Draft: not yet validated
These steps were followed once in the app on 2026-11-13, by the AI assistant that drafted them. No person has yet followed them, so a screen may differ. Tell us what you find.
MESA Cloud Shell is a terminal in your browser. It is the quickest app to start, and a file it downloads goes straight into your Data Store without passing through your own computer.
You will: have a file from a web address saved in your Data Store.
Time: 5 to 10 minutes. You need: to be signed in to the MESA Portal.
Steps¶
-
In the portal, click Applications, and on the MESA Cloud Shell card click Instant Launch. Wait for the app to open; it can take a minute or two.
You should see: a terminal with a MESA welcome screen and a prompt that ends in
~/data-store $>. -
Go to your home folder in the Data Store:
cd ~/data-store/home/$IPLANT_USER pwdYou should see: the path, ending in your CyVerse username.
/home/jovyan/data-store/home/<your username> -
Make a folder for the file and go into it:
mkdir -p mesa-practice cd mesa-practiceYou should see: the prompt now ends in
mesa-practice $>. -
Fetch the file.
-Okeeps the file's own name:curl -O https://idss-mesa.github.io/trainings/assets/practice/readings.csvYou should see: a progress table whose first number reaches
100. -
Check what arrived:
wc -l readings.csv head -3 readings.csvYou should see: the line count, then the first three lines.
153 readings.csv gauge_id,date,value,flag G01,2026-07-01,0.0, G01,2026-07-02,0.0, -
In the portal's browser tab, click Data Browser, then My Files, and open mesa-practice.
You should see:
readings.csvin the listing.
Check it worked¶
readings.csv is in My Files → mesa-practice in the portal, and wc -l counted
153 lines: a header and 152 readings.
If it didn't¶
head shows HTML such as <!doctype html> instead of data. The address was
wrong, and curl saved the website's error page under the file's name. Delete it with
rm readings.csv, check the address, and run step 4 again. Adding -f to curl
makes it refuse to save an error page.
Next¶
- Stop an app and find your results, when you have finished with the terminal.
- Load a file from your Data Store into a notebook
- Reference: MESA CLI (Cloud Shell), for what else the terminal contains.
Not yet validated by a person. Drafted with AI assistance on 2026-11-13 and followed once in the app that day.
Machine-readable versions of this page: Markdown twin · raw source on GitHub · llms.txt · llms-full.txt (whole site). See For AI agents.