johns-hopkins湍流数据库库的python包装器

pyJHTDB的Python项目详细描述



==
pyjhtdb
=


有关详细信息,请访问http://turbulation.pha.jhu.edu/


安装pypi版本(推荐)
======br/>
代码::bash

pip install pyjhtdb

按照
http://pip.readthedocs.org/en/latest/installing.html上的说明获取它非常容易。

**cutout/local data functionality**


如果要使用cutout功能,您需要在安装“pyjhtdb”之前安装
``h5py```*,使用:

代码::bash

pip install h5py

有关说明,请参见http://www.hdfgroup.org/hdf5/。


从源代码安装
===

**ubuntu 14.04**


代码::bash

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

请注意,原则上这样做,也可以在您的系统上安装“sympy”,因为它由“pyjhtdb”使用。


代码::bash

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_installmatplotlib
python update_turblib.py
sudo python setup.py install

macos中的过程类似。

更具体地说:

…代码::python


来自pyjhtdb import test_plain
test_plain()


执行的代码可以在“pyjhtdb/test.py”中找到,它是如何访问湍流数据库的最简单示例。


配置
=我们希望跟踪
谁在使用该服务,以及如何使用该服务。为此,我们希望每个用户或
站点从我们这里获得授权令牌:
http://turbulation.pha.jhu.edu/help/authtoken.aspx
对于简单的实验,包
中包含的默认标记应有效。



the`.config/jhtdb``文件夹还用于存储
``pyjhtdb.interpolator.spline\u interpolator``类使用的数据,包括共享的
库。如果不打算使用本地插值功能,则不会生成数据文件。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java利用Android的surfaceView   服务器不通过socket接受java中的客户端请求   带有文本标签和文本字段的用户界面java fx验证问题   java是否可以使用Wine在Linux上运行Eclipse Portable?   运行时的java意图参数   java不支持新的白俄罗斯卢布。util。通货   java Struts2文件上载NullPointerException   为什么PowerShell显示“找不到符号”错误,而VS代码Java进程控制台运行得很好?   创建意图的java空指针异常   ArrayList的java打印索引<String[]>   xpath java。伊奥。IOException:服务器返回了URL:http://www.w3.org/TR/html4/strict.dtd   java KeyListener未激活   java导入编译为jar的包:坏的类文件,类文件包含错误的类,包不存在错误   java将图像路径从onActivityResult传递到onClick函数   java Catch block不允许用户继续执行程序   java Spring Mvc不适用于除`/`