C2SM / icon-vis

Collection of Python scripts and notebooks to demonstrate plotting on the ICON grid.
BSD 3-Clause "New" or "Revised" License
15 stars 6 forks source link

crash of difference_map #44

Closed andreaspauling closed 1 year ago

andreaspauling commented 1 year ago

The tool difference_map crashes and throws "RuntimeWarning: Precision loss occurred in moment calculation due to catastrophic cancellation. This occurs when the data are nearly identical." (and further error messages, possibly triggered by the first error) if the two input files are very similar over a large part of the domain.

It may be connected to a bug in the used version of the xarray package which is under investigation.