{"id":21653,"library":"opengeode-geosciences","title":"OpenGeode Geosciences","description":"OpenGeode module for geosciences, providing geology-oriented data structures and tools (e.g., horizons, faults, stratigraphy) on top of the OpenGeode core. Current version: 9.5.13. Release cadence: follows OpenGeode core releases (monthly).","status":"active","version":"9.5.13","language":"python","source_language":"en","source_url":"https://github.com/Geode-solutions/OpenGeode-Geosciences","tags":["geosciences","geology","3d-modeling","opengeode"],"install":[{"cmd":"pip install opengeode-geosciences","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"Core library required for all data structures","package":"opengeode-core","optional":false},{"reason":"Optional dependency for model validation","package":"opengeode-inspector","optional":true}],"imports":[{"note":"Package name uses underscores, not dots","wrong":"import opengeode.geosciences","symbol":"OpenGeodeGeosciences","correct":"import opengeode_geosciences"}],"quickstart":{"code":"import opengeode_geosciences\nfrom opengeode_geosciences import Model, StratigraphicUnit, Horizon, Fault\n\n# Create a simple geological model\nmodel = Model()\nunit = StratigraphicUnit(model, 'Basement', 2.5e9, 5.4e8)\nprint(f'Created unit: {unit.name()}, age: {unit.age_range()}')\n","lang":"python","description":"Creates a basic geological model with a stratigraphic unit."},"warnings":[{"fix":"Use 'import opengeode_geosciences' instead of 'import opengeode.geosciences'.","message":"The module structure changed from opengeode.geosciences (pre-9.0) to opengeode_geosciences (9.0+). Old import patterns will fail.","severity":"breaking","affected_versions":">=9.0.0"},{"fix":"Replace 'GeologicalModel' with 'Model'.","message":"The 'GeologicalModel' class (singular) is deprecated; use 'Model' (plural) instead.","severity":"deprecated","affected_versions":">=9.5.0"},{"fix":"Install the core package as well: pip install opengeode-core.","message":"This package requires opengeode-core. Install both: pip install opengeode-core opengeode-geosciences. If only opengeode-geosciences is installed, import will fail with ModuleNotFoundError for opengeode_core.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install with: pip install opengeode-geosciences and import as 'import opengeode_geosciences'.","cause":"Package not installed or incorrect import name (e.g., used opengeode.geosciences).","error":"ModuleNotFoundError: No module named 'opengeode_geosciences'"},{"fix":"Use 'from opengeode_geosciences import Model' instead.","cause":"GeologicalModel was renamed to Model in version 9.5.0.","error":"ImportError: cannot import name 'GeologicalModel' from 'opengeode_geosciences'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}