On Sat, May 2, 2015 at 9:49 AM, Johannes Radinger <[email protected]> wrote: > 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.
The g.extension script would need a modification to allow for other file extensions than the image extensions. > 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) As an alternative you could host it along with the script (if not too huge) and then fetch it from there via curl/wget. Best Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
