Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: metivew and pyproj incompatibility

...

We will update the version of all servers shortly, but in the meantime you may need to either revert to using python3/old in your tasks, or force them to load the new default ecFlow module.

Metview and Pyproj / cartopy incompatibilities

When using Metview from Python 3.12, there is a known incompatibility with any package that uses Pyproj, such as Cartopy. If Metview is imported first, then importing the incompatible packages may fail with:

No Format
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted

Avoiding the use of both in the same script is the safest approach. However, if that is not possible, switching the order of imports so metview is imported last may solve the issue. For example:

No Format
import cartopy
import metview