Skip to content

Commit

Permalink
Merge pull request #8 from pysat/develop
Browse files Browse the repository at this point in the history
v0.1.0
  • Loading branch information
jklenzing authored Oct 7, 2019
2 parents 042e06e + 048d49e commit b4ec07b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dist: xenial
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7

Expand Down
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,24 @@ pysatSeasons allows users to run basic seasonal analysis over N-dimensional data

Main Features
-------------
- Instrument independent analysis routines.
- Seasonal averaging routine for 1D and 2D data.
- Occurrence probability routines, daily or by orbit.
- Scatterplot of data_label(s) as functions of labelx,y
over a season.

Documentation
---------------------
`Full Documentation <http://pysat.readthedocs.io/en/latest/>`_

`JGR-Space Physics Publication <https://doi.org/10.1029/2018JA025297>`_
# Installation

First, checkout the repository:

```
git clone https://github.com/pysat/pysatSeasons.git
```

Change directories into the repository folder and run the setup.py file. For
a local install use the "--user" flag after "install".

```
cd pysatSeasons/
python setup.py install
```
11 changes: 4 additions & 7 deletions description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ pysatSeasons allows users to run basic seasonal analysis over N-dimensional data

Main Features
-------------
- Instrument independent analysis routines.

Documentation
---------------------
`Full Documentation <http://pysat.readthedocs.io/en/latest/>`_

`JGR-Space Physics Publication <https://doi.org/10.1029/2018JA025297>`_
- Seasonal averaging routine for 1D and 2D data.
- Occurrence probability routines, daily or by orbit.
- Scatterplot of data_label(s) as functions of labelx,y
over a season.
14 changes: 4 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,21 @@
# Full license can be found in License.md
# -----------------------------------------------------------------------------

import sys
import os
from codecs import open
import codecs
from setuptools import setup, find_packages


here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'description.txt'), encoding='utf-8') as f:
with codecs.open(os.path.join(here, 'description.txt'), encoding='utf-8') as f:
long_description = f.read()
version_filename = os.path.join('pysatSeasons', 'version.txt')
with open(os.path.join(here, version_filename)) as version_file:
with codecs.open(os.path.join(here, version_filename)) as version_file:
version = version_file.read().strip()

# change setup.py for readthedocs - commented for now
# on_rtd = os.environ.get('READTHEDOCS') == 'True'
if sys.version_info.major == 2:
install_requires = ['xarray<0.12', 'pandas>=0.23, <0.25',
'numpy>=1.12, <1.17', 'scipy<1.3', 'pysat']
else:
install_requires = ['xarray', 'pandas>=0.23, <0.25', 'numpy>=1.12',
'pysat']
install_requires = ['pysat', 'numpy', 'pandas', 'matplotlib']


# Run setup
Expand Down

0 comments on commit b4ec07b

Please sign in to comment.