Researchers utilizing monsoon’s compute power now have the ability to share project data with colleagues via a web browser. Any individual files or directories in your /projects/<project_name> can be shared. No file is too large, or too small.
* Note that a long-term storage space is required for this service to work. To obtain a long-term storage space, please request one on the long-term storage request .
Publishing data Accordion Closed
To share data, perform the following steps:
- Change directory to your project directory. The publish script must be run there. For example, if your project is called hpc_project, you’d run:
- Run the publish_data script. By itself, it will print some usage information. If one or more files and/or directories are specified, those files and/or directories will be published to the web. For example, if you wanted to publish:- the directory /projects/hpc_project/january_results
– the file /projects/hpc_project/computational_data/dataset1.csv
– and the file /projects/hpc_project/computational_data/dataset2.txtYou’d run:
publish_data january_results computational_data/dataset1.csv computational_data/dataset2.txt
- Your data can now be accessed at rcdata.nau.edu/<project_name>. Using the previous examples, the URL would be
Unpublishing data Accordion Closed
If you wish to unpublish files, the unpublish_data script works similarly:
- Change directory to your project directory.
For example, if your project is called hpc_project, you’d run: cd /projects/hpc_project
- Run the unpublish_data script. For example, to unpublish dataset1.csv and the january_results/bad_results.out directory, you’d run:unpublish_data january_results/bad_results.out computational_data/dataset1.csvif you wanted to unpublish all of january_results, you’d run: unpublish_data january_results Once done, the data will still be in your project directory, but will no longer appear on the web.
Optionally securing your data Accordion Closed
Create a file named ‘.htaccess’ inside of public_data within your project folder that looks similar to this:
AuthName "Restricted Area"
Now, to create valid users:
First user: htpasswd -c -s .htpasswd bob
Subsequent users: htpasswd -s .htpasswd alice
Note only the first user needs -c, to create the .htaccess file. From then on, only Bob and Alice will have access to your site.
FAQs Accordion Closed
What happens when I delete files in my project area that have been published?
The files remain published.
What happens when I manually delete files from the public_data area?
The files are unpublished effectively. The files that were published still remain in your project area.