Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

pyJHTDB

DEPRECATED / NO LONGER MAINTAINED


pyJHTDB is no longer maintained and should not be used for querying the Johns Hopkins Turbulence Database.

Existing users should migrate to the Johns Hopkins Turbulence giverny library.


Python wrapper for the JHU Turbulence Database Cluster library. More information can be found at http://turbulence.pha.jhu.edu/help/python/.

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 for more information on SciServer as well as the help on Sciserver.

Use pyJHTDB on local computers

Prerequisites: numpy>=1.15.0, scipy>=1.1.0, sympy>=1.2, h5py>=2.8.0, matplotlib>=3.0.0, More prerequisites since 01/08/2021: wurlitzer>=2.0.2

Installing pypi version (Linux and MacOS)

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.

Installing from source (Linux and MacOS)

git clone https://github.com/idies/pyJHTDB.git
cd pyJHTDB
python update_turblib.py
pip install --upgrade ./

In Windows

We notice the compilation error in Windows, and provide a temperary workaround in examples\Use_JHTDB_in_windows.ipynb. This method use zeep package. Should be as convient as pyJHTDB.

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

For simple experimentation, the default token included in the package should be valid.

Metadata

Release files for pyJHTDB 20260124.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyJHTDB 20260124.2
File Size Uploaded
pyjhtdb-20260124.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyJHTDB 20260124.2
File Interpreter ABI Platform
pyjhtdb-20260124.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / pyjhtdb-20260124.2.tar.gz

Download URL pyjhtdb-20260124.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f2c48eb49e315cfb543e6515f73ab8e70ce55c76f2adfedbab7bbdb97fccb476
BLAKE2b-256 checksum
How to use checksums
93c77b409c8d5b0cfbd0844e0473faef2d35f999dc847aaa1a45c64d6138b047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pyjhtdb-20260124.2-py3-none-any.whl

Download URL pyjhtdb-20260124.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b252c144d1bd65850ca97e75b456d4d16c2cf461b34d71d55bc81b2bfb34b19
BLAKE2b-256 checksum
How to use checksums
9637613bfe67ea304c8d818ab006fcd053cb06e368c123b8bd182d4a0f382045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page