-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
aggregated_timeseriesIssues relating to the aggregated time series productIssues relating to the aggregated time series productgridded_timeseriesIssues relating to the gridded time series productIssues relating to the gridded time series producthourly_timeseriesIssues relating to the hourly time series productIssues relating to the hourly time series productncwriterRelated to creating netCDF files based on templatesRelated to creating netCDF files based on templatesvelocity_hourlyIssues relating to the velocity hourly time series productIssues relating to the velocity hourly time series product
Milestone
Description
Various DeprecationWarning and RuntimeWarning pop up when running the unittests. These should ideally be fixed before they become errors.
E.g.
test_aodntools/ncwriter/test_template.py::TestDatasetTemplate::test_ensure_completeness
/home/travis/build/aodn/python-aodntools/test_aodntools/ncwriter/test_template.py:282: DeprecationWarning: Please use assertRaisesRegex instead.
template.ensure_completeness)
/home/travis/build/aodn/python-aodntools/test_aodntools/ncwriter/test_template.py:286: DeprecationWarning: Please use assertRaisesRegex instead.
template.ensure_completeness)
test_aodntools/ncwriter/test_template.py::TestDatasetTemplate::test_ensure_consistency
/home/travis/build/aodn/python-aodntools/test_aodntools/ncwriter/test_template.py:318: DeprecationWarning: Please use assertRaisesRegex instead.
template.ensure_consistency) # now should fail because dim X is already set
/home/travis/build/aodn/python-aodntools/test_aodntools/ncwriter/test_template.py:323: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(ValidationError, 'undefined dimensions', template.ensure_consistency)
/home/travis/build/aodn/python-aodntools/test_aodntools/ncwriter/test_template.py:330: DeprecationWarning: Please use assertRaisesRegex instead.
template.ensure_consistency
test_aodntools/ncwriter/test_template.py::TestDatasetTemplate::test_invalid_json
/home/travis/build/aodn/python-aodntools/test_aodntools/ncwriter/test_template.py:105: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(ValueError, error_pattern, DatasetTemplate.from_json, BAD_JSON)
test_aodntools/timeseries_products/test_aggregated_timeseries.py::TestAggregatedTimeseries::test_main_aggregator
/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/numpy/core/fromnumeric.py:83: RuntimeWarning: invalid value encountered in less
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/numpy/core/fromnumeric.py:83: RuntimeWarning: invalid value encountered in greater
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/numpy/core/fromnumeric.py:83: RuntimeWarning: invalid value encountered in reduce
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
Metadata
Metadata
Assignees
Labels
aggregated_timeseriesIssues relating to the aggregated time series productIssues relating to the aggregated time series productgridded_timeseriesIssues relating to the gridded time series productIssues relating to the gridded time series producthourly_timeseriesIssues relating to the hourly time series productIssues relating to the hourly time series productncwriterRelated to creating netCDF files based on templatesRelated to creating netCDF files based on templatesvelocity_hourlyIssues relating to the velocity hourly time series productIssues relating to the velocity hourly time series product