Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-863

Address warning, deprecation, etc. within Travis-CI log output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • build process
    • None

    Description

      We have a number of areas where Travis-CI logs indicate attention is required.
      Examples include

      test_return_array_shape (ocw.tests.test_dataset_processor.TestRcmesSpatialRegrid) ... /home/travis/miniconda/envs/venv-ocw/lib/python2.7/site-packages/numpy/ma/core.py:3117: VisibleDeprecationWarning: using a boolean instead of an integer will result in an error in the future
      
        dout = self.data[indx]
      
      /home/travis/build/apache/climate/ocw/dataset_processor.py:962: VisibleDeprecationWarning: using a boolean instead of an integer will result in an error in the future
      
        spatial_values.data[idx] = q_shifted[idx]
      
      /home/travis/miniconda/envs/venv-ocw/lib/python2.7/site-packages/numpy/ma/core.py:3222: VisibleDeprecationWarning: using a boolean instead of an integer will result in an error in the future
      
        _data[indx] = dval
      
      ok
      
      test_returned_lats (ocw.tests.test_dataset_processor.TestSpatialRegrid) ... /home/travis/build/apache/climate/ocw/dataset_processor.py:300: VisibleDeprecationWarning: using a boolean instead of an integer will result in an error in the future
      
        values_original.data[idx] = q_shifted[idx]
      
      ok
      
      test_invalid_unit_rebin (ocw.tests.test_dataset_processor.TestTemporalRebin) ... Error: unknown unit type selected for time averaging: EXIT
      
      ok
      
      test_time_dimension_not_multiple_of_orig_time_dimension (ocw.tests.test_dataset_processor.TestTemporalRebinWithTimeIndex) ... Warning: length of time dimension must be a multiple of nt_average
      
      ok
      

      Attachments

        Issue Links

          Activity

            People

              jarifibrahim Ibrahim Jarif
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: