Description
🐛 Bug Report
When loading any netCDF file, a warning is produced from iris:
FutureWarning: Ignoring a datum in netCDF load for consistency with existing behaviour. In a future version of Iris, this datum will be applied. To apply the datum when loading, use the iris.FUTURE.datum_support flag.
The warning text implies that there is a datum in the file being loaded and it is being ignored. Can the behaviour to trigger the warning be aligned with the warning text, so the warning only fires if there is a datum in the source file?
This would make the warning much more useful for end users: users would only see the warning for those cases where there is a behaviour change controlled by the iris.FUTURE.datum_support flag (and hence where the user may need to understand or do something). At the moment, the warning is emitted for files where there will be no behaviour change too.
How To Reproduce
Steps to reproduce the behaviour:
- Load a netCDF file with iris 3.7 (or iris since 3.3ish?)
Expected behaviour
Only seeing the warning for netCDF files that do have a datum defined.