Skip to content

Commit

Permalink
api
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Dec 4, 2017
1 parent 4348a35 commit 7b42ab5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Expand Up @@ -14,12 +14,8 @@ git:
depth: 3


before_install:
- pip -q install coveralls

install: pip install -e .
install: pip install -e .[tests]

script: coverage run tests/test.py -v

after_success: coveralls

3 changes: 2 additions & 1 deletion msp_aurora/plots.py
Expand Up @@ -6,7 +6,7 @@
from matplotlib.ticker import LogFormatterMathtext#,ScalarFormatter
import matplotlib.colors as colors
#
from sciencedates import tickfix
from sciencedates.ticks import tickfix

sfmt = LogFormatterMathtext()
# sfmt = ScalarFormatter()
Expand Down Expand Up @@ -72,6 +72,7 @@ def spectrasubplot(wl,I,fg,ax,elfid,indlbl=False,clim=None):
a.invert_yaxis()
a.autoscale(True,tight=True)


def plotratio(ratio,wl,I, elfid, ratlim,verbose):
if ratio is None:
return
Expand Down
11 changes: 7 additions & 4 deletions setup.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
req = ['nose','netCDF4','xarray','numpy','python-dateutil','pytz',
install_requires = ['netCDF4','xarray','numpy','python-dateutil','pytz',
'sciencedates']
tests_require=['nose','coveralls']

from setuptools import setup,find_packages

Expand All @@ -9,16 +10,18 @@
author='Michael Hirsch, Ph.D.',
url='https://github.com/scivision/meridian-spectrometer-reader',
description="Load and plot UAF Geophysical Institute Digital Meridian Spectrometer data",
version='0.5.0',
version='0.5.1',
classifiers=[
'Intended Audience :: Science/Research',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Programming Language :: Python :: 3',
],
install_requires=req,
install_requires=install_requires,
python_requires='>=3.6',
extras_require={'plot':['matplotlib',]},
extras_require={'plot':['matplotlib',],
'tests':tests_require},
tests_require=tests_require,
)

0 comments on commit 7b42ab5

Please sign in to comment.