Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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 entryid


   positional 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 server

   optional 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_entryid

To 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 pattern

To publish a file at an entryid of a ramadda server with an attachment
    ramadda_publish file_to_publish publish_at_entryid -a attachment_file

To 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 attachments

To 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_entryid  

To 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`

Metadata

Release files for ramadda-publish 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ramadda-publish 1.5
File Size Uploaded Provenance Actions
ramadda_publish-1.5.tar.gz 5.3 kB Without provenance Details for ramadda_publish-1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ramadda-publish 1.5
File Interpreter ABI Platform Actions
ramadda_publish-1.5-py3-none-any.whl Python 3 none any Details for ramadda_publish-1.5-py3-none-any.whl

Total release size: 12.0 kB

Release files / ramadda_publish-1.5.tar.gz

Download URL ramadda_publish-1.5.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
90393e5aa6f38252060d69ccbd6d7dfee48f14a26150713a0ade5698e77deaef
BLAKE2b-256 checksum
How to use checksums
9909791646a84a129b08b3761e2c2aeb090e1bc78c452a2b3c14dba63b3243f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8

Release files / ramadda_publish-1.5-py3-none-any.whl

Download URL ramadda_publish-1.5-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9275c867b9fdf15d0464f36aa8af13f208831971bf28256321224ea277eeae3
BLAKE2b-256 checksum
How to use checksums
2ce5f66be3d79d1a45a46c695972c45cc143ca5803ae88a25c9dd2954c85372d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8

Security for ramadda-publish 1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page