Skip to content

Command line script and Python package for working with meteorological time-series data.

License

Notifications You must be signed in to change notification settings

timcera/mettoolbox

Repository files navigation

Tests Test Coverage Latest release BSD-3 clause license mettoolbox downloads PyPI - Python Version

mettoolbox

The mettoolbox is set of command line and Python tools for the analysis and calculation of meteorologic data.

Installation

Should be as easy as running pip install mettoolbox or easy_install mettoolbox at any command line.

Usage - Command Line

Just run 'mettoolbox --help' to get a list of subcommands:

usage: mettoolbox [-h] [-v] {disaggregate,pet,ret,indices,about} ...

positional arguments:
  {disaggregate,pet,ret,indices,about}
    disaggregate        disaggregate subcommand
    pet                 pet subcommand
    ret                 ret subcommand
    indices             indices subcommand
    about               Display version number and system information.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit

Usage - Python

from mettoolbox import mettoolbox
df = mettoolbox.disaggregate.temperature('sine_min_max', ['degC', 'degC'], temp_min_col=1, temp_max_col=2)