Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 3.83 KB

loading_data.md

File metadata and controls

43 lines (30 loc) · 3.83 KB

Loading Data

To create any model or data processing pipeline, you will often need to load your data. For now, this will only be done with the File Picker Service. Files can be added either from your local computer, an existing Study, or from a file hosted publicly on the internet.

sources This image shows the different sources from which a file may be added to a Study.

Adding a Local File

To upload a file from your local computer to o²S²PARC, you have two options, outlined below. WARNING: only one file can be loaded into the File Picker at a time.

Option 1: Drag and Drop File

  1. Navigate to the Pipeline Workspace where you would like to upload the file into a File Picker Service.
  2. Open a the file browser of your local computer and find the file you would like to add.
  3. Drag and drop the file from your local file browser into the empty space of your Pipeline Workspace.

Your file will be uploaded into a File Picker Service, which you can then connect to another Service which needs access to this file.

dragdrop

Option 2: Create File Picker and Add File

  1. Create a File Picker Service by double clicking in the empty space of your Pipeline Workspace and choosing the File Picker Service in the resulting popup. It will now appear on your Pipeline Workspace.

  2. Click on the Upload button with a cloud icon.

    filepicker_tree

  3. In the dialog popup, you may choose the file you would like to add. For large files, upload will take a moment and status will be displayed in a loading bar.

Adding a Remote File

Besides local files, you may also add files directly from download links from the internet or from other o²S²PARC studies. This way, you will not need to download the files to your local computer and then upload them again to o²S²PARC. Files from the internet could be from, for example, Github or the SPARC Portal.

Adding a File via a Link

  1. Create a File Picker Service by double clicking in the empty space of your Pipeline Workspace and choosing the File Picker Service in the resulting popup. It will now appear on your Pipeline Workspace.
  2. Click on the newly created File Picker and you should now see its upload options in the secondary column of Workbench.
  3. Provide its URL link in the Type a Link field at the bottom of the File Picker options and click the Select button.

Using a File from Another Study

  1. Create a File Picker Service by double clicking in the empty space of your Pipeline Workspace and choosing the File Picker Service in the resulting popup. It will now appear on your Pipeline Workspace.
  2. Click on the newly created File Picker and you should now see its upload options in the secondary column of Workbench. You should also see the Storage tab open in the primary column of the Workbench
  3. Click the expansion on *simcore.s3 to access all the Studies you have created on o²S²PARC.
  4. Navigate to the Study and then Service in that Study where the file you desire is located. Drag and drop that file from the primary column into the Drop File Here area in the secondary column.

filepicker_simcore