Unit('0')
prints NULL factor argument
and NULL unit argument
#240
Labels
Unit('0')
prints NULL factor argument
and NULL unit argument
#240
🐛 Bug Report
While reading lots of large netCDF files with
iris
, I noticed that my entirestderr
is cluttered with the following prints:These come from the use of
cf_units.Unit('0')
for variables with the unit'0'
.How to Reproduce
Steps to reproduce the behaviour:
Using
correctly raises an error, but also prints the messages mentioned above:
These warnings cannot be suppressed using
python -W ignore
or by usingwarnings.filterwarnings
.Expected Behaviour
These warnings should not be printed or be issued using the
warnings
module so they can be handled properly.Environment
The text was updated successfully, but these errors were encountered: