Python wrapper for the Johns Hopkins turbulence database library
Project description
# pyJHTDB
Python wrapper for the [JHU Turbulence Database Cluster](http://turbulence.pha.jhu.edu/) library. More information can be found at [http://turbulence.pha.jhu.edu/help/python/](http://turbulence.pha.jhu.edu/help/python/).
## Use pyJHTDB through SciServer (RECOMMENDED) The SciServer is a cloud-based data-driven cluster, of The Institute for Data Intensive Engineering and Science (IDIES) at Johns Hopkins University. Users get the advantages of more reliable and faster data access since the SciServer is directly connected to JHTDB through a 10 Gigabit ethernet connection. SciServer provides docker containers with the pyJHTDB library pre-installed.
To use pyJHTDB through Sciserver: ` Login to [SciServer](http://turbulence.pha.jhu.edu/) (may need to create a new account first). Click on *Compute* and then *Create container* (You could also run jobs in batch mode, by selecting Compute Jobs). Type in *Container name*, select *JH Turbulence DB* in *Compute Image* and then click on *Create*. Click on the container you just created, then you could start using pyJHTDB with Python or IPython Notebook. ` Please go to [SciServer](http://turbulence.pha.jhu.edu/) for more information on SciServer as well as the help on Sciserver.
## Use pyJHTDB on local computers
### Installing pypi version (RECOMMENDED)
If you have pip, you can simply do this: ` pip install pyJHTDB ` If you’re running unix (i.e. some MacOS or GNU/Linux variant), you will probably need to have a sudo in front of the pip command. If you don’t have pip on your system, it is quite easy to get it following the instructions at [http://pip.readthedocs.org/en/latest/installing.html](http://pip.readthedocs.org/en/latest/installing.html).
### Installing from source
` git clone https://github.com/idies/pyJHTDB.git cd pyJHTDB python update_turblib.py pip install --upgrade ./ `
## Basic usage
On first contact with this library, we recommend that you first run test_plain. To be more specific: ` from pyJHTDB import test_plain test_plain() `
The code that is executed can be found in pyJHTDB/test.py, and it’s the simplest example of how to access the turbulence database.
## Configuration
While our service is open to anyone, we would like to keep track of who is using the service, and how. To this end, we would like each user or site to obtain an authorization token from us: [http://turbulence.pha.jhu.edu/help/authtoken.aspx](http://turbulence.pha.jhu.edu/help/authtoken.aspx)
For simple experimentation, the default token included in the package should be valid.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyJHTDB-20190916.0.tar.gz
.
File metadata
- Download URL: pyJHTDB-20190916.0.tar.gz
- Upload date:
- Size: 301.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.5.0.post20170921 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b424e91701194055edf7de6d1c9b96b3371c56f74e021d8d001b45fcd245e980 |
|
MD5 | 3240dbe99b7f54ff4d5d31ae6552ceb0 |
|
BLAKE2b-256 | 7085535f571a66ce712745a03f66a311f99ee47ca1c2f4d8191ba7f887809462 |