You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Python-based application programmer's interface for the [Observations Data Model 2 (ODM2)](http://odm2.org).
8
+
A Python-based application programmer's interface for the
9
+
[Observations Data Model 2 (ODM2)](http://odm2.org).
9
10
10
11
[List of current and planned functions included in the API](https://github.com/ODM2/ODM2PythonAPI/blob/master/doc/APIFunctionList.md)
11
12
12
13
## Installation
13
14
14
-
The easiest and most reliable way to install the ODM2 Python API (`odm2api`) is using the [Conda package management system](http://conda.pydata.org/docs/) via either [Anaconda](https://www.continuum.io/downloads) or [Miniconda](http://conda.pydata.org/miniconda.html). To start using conda (if it's not your system default), add conda to the PATH; on MacOSX and Linux, it's something like `export PATH=$HOME/miniconda/bin:$PATH`, but the exact path may vary.
15
+
The easiest and most reliable way to install the ODM2 Python API (`odm2api`) is using the
To start using conda (if it's not your system default),
22
+
add conda to the PATH; on MacOSX and Linux,
23
+
it's something like `export PATH=$HOME/miniconda/bin:$PATH`,
24
+
but the exact path may vary.
15
25
16
26
To activate a conda environment, say, "myenv":
27
+
17
28
```bash
18
29
activate myenv # On Windows
19
30
source activate myenv # On MacOSX or Linux
20
31
```
21
32
22
-
**Note:**`odm2api` currently is only tested on Python 2.7. Some changes have been made to support Python 3.x, but they haven't been tested thoroughly.
33
+
**Note:**`odm2api` currently is only tested on Python 2.7. Some changes have been made to support Python 3.x,
34
+
but they haven't been tested thoroughly.
23
35
24
36
25
37
### Latest release, from ODM2 anaconda.org channel
26
38
27
-
The [latest `odm2api` release](https://github.com/ODM2/ODM2PythonAPI/releases) is available on the [ODM2 anaconda.org channel](https://anaconda.org/odm2/odm2api) for all major OS paltforms (linux, OSX, win32/win64). To install it on an existing conda environment:
for all major OS paltforms (linux, OSX, win32/win64).
44
+
To install it on an existing conda environment:
45
+
28
46
```
29
47
conda install -c odm2 odm2api
30
48
```
31
-
All dependencies are installed, including Pandas and its dependencies (numpy, etc).
49
+
50
+
All dependencies are installed,
51
+
including Pandas and its dependencies (numpy, etc).
32
52
33
53
To create a new environment "myenv" with the `odm2api` package:
54
+
34
55
```
35
56
conda create -n myenv -c odm2 python=2.7 odm2api
36
57
```
37
58
38
59
### Installing the development version from the `master` branch on github
39
60
40
-
**Note from 4/26/2016:** These instructions may be slightly outdated. Follow these directions for installing the bleeding edge github master branch, mainly for development and testing purposes.
61
+
**Note from 4/26/2016:** These instructions may be slightly outdated.
62
+
Follow these directions for installing the bleeding edge GitHub master branch,
63
+
mainly for development and testing purposes.
64
+
65
+
To create a new environment "myenv" with `odm2api`,
Go to the directory where `condaenvironment_1.yml` was downloaded.
69
+
Then, on a terminal shell:
41
70
42
-
To create a new environment "myenv" with `odm2api`, first download the conda environment file [condaenvironment_1.yml](https://raw.githubusercontent.com/ODM2/ODM2PythonAPI/master/condaenvironment_1.yml). Go to the directory where `condaenvironment_1.yml` was downloaded. Then, on a terminal shell:
This work was supported by National Science Foundation Grants [EAR-1224638](http://www.nsf.gov/awardsearch/showAward?AWD_ID=1224638) and [ACI-1339834](http://www.nsf.gov/awardsearch/showAward?AWD_ID=1339834). Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
86
+
This work was supported by National Science Foundation Grants
and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
0 commit comments