Skip to main content

A python library that simplify the access to the linketurbidity index.

Project description

linketurbidity

Gitter

License Downloads Build Status Coverage Status Code Health PyPI version Stories in Ready

A python library that simplifies the access to the linke turbidity index.

Requirements

If you want to use this library on any GNU/Linux or OSX system you just need to execute:

$ pip install linketurbidity

If you want to improve this library, you should download the github repository and execute:

$ make deploy

On Ubuntu Desktop there are some other libraries not installed by default (zlibc libbz2-dev) which may need to be installed to use these library. Use the next command to automate the installation of the additional C libraries:

$ make ubuntu deploy

Testing

To test all the project you should use the command:

$ make test

If you want to help us or report an issue join to us through the GitHub issue tracker.

Example

There are 3 methods to obtain the linke turbidity matrix:

  1. obtain
  2. obtain_to
  3. persist

The obtain method needs a datetime object:

from linketurbidity import instrument
from datetime import datetime

linke_matrix = instrument.obtain(datetime(2014, 11, 10))

Next, the obtain_to method needs a standard NOAA CLASS netcdf filename to parse:

from linketurbidity import instrument
from datetime import datetime

linke_matrix = instrument.obtain_to('data/goes13.2014.124.123422.BAND_01.nc')

Last, the persist method needs a standard NOAA CLASS netcdf filename to save the variables:

from linketurbidity import instrument
from datetime import datetime
from netcdf import netcdf as nc

instrument.persist('data/goes13.2014.124.123422.BAND_01.nc')
with nc.loader('data/goes13.2014.124.123422.BAND_01.nc') as root:
    print nc.getvar(root, 'linke')[:]

About

This software is developed by GERSolar. You can contact us to gersolar.dev@gmail.com.

Release history Release notifications

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

History Node

0.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
linketurbidity-0.0.6.tar.gz (14.5 MB) Copy SHA256 hash SHA256 Source None Jul 10, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page