Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    noresm:norstoreesg [2015-10-01 08:01:23] ingo.bethke@gmail.com  | 
                
                    noresm:norstoreesg [2022-05-31 09:29:32] (current) | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Simple  | + | ====== Simple  | 
| + | |||
| + | ===== Share data online  | ||
| For simple data sharing, use the script **/ | For simple data sharing, use the script **/ | ||
| < | < | ||
| + | Usage:  | ||
| + |     | ||
| + |     | ||
| + |     | ||
| + | Example:  | ||
| + |     | ||
| + | or | ||
| + |     | ||
| + | |||
| + | Purpose:  | ||
| + |     | ||
| + | |||
| + | Description:  | ||
| + |    The input path must be absolute and start with / | ||
| + | |||
| + | Only regular files are considered. Symbolic links are skipped. | ||
| + |            | ||
| + | All date files must have unique names as the folder stucture is | ||
| + |     | ||
| + | |||
| + |     | ||
| + |     | ||
| + |    can be closed.  | ||
| + |                | ||
| + |    < | ||
| + |     | ||
| </ | </ | ||
| + | The script provides following:  | ||
| + | *local path to a folder that contains hard-links to the data files | ||
| + |   *URL that points to the online-catalogue where the shared files are exposed  | ||
| + |   *download-URL to a wget-script that can be used to download the entire dataset (note that execution permissions have to be changed prior to running the script)  | ||
| + | |||
| + | NOTE: The sharing method uses hard-links. This has the advantages that no additional disk space is used and that the sharing happens instantaneous. A removal of the hard-links will unshare the data, but will not affect the original files.  | ||
| + | |||
| + | ===== Unshare data ===== | ||
| If you don't want to share a dataset anymore, use the script **/ | If you don't want to share a dataset anymore, use the script **/ | ||
| + | < | ||
| + | Usage: wwwunpublish <dataset name>  | ||
| + | Example: wwwunpublish CORE2-AMOC  | ||
| + | |||
| + | Purpose: Unpublish a dataset from NorStore' | ||
| + | </ | ||
| + | NOTE: Unsharing data will not affect the original data. | ||
| ====== Data sharing via the Norwegian ESG data portal ====== | ====== Data sharing via the Norwegian ESG data portal ====== | ||
| - | ====IMPORTANT: | + | ====IMPORTANT: |