PyTables User's Guide: Hierarchical datasets in Python - Release 1.3.2 | ||
---|---|---|
Prev | Chapter 7. NetCDF - a PyTables NetCDF3 emulation API | Next |
tables.NetCDF datasets can be shared over the internet with the OPeNDAP protocol (http://opendap.org), via the python opendap module (http://opendap.oceanografia.org). A plugin for the python opendap server is included with the pytables distribution (contrib/h5_dap_plugin.py). Simply copy that file into the plugins directory of the opendap python module source distribution, run python setup.py install, point the opendap server to the directory containing your tables.NetCDF files, and away you go. Any OPeNDAP aware client (such as Matlab or IDL) will now be able to access your data over http as if it were a local disk file. The only restriction is that your tables.NetCDF files must have the extension .h5 or .hdf5. Unfortunately, tables.NetCDF itself cannot act as an OPeNDAP client, although there is a client included in the opendap python module, and Scientific.IO.NetCDF can act as an OPeNDAP client if it is linked with the OPeNDAP netCDF client library. Either of these python modules can be used to remotely acess tables.NetCDF datasets with OPeNDAP.