... | ... | @@ -13,7 +13,7 @@ In this section we illustrate typical system usage via the DM Station GUI (see t |
|
|
b. Sign in with your Globus username
|
|
|
c. Under File Manager, chose "aps#data" as Collection and click "Continue" in order to authenticate.
|
|
|
d. Authenticate with your DM username (typically "d<badge number>"). Use the same password (APS Web Password) that you use to access APS Beamline User Portal.
|
|
|
e. Navigate to experiment folder. All experiments will be under the "/gdata/dm/LSCAT" directory (e.g. "/gdata/dm/LSCAT/test-12idf-01)".
|
|
|
e. Navigate to experiment folder. All experiments will be under the "/gdata/dm/8BM" directory (e.g. "/gdata/dm/8BM/test-8bm-01)".
|
|
|
f. At this point you should be able to transfer files to any Globus endpoint that you have access to. Note that downloading files to your desktop or laptop requires installing [Globus Connect Personal](https://www.globus.org/globus-connect-personal) endpoint.
|
|
|
|
|
|
## Command Lines
|
... | ... | @@ -25,7 +25,7 @@ In this section we list few most important DM commands that can be used from a t |
|
|
$ # Experiment name must be unique and start with a letter.
|
|
|
$ # Users can be added to experiment by specifying Beamline Scheduling System proposal id (--proposal-id option),
|
|
|
$ # or a list of users directly (--users option)
|
|
|
$ dm-lscat-upload --experiment=test-lscat-01 --data-directory=/home/dm/test
|
|
|
$ dm-8bm-upload --experiment=test-8bm-01 --data-directory=/home/dm/test
|
|
|
```
|
|
|
2. Check status of your uploads:
|
|
|
```
|
... | ... | @@ -37,21 +37,21 @@ In this section we list few most important DM commands that can be used from a t |
|
|
$ # The --dest-directory option indicates directory path relative to experiment root directory in storage
|
|
|
$ # Users can be added to experiment by specifying Beamline Scheduling System proposal id (--proposal-id option)
|
|
|
$ # or a list of users directly (--users option)
|
|
|
$ dm-lscat-daq --data-directory=/home/dm/test --experiment=test-lscat-01 --dest-directory=daqdata --duration=1h
|
|
|
$ dm-8bm-daq --data-directory=/home/dm/test --experiment=test-8bm-01 --dest-directory=daqdata --duration=1h
|
|
|
```
|
|
|
4. Check status of your DAQs:
|
|
|
```
|
|
|
$ dm-list-daqs
|
|
|
```
|
|
|
5. Retrieve list of your cataloged file metadata, etc. Alternative way of viewing metadata catalog is via Mongo Express application ([https://s21iddm.xray.aps.anl.gov:8182/db/dm](https://s21iddm.xray.aps.anl.gov:8182/db/dm)).
|
|
|
5. Retrieve list of your cataloged file metadata, etc. Alternative way of viewing metadata catalog is via Mongo Express application ([https://s8bmdm.xray.aps.anl.gov:8182/db/dm](https://s8bmdm.xray.aps.anl.gov:8182/db/dm)).
|
|
|
```
|
|
|
$ dm-list-experiment-files --experiment=test-lscat-01
|
|
|
$ dm-list-experiment-files --experiment=test-8bm-01
|
|
|
```
|
|
|
6. Add or remove users associated with your experiment.
|
|
|
```
|
|
|
$ # Use d<badge> when specifying usernames
|
|
|
$ dm-add-user-experiment-role --username=d225159 --experiment=test-lscat-01 --role=User
|
|
|
$ dm-delete-user-experiment-role --username=d225159 --experiment=test-lscat-01 --role=User
|
|
|
$ dm-add-user-experiment-role --username=d225159 --experiment=test-8bm-01 --role=User
|
|
|
$ dm-delete-user-experiment-role --username=d225159 --experiment=test-8bm-01 --role=User
|
|
|
```
|
|
|
|
|
|
## Python API
|
... | ... | |