opendrift
opendrift copied to clipboard
Segmentation fault (core dumped)
Hi, I am new to opendrift. I am trying to import roms model to opendrift and run the model but it is showing this error. Please let me know how to solve this.
Hi, The log indicates that this could be related to the landmask.
Could you share the script you are using?
And it could also help to see the output of
>>> import opendrift
>>> print(opendrift.versions)
>>> import importlib
>>> importlib.metadata.version('roaring-landmask')
https://github.com/OpenDrift/opendrift/pull/1413 may fix it, if you are not using a custom landmask. That pr failed its tests, but I think errors are unrelated and it can be merged?
Hi. Thanks for your reply. I tried as #1413 . But my reader neglects the input data and my reader fails.
This problem might have been solved in recent updates. So please update OpenDrift (and dependencies/conda environment) to latest version, and see if you get the same problem.
I think this has been fixed in recent versions of roaring-landmask.