Step 4: Fetch and Save Your Data

There are basically two strategies to working with data in Domino:

In this step, you’ll copy your data into the project using the MATLAB terminal. If you have not done so, please complete Step 3 to start a MATLAB workspace.

The starting file path in your MATLAB workspace is /mnt. By default, this is considered the root of your Domino project. If you add or modify files in /mnt, you can save them back to your project when you stop or sync the workspace.

MNT File Path MATLAB




Step 4.1: Fetch Your Data

In the command window, enter the following command to fetch some data from the US NOAA Climatology Service:

!curl -o tegel.csv https://www.ncei.noaa.gov/data/global-historical-climatology-network-daily/access/GME00121150.csv

The downloaded file will appear in the Current Folder file navigator of your MATLAB desktop.

Current Folder MATLAB

Note

Note that the temperature data is in tenths of Celsius degrees. Learn more here: README File for Daily Global Historical Climatology Network.




Step 4.2: Save Your Data to Your Domino Project

To save this data to your Domino project, click the Save & Push All button, enter an informative commit message, and then click Continue with Sync. After doing this, Domino will show you which files have changed during your session.

Save and Push All

Commit message

Work saved back to Domino

See the documentation for other ways of copying data into Domino and querying data from Domino.