[ 
https://issues.apache.org/jira/browse/CLIMATE-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014503#comment-15014503
 ] 

ASF GitHub Bot commented on CLIMATE-695:
----------------------------------------

Github user MJJoyce commented on the pull request:

    https://github.com/apache/climate/pull/262#issuecomment-158216562
  
    Note, the build is still failing after updating this dependency. These are 
likely a result of the multitude of changes that were made while the tests were 
broken from this library missing. The DAP failure is the same old nonsense that 
never ends as well ...
    ```
    | -> nosetests
    
E.................................................................................FF.F....................................
    ======================================================================
    ERROR: test suite for <class 'ocw.tests.test_dap.TestDap'>
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/nose/suite.py", 
line 208, in run
        self.setUp()
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/nose/suite.py", 
line 291, in setUp
        self.setupContext(ancestor)
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/nose/suite.py", 
line 314, in setupContext
        try_run(context, names)
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/nose/util.py", 
line 470, in try_run
        return func()
      File 
"/Users/mjjoyce/Coding/Climate/github-climate/ocw/tests/test_dap.py", line 28, 
in setup_class
        self.dataset = dap.load(self.url, 'sst', name=self.name)
      File 
"/Users/mjjoyce/Coding/Climate/github-climate/ocw/data_source/dap.py", line 42, 
in load
        d = open_url(url)
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/pydap/client.py", 
line 60, in open_url
        dataset = response(url)
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/pydap/client.py", 
line 206, in _ddsdas
        respdds, dds = request(ddsurl)
      File 
"/Users/mjjoyce/anaconda/envs/OCW/lib/python2.7/site-packages/pydap/util/http.py",
 line 50, in request
        raise ServerError(msg)
    ServerError: 'Server error 1: "Cannot locate resource: 
http://test.opendap.org/opendap/hyrax/data/nc/sst.mnmean.nc.gz.dds";'
    -------------------- >> begin captured logging << --------------------
    pydap: INFO: Opening 
http://test.opendap.org/dap/data/nc/sst.mnmean.nc.gz.dds
    --------------------- >> end captured logging << ---------------------
    
    ======================================================================
    FAIL: To test load_file function for latitudes
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File 
"/Users/mjjoyce/Coding/Climate/github-climate/ocw/tests/test_local.py", line 
48, in test_function_load_file_lats
        self.assertItemsEqual(local.load_file(self.file_path, "value").lats, 
self.latitudes)
    AssertionError: Element counts were not equal:
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    
    ======================================================================
    FAIL: To test load_file function for longitudes
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File 
"/Users/mjjoyce/Coding/Climate/github-climate/ocw/tests/test_local.py", line 
53, in test_function_load_file_lons
        self.assertItemsEqual(local.load_file(self.file_path, "value").lons, 
self.longitudes)
    AssertionError: Element counts were not equal:
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    First has 0, Second has 0:  masked
    
    ======================================================================
    FAIL: To test load_file function for values
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File 
"/Users/mjjoyce/Coding/Climate/github-climate/ocw/tests/test_local.py", line 
65, in test_function_load_file_values
        self.assertTrue(numpy.allclose(local.load_file(self.file_path, 
"value").values, new_values))
    AssertionError: masked is not true
    
    ```


> Adding h5py library
> -------------------
>
>                 Key: CLIMATE-695
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-695
>             Project: Apache Open Climate Workbench
>          Issue Type: Task
>          Components: general
>    Affects Versions: 1.0.0
>            Reporter: Huikyo Lee
>            Assignee: Michael Joyce
>            Priority: Blocker
>             Fix For: 1.1
>
>
> In order to properly handle HDF5 files from NASA satellite observations, OCW 
> needs to include h5py library in the package. h5py can be installed via conda 
> install (conda install h5py).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to