This article covers file management, upload, and download within the EarthAI Notebook environment.
First, it is useful to clarify what we mean by local storage in EarthAI. Typically, local storage refers to files stored on your device's hard drive/memory. However, since EarthAI is a cloud-based platform, the "local" file system instead refers to files that are stored directly on the compute resources that get allocated when the Notebook server is launched. In this article, we explicitly differentiate the two by referring to the former as files stored on the user's "device", and the latter as files stored "locally" in EarthAI.
To navigate directories in the file browser, you can single-click on the folder names along the top (circled in green below), or double-click on subfolders names (circled in pink below). To add a new directory, click on the folder plus icon (circled in blue below).
To upload data, a notebook, or any other type of file, click on the arrow icon (circled in blue below), which will open a file explorer where you can select files from your device to upload to the platform. Alternatively, you can drag-and-drop files from your device into the file browser to upload.
Note that files that are created or uploaded in the file browser are persisted across EarthAI Notebook sessions. This means that you do not have to download notebooks or other files each time that you shut down or restart a notebook server in order to save your work.
If your file size is very large, you may need to store it externally (such as on an AWS/S3 bucket) rather than locally to save space on your EarthAI instance.
You can download files from EarthAI's local storage to your device by right-clicking on the file and selecting Download, as shown below.
There are other useful operations that appear when you right click on a file:
- Delete will remove a file from your server. You will no longer have access to that file so think carefully before performing this action.
- Duplicate will make a copy of your file on the server within the same folder.
- Rename can be used to change the name of a file.