Skip to content

shapely version #27

@RichardScottOZ

Description

@RichardScottOZ

Do you know what version you were running when this was set up?

ImportError                               Traceback (most recent call last)
Cell In[10], line 4
      2 import netCDF4
      3 import numpy as np
----> 4 from geophys_utils import NetCDFLineUtils
      5 import matplotlib.pyplot as plt
      6 from geophys_utils import array2file

File ~\AppData\Local\miniconda3\envs\pangeo3\lib\site-packages\geophys_utils\__init__.py:41
     29 #===============================================================================
     30 # if not logger.handlers:
     31 #     # Set handler for root logger to standard output
   (...)
     37 #     logger.addHandler(console_handler)
     38 #===============================================================================
     40 from geophys_utils._netcdf_utils import NetCDFUtils
---> 41 from geophys_utils._netcdf_grid_utils import NetCDFGridUtils
     42 from geophys_utils._netcdf_point_utils import NetCDFPointUtils
     43 from geophys_utils._netcdf_line_utils import NetCDFLineUtils

File ~\AppData\Local\miniconda3\envs\pangeo3\lib\site-packages\geophys_utils\_netcdf_grid_utils.py:30
     28 from geophys_utils._polygon_utils import netcdf2convex_hull
     29 from geophys_utils._netcdf_utils import NetCDFUtils, METADATA_CRS
---> 30 from shapely.geometry import Polygon, MultiPolygon, asPolygon
     31 from shapely.geometry.base import BaseGeometry
     32 import shapely

ImportError: cannot import name 'asPolygon' from 'shapely.geometry' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions