All Projects → ECCC-CCCS → geomet-climate

ECCC-CCCS / geomet-climate

Licence: GPL-3.0 license
Geospatial web services for Canadian climate data

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to geomet-climate

climate-data-extraction-tool
Use the climate data extraction tool to download climate data from the selected Environment and Climate Change Canada datasets. You can specify the date ranges, variables, download format and other options.
Stars: ✭ 27 (+68.75%)
Mutual labels:  climate, cmip5, ahccd, cangrd, cansips
climate-watch
Climate Watch: Data for Climate Action
Stars: ✭ 25 (+56.25%)
Mutual labels:  climate
agroclimatology
Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource
Stars: ✭ 16 (+0%)
Mutual labels:  climate
cfdm
A Python reference implementation of the CF data model
Stars: ✭ 24 (+50%)
Mutual labels:  climate
hockeystick
Download and Visualize Essential Global Heating Data in R
Stars: ✭ 42 (+162.5%)
Mutual labels:  climate
openair-cyan
DIY small-scale open hardware direct air carbon capture device called Cyan. Our documentation is on https://openair-collective.github.io/openair-cyan
Stars: ✭ 54 (+237.5%)
Mutual labels:  climate
kube-green
A K8s operator to reduce CO2 footprint of your clusters
Stars: ✭ 418 (+2512.5%)
Mutual labels:  downscale
tuya-local
Local support for Tuya devices in Home Assistant
Stars: ✭ 150 (+837.5%)
Mutual labels:  climate
blockchain-carbon-accounting
This project implements blockchain applications for climate action and accounting, including emissions calculations, carbon trading, and validation of climate claims. It is part of the Linux Foundation's Hyperledger Climate Action and Accounting SIG.
Stars: ✭ 123 (+668.75%)
Mutual labels:  climate
climate
Mirror of Apache Open Climate Workbench
Stars: ✭ 135 (+743.75%)
Mutual labels:  climate
psyplot
Python package for interactive data visualization
Stars: ✭ 64 (+300%)
Mutual labels:  climate
oggm
Open Global Glacier Model
Stars: ✭ 167 (+943.75%)
Mutual labels:  climate
ClimateLaboratoryBook
JupyterBook source for The Climate Laboratory
Stars: ✭ 74 (+362.5%)
Mutual labels:  climate
ioBroker.tado
Tado cloud connector to control Tado devices
Stars: ✭ 25 (+56.25%)
Mutual labels:  climate
openclimate-demo
Open Climate Repo
Stars: ✭ 54 (+237.5%)
Mutual labels:  climate
climate ewelink
Control your Midea air conditioner devices via the eWeLink cloud
Stars: ✭ 42 (+162.5%)
Mutual labels:  climate
awesome-green-software
No description or website provided.
Stars: ✭ 209 (+1206.25%)
Mutual labels:  climate
open-earth-compiler
development repository for the open earth compiler
Stars: ✭ 50 (+212.5%)
Mutual labels:  climate
cloud-carbon-footprint
Cloud Carbon Footprint is a tool to estimate energy use (kilowatt-hours) and carbon emissions (metric tons CO2e) from public cloud usage
Stars: ✭ 510 (+3087.5%)
Mutual labels:  climate
scale.js
High-quality scale function for canvas and image element. If scale factor < 1, then algorithm for downscale (area average) is used, other than that, bicubic algorithm is used.
Stars: ✭ 45 (+181.25%)
Mutual labels:  downscale

geomet-climate

Build Status

Overview

geomet-climate provides the MapServer setup and configuration for deployment of MSC GeoMet climate service data OGC Web Services.

Installation

Dependencies

  • Python MapScript
  • GDAL Python bindings

Requirements

Dependencies

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

Installing geomet-climate

# install system wide packages
sudo apt-get install python-mapscript python-gdal

# setup virtualenv
virtualenv geomet-climate
cd geomet-climate
. bin/activate

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

# configure environment
vi geomet-climate.env  # edit paths accordingly
. geomet-climate.env

Running

# help
geomet-climate --help

# get version
geomet-climate --version

# generate VRTs for all layers
geomet-climate vrt generate

# generate VRTs for single layer
geomet-climate vrt generate --layer=CMIP5.SND.RCP26.FALL.ANO_PCTL50

# generate tileindex for all layers
geomet-climate tileindex generate

# generate tileindex for single layer
geomet-climate tileindex generate --layer=CMIP5.SND.RCP26.FALL.ANO_PCTL50

# generate legends for all layers
geomet-climate legend generate

# generate mapfile for WMS
geomet-climate mapfile generate --service=WMS

# generate mapfile for WMS with specific configuration for single layer
geomet-climate mapfile generate --service=WMS --layer=CMIP5.SND.RCP26.FALL.ANO_PCTL50

# generate mapfile for WCS
geomet-climate mapfile generate --service=WCS

# run server
geomet-climate serve  # server runs on port 8099

# run server on a different port
geomet-climate serve  --port=8011

# cache WMS and WCS Capabilities URLs
mapserv -nh QUERY_STRING="map=$GEOMET_CLIMATE_BASEDIR/mapfile/geomet-climate-WMS-en.map&service=WMS&version=1.3.0&request=GetCapabilities" > $GEOMET_CLIMATE_BASEDIR/geomet-climate-WMS-1.3.0-capabilities-en.xml && mv -f $GEOMET_CLIMATE_BASEDIR/geomet-climate-WMS-1.3.0-capabilities-en.xml $GEOMET_CLIMATE_BASEDIR/mapfile

mapserv -nh QUERY_STRING="map=$GEOMET_CLIMATE_BASEDIR/mapfile/geomet-climate-WMS-fr.map&lang=fr&service=WMS&version=1.3.0&request=GetCapabilities" > $GEOMET_CLIMATE_BASEDIR/geomet-climate-WMS-1.3.0-capabilities-fr.xml && mv -f $GEOMET_CLIMATE_BASEDIR/geomet-climate-WMS-1.3.0-capabilities-fr.xml $GEOMET_CLIMATE_BASEDIR/mapfile

mapserv -nh QUERY_STRING="map=$GEOMET_CLIMATE_BASEDIR/mapfile/geomet-climate-WCS-en.map&service=WCS&version=2.1.0&request=GetCapabilities" > $GEOMET_CLIMATE_BASEDIR/geomet-climate-WCS-2.0.1-capabilities-en.xml && mv -f $GEOMET_CLIMATE_BASEDIR/geomet-climate-WCS-2.0.1-capabilities-en.xml $GEOMET_CLIMATE_BASEDIR/mapfile

mapserv -nh QUERY_STRING="map=$GEOMET_CLIMATE_BASEDIR/mapfile/geomet-climate-WCS-fr.map&lang=fr&service=WCS&version=2.1.0&request=GetCapabilities" > $GEOMET_CLIMATE_BASEDIR/geomet-climate-WCS-2.0.1-capabilities-fr.xml && mv -f $GEOMET_CLIMATE_BASEDIR/geomet-climate-WCS-2.0.1-capabilities-fr.xml $GEOMET_CLIMATE_BASEDIR/mapfile

Development

Running Tests

. tests/geomet-climate-test.env
python setup.py test

Cleaning the build of artifacts

python setup.py cleanbuild

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].