Skip to content

GeoMet Data Registry is a system to manage access to the Environment and Climate Change Canada's Meteorological Service of Canada (MSC) open data, including raw numerical weather prediction (NWP) model data layers and the weather radar mosaic, via Open Geospatial Consortium (OGC) standards such as the Web Map Service (WMS). Meteorological layers…

License

Notifications You must be signed in to change notification settings

Dukestep/geomet-data-registry

 
 

Repository files navigation

geomet-data-registry

Overview

geomet-data-registry provides a searchable real-time inventory of MSC weather, climate and water data.

Installation

Requirements

Dependencies

Dependencies are listed in requirements.txt. Dependencies are automatically installed during installation.

Installing geomet-data-registry

# setup virtualenv
python -m venv geomet-data-registry
cd geomet-data-registry
. bin/activate

# clone codebase and install
git clone https://github.com/ECCC-MSC/geomet-data-registry.git
cd geomet-data-registry
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .

# configure environment
cp geomet-data-registry.env dev.env
vi dev.env # edit paths accordingly
. dev.env

Running

# help
geomet-data-registry --help

# get version
geomet-data-registry --version

# setup tileindex
geomet-data-registry tileindex setup

# teardown tileindex
geomet-data-registry tileindex teardown

# setup store
geomet-data-registry store setup

# list all store keys
geomet-data-registry store list

# list all store keys filtering on a regex
geomet-data-registry store list --pattern="RADAR*"

# list all store keys filtering on a fancier regex
geomet-data-registry store list --pattern="RADAR*time$"

# teardown store
geomet-data-registry store teardown

# set key/value in store
geomet-data-registry store set --key=somekey --config=/path/to/file

# start up
sr_subscribe path/to/amqp.conf foreground

# dev workflows

# process a test file
geomet-data-registry data add --file=/path/to/file

# process a test directory of files (recursive)
geomet-data-registry data add --directory=/path/to/directory

Development

Running Tests

TODO

Releasing

python setup.py sdist bdist_wheel --universal
twine upload dist/*

Code Conventions

Bugs and Issues

All bugs, enhancements and issues are managed on GitHub.

Contact

About

GeoMet Data Registry is a system to manage access to the Environment and Climate Change Canada's Meteorological Service of Canada (MSC) open data, including raw numerical weather prediction (NWP) model data layers and the weather radar mosaic, via Open Geospatial Consortium (OGC) standards such as the Web Map Service (WMS). Meteorological layers…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.1%
  • Shell 1.8%
  • Makefile 1.5%
  • Dockerfile 0.6%