Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suvarchal/ramadda_publish
Allows automated ways of publishing content to a RAMADDA server
https://github.com/suvarchal/ramadda_publish
Last synced: about 1 month ago
JSON representation
Allows automated ways of publishing content to a RAMADDA server
- Host: GitHub
- URL: https://github.com/suvarchal/ramadda_publish
- Owner: suvarchal
- License: mit
- Created: 2018-05-18T13:40:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T12:10:32.000Z (about 5 years ago)
- Last Synced: 2024-10-14T08:14:33.869Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.24 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RAMADDA_publish
Allows automated ways of publishing content to a RAMADDA server.
https://suvarchal.github.io/RAMADDA_publish/Usage:
ramadda_publish [-h] [-groupas {plain,casestudy}] [-a ATTACHMENT]
[-ramadda RAMADDA] [-user USER] [-password PASSWORD]
publish_file entryidpositional arguments:
publish_file Publish a file or directory or multiple files (with a
unix pattern) to a RAMADDA server;Currently supports
publishing IDV bundles, Jupyter notebooks, gridded
data files(netcdf,grib...), csv files, other formats
are published as plain files
entryid Parent entryid string on a RAMADDA server.It should
contain just the string NOT entire url path.NOTE:
RAMADDA_USER needs to have permissions for publishing
the file on the RAMADDA serveroptional arguments:
-h, --help show this help message and exit
-groupas {plain,casestudy}
when the published file is a directory, it can be
either a plain directory or a casestudy type of
directory. (default: plain)
-a ATTACHMENT, --attachment ATTACHMENT
Publish this file or file pattern as an
attachment.NOTE: Number of files and attachments
should be the same.Currently only image files are
supported (default: None)
-ramadda RAMADDA, --ramadda RAMADDA
The RAMADDA server.By default RAMADDA environment
variable is used, if it is absent the url
https://weather.rsmas.miami.edu/repositoryis used.
(default: None)
-user USER, --user USER
User for RAMADDA, by default, if exists, the
environment variable RAMADDA_USER is used as a user.
(default: None)
-password PASSWORD, --password PASSWORD
Password for -user or RAMADDA_USER, by default, if
exists, the environment variable RAMADDA_PASSWORD is
used as a user password. (default: None)Some examples:
To publish a file at an entryid of a ramadda server
ramadda_publish file_to_publish publish_at_entryidTo publish files with pattern say '*.zidv' at an entryid of a ramadda server
ramadda_publish '*.zidc' publish_at_entryid
note the quotes while using a patternTo publish a file at an entryid of a ramadda server with an attachment
ramadda_publish file_to_publish publish_at_entryid -a attachment_fileTo publish a files with a pattern say '*.zidv' with corresponding attachment pattern '*.gif'
at an entryid of a ramadda server
ramadda_publish '*.zidv' publish_at_entryid -a '*.gif'
note the number of files for pattern should be same for attachmentsTo publish a directory at an entryid of a ramadda server as a simple directory with all files within.
ramadda_publish directory_to_publish publish_at_entryidTo publish a directory at an entryid of a ramadda server as a case study directory with all files within.
ramadda_publish directory_to_publish publish_at_entryid -groupas casestudy`