fmaussion / climvis

A template package for the ACINN scientific programming lecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A climate visualization package

climvis offers command line tools to display climate data in your browser.

It was written for the University of Innsbruck's scientific programming lecture as a package template for the assignments.

HowTo

Make sure you have all dependencies installed. These are:

  • numpy
  • pandas
  • xarray
  • netcdf4
  • motionless
  • matplotlib
  • pytest

Download the package and install it development mode. From the root directory, do:

$ pip install -e .

If you are on a university computer, you should use:

$ pip install --user -e .

Command line interface

setup.py defines an "entry point" for a script to be used as a command line program. Currently, the only command installed is cruvis.

After installation, just type:

$ cruvis --help

To see what it can do for you.

Testing

I recommend to use pytest for testing. To test the package, do:

$ pytest .

From the package root directory.

License

With the exception of the setup.py file which was adapted from the sampleproject package, all the code in this repository is dedicated to the public domain.

About

A template package for the ACINN scientific programming lecture

License:The Unlicense


Languages

Language:Python 98.6%Language:HTML 1.4%