[GRASS-user] Dataset file for add-on

Johannes Radinger johannesradinger at gmail.com
Sat May 2 00:49:49 PDT 2015


Hi,

I'd like to use a HDF5 datafile (multidimensional matrix with
parameter values) to be used and called from an python add-on.
Thus, I thought about providing the data file together with
the python add-on an load the data via a relative path (relative
to the path of the add-on). Is it generally possible to include
a datafile in the respecitive add-on folder so that it is also installed
together with the add-on. And if so, how should it be loaded (of course
with the hd5py functionalities) from within the python script (so that
it works on Windows and Linux platforms)

Best regards,
Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150502/5098ceae/attachment.html>


More information about the grass-user mailing list