Skip to content

Commit

Permalink
Added missing_value test
Browse files Browse the repository at this point in the history
This adds missing_value to the list of always data variable attributes
in test_attributes.

Signed-off-by: Klaus Zimmermann <klaus.zimmermann@smhi.se>
  • Loading branch information
Klaus Zimmermann committed Nov 10, 2017
1 parent 0acbe92 commit bf71a4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/iris/tests/test_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@ def test_attributes(self):
'flag_masks': 'a',
'flag_meanings': 'b',
'flag_values': 'c',
'missing_value': 1.e20,
'STASH': iris.fileformats.pp.STASH(1, 2, 3)}
for k, v in six.iteritems(avars):
self.cube.attributes[k] = v
Expand Down

0 comments on commit bf71a4f

Please sign in to comment.