Skip to content

Conversation

@djkirkham
Copy link
Contributor

@djkirkham djkirkham commented Oct 17, 2017

Closes #2714
Closes #2808

Some things which need explaining:

For the GRIB tests, these were failing because they were trying to use cube.fill_value. I've changed them to use cube.data.fill_value instead. This is actually counter to our masked data saving strategy, but I don't see any point fixing it here since we've moved everything to Iris-GRIB. The behaviour should be changed there.

I've removed all the tests in iris.tests.unit.fileformats.netcdf.test__load_cube.TestFillValue. Before fill_value was added as a cube attribute, these tests were testing that the fill-value from the file was propagated onto the cube's _my_data attribute, a Biggus array. In the current code there's no way to obtain the fill value from a cube with lazy data, and hence no way to test this behaviour. Arguably one could realise the data as part of the test to do so, but that just seems like testing the behaviour of Dask and NetCDF4-python.

@pelson pelson merged commit c55025d into SciTools:dask_mask_array Oct 18, 2017
@QuLogic QuLogic added this to the dask-mask milestone Oct 18, 2017
@djkirkham djkirkham deleted the fix_remaining_skips branch October 20, 2017 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants