Skip to main content

Python wrapper for the Johns Hopkins turbulence database library

Project description

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

Installing

In theory setuptools should take care of everything so that the package is installed properly, but I noticed that it doesn’t.

ubuntu 14.04

Bare-bone installation:

sudo apt-get install build-essential gfortran
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo easy_install numpy
sudo python setup.py install

Note that doing this should, in principle, also install sympy on your system, since it’s used by pyJHTDB.

Happy fun installation:

sudo apt-get install build-essential gfortran
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo apt-get install libpng-dev libfreetype6-dev
sudo apt-get install libhdf5-dev
sudo easy_install numpy
sudo easy_install h5py
sudo easy_install matplotlib
sudo python setup.py install

Please note that before you run sudo python setup.py install, you will need to edit the turblib-20140606/turblib.c file: on line 53, please add a comma after the closing curly brace, before the //.

I haven’t tested the installation on any other system, but I think reasonable variations on the above should work for the minimal installation on all unix systems (i.e. for MacOS as well). If you manage to get it working (i.e. you import test_plain like the README says and you can run it), please let me know what steps you needed to take for your system, so I can append the instructions to this file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyJHTDB-20141019.tar.gz (283.7 kB view details)

Uploaded Source

File details

Details for the file pyJHTDB-20141019.tar.gz.

File metadata

  • Download URL: pyJHTDB-20141019.tar.gz
  • Upload date:
  • Size: 283.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyJHTDB-20141019.tar.gz
Algorithm Hash digest
SHA256 5f7b5362de58a3d9230ce3d0375e3eea38c2a6319d593c7067e9962d19e2c6c2
MD5 4a6b229a82f7445027756dd148081343
BLAKE2b-256 b3fa23f0df09caa11907ee0eb9a8906d47c8354715f268ee81ca60f80ebda28c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page