Download presentation
Presentation is loading. Please wait.
Published byEllen Tyler Modified over 9 years ago
1
GIMI iRODS Use Cases - Preparation Create an account for user: shuang – iadmin mkuser shuang user_type Assign user to a group – iadmin atg groupName shuang Admin can assign password to user (also supports GSI/Kerberos) – iadmin moduser shuang password xxx A lot of other things can be done: – iadmin –h Create an iRODS directory for the user OML measurement data – imkdir results
2
GIMI iRODS Use Case 1 Perform an OML-based measurement, result is saved in a file (a.sqlite3) under /home/shuang/results Put the file into iRODS – iput a.sqlite3 (suppose ipwd is /geniRenci/home/shuang/results) Work on the local copy under /home/shuang/results Push the modified file back into iRODS (think it as a version control system) – Irsync –r /home/shuang/result i:/geniRenci/home/shuang/results
3
GIMI iRODS Use Case 2 Check out a file in iRODS to my local directory – iget a.sqlite3 Work on the local copy Push the modified file back into iRODS – irsync a.sqlite3 i:a.sqlite3
4
GIMI iRODS Use Case 3 Suppose there are many files under /home/shuang/data that need to be copied into iRODS, we can mount the local directory directly into iRODS – imkdir /geniRenci/home/shuang/mountpoint – imcoll –m filesystem /home/shuang/data /geniRenci/home/shuang/mountpoint Work on the local files Sync with iRODS – Irsync –r /home/shuang/data i:/geniRenci/home/shuang/mountpoint
5
GIMI iRODS Use Case 4 Data processing – e.g. filtering files under /geniRenci/home/shuang – Write a rule called filter.r which filters files and save them under /geniRenci/home/shuang/filtered – irule –F filter.r “*Path=‘/geniRenci/home/shuang’”
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.