Skip to content

extract grids - gplately geometry #4

@RichardScottOZ

Description

@RichardScottOZ
ImportError                               Traceback (most recent call last)
Cell In[1], line 6
      3 import warnings
      5 import pandas as pd
----> 6 from gplately.tools import plate_isotherm_depth
      8 from lib.check_files import (
      9     check_plate_model,
     10     check_source_data,
     11 )
     12 from lib.coregister_combined_point_data import run_coregister_combined_point_data

File ~/miniconda3/envs/sdm/lib/python3.12/site-packages/gplately/__init__.py:176
    173     subprocess.call([sys.executable, "-m", "pip", "install", "plate-model-manager"])
    174     import plate_model_manager
--> 176 from . import (
    177     data,
    178     download,
    179     geometry,
    180     gpml,
    181     grids,
    182     oceans,
    183     plot,
    184     ptt,
    185     pygplates,
    186     read_geometries,
    187     reconstruction,
    188 )
    189 from .data import DataCollection
    190 from .download import DataServer

File ~/miniconda3/envs/sdm/lib/python3.12/site-packages/gplately/plot/__init__.py:20
      1 """Tools for reconstructing and plotting geological features and feature data through time.
      2 
      3 Methods in this module reconstruct geological features using
   (...)
     18    -  `shapelify_feature_polygons`
     19 """
---> 20 from ..geometry import (
     21     shapelify_features,
     22     shapelify_feature_lines,
     23     shapelify_feature_polygons,
     24 )
     25 from .plot_topologies import PlotTopologies
     26 from .subduction_teeth import (
     27     SubductionTeeth,
     28     plot_subduction_teeth,
     29 )

ImportError: cannot import name 'shapelify_features' from 'gplately.geometry' (/home/rscott/miniconda3/envs/sdm/lib/python3.12/site-packages/gplately/geometry.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions