Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.32 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.32 KB

metpx-cloud-publisher

Overview

MetPX-Sarracenia plugin for publishing data to cloud environments.

Currently supported cloud object storage services

  • S3
  • Azure Blob Storage

Installation

Requirements

Dependencies

Dependencies are listed in requirements.txt. Dependencies are automatically installed during metpx-cloud-publisher installation.

Installing metpx-cloud-publisher

# setup virtualenv
python3 -m venv --system-site-packages metpx-cloud-publisher
cd metpx-cloud-publisher
source bin/activate

# clone codebase and install
git clone https://github.com/wmo-cop/metpx-cloud-publisher.git
cd metpx-cloud-publisher
pip3 install -r requirements.txt

# configure environment
cp metpx-cloud-publisher.env dev.env
vi dev.env  # update S3 or Azure credentials and path to MetPX filter
. dev.env

vi metpx-cloud-publisher.conf  # adjust on_file path and desired subtopics

Running

sr_subscribe foreground metpx-cloud-publisher.conf

Development

Code Conventions

Bugs and Issues

All bugs, enhancements and issues are managed on GitHub.

Contact