File should have been added as a part of fdf73da to close #20

This commit is contained in:
jevans 2013-06-17 20:35:20 -04:00
commit 2fe0d000a5

19
glymur/data/__init__.py Normal file
View file

@ -0,0 +1,19 @@
"""Shipping JPEG 2000 files.
There is only one JP2 file at the moment, "nemo.jp2", converted from the
original JPEG photo of the aftermath of NEMO, the nor'easter that shutdown
Boston in February of 2013.
"""
import pkg_resources
def nemo():
"""Shortcut for specifying path to nemo.jp2.
Returns
-------
file : str
Platform-independent path to nemo.jp2.
"""
file = pkg_resources.resource_filename(__name__, "nemo.jp2")
return file