Skip to content

Commit

Permalink
Merge pull request #138 from HDFGroup/issue78
Browse files Browse the repository at this point in the history
hdf rest plugin
  • Loading branch information
jreadey committed Nov 1, 2015
2 parents fdcbb36 + 50525ff commit d859112
Show file tree
Hide file tree
Showing 5 changed files with 981 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hdf_compass/compass_viewer/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ def load_plugins():
% (".".join(str(i) for i in lib.__version__), ".".join(str(i) for i in lib.__dap__)))
except ImportError:
log.warning("Opendap plugin: NOT loaded")

from hdf_compass import hdf5rest_model
try:
from hdf_compass import hdf5rest_model
except ImportError:
log.warning("HDF5 REST: plugin NOT loaded")


def run():
Expand Down
18 changes: 18 additions & 0 deletions hdf_compass/hdf5rest_model/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
##############################################################################
# Copyright by The HDF Group. #
# All rights reserved. #
# #
# This file is part of the HDF Compass Viewer. The full HDF Compass #
# copyright notice, including terms governing use, modification, and #
# terms governing use, modification, and redistribution, is contained in #
# the file COPYING, which can be found at the root of the source code #
# distribution tree. If you do not have access to this file, you may #
# request a copy from help@hdfgroup.org. #
##############################################################################
from __future__ import absolute_import, division, print_function, unicode_literals

from .model import HDF5RestStore, HDF5RestGroup, HDF5RestDataset, HDF5RestKV

import logging
log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Loading

0 comments on commit d859112

Please sign in to comment.