Lewis John McGibbney created CLIMATE-863:
--------------------------------------------
Summary: Address warning, deprecation, etc. within Travis-CI log
output
Key: CLIMATE-863
URL: https://issues.apache.org/jira/browse/CLIMATE-863
Project: Apache Open Climate Workbench
Issue Type: Improvement
Components: build process
Reporter: Lewis John McGibbney
Fix For: 1.2.0
We have a number of areas where Travis-CI logs indicate attention is required.
Examples include
{code}
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
{code}
{code}
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
{code}
{code}
test_invalid_unit_rebin (ocw.tests.test_dataset_processor.TestTemporalRebin)
... Error: unknown unit type selected for time averaging: EXIT
ok
{code}
{code}
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
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)