Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gms_preprocessing
gms_preprocessing
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • geomultisens
  • gms_preprocessinggms_preprocessing
  • Issues
  • #56

Closed
Open
Opened Jan 27, 2018 by Daniel Scheffler@danschefOwner

ValueError: A LinearRing must have at least 3 coordinate tuples

SceneID: 27231464
EntityID: S2A_OPER_MSI_L1C_TL_SGS__20160718T155027_A005596_T33UWS_N02.04
Subsystem: S2A10

Traceback (most recent call last):
  File ""/home/gfz-fe/scheffler/python_deployed/gms_preprocessing/gms_preprocessing/misc/exception_handler.py"", line 84, in wrapped_GMS_mapper
    self.GMS_objs = GMS_mapper(GMS_objs, **kwargs)
  File ""/home/gfz-fe/scheffler/python_deployed/gms_preprocessing/gms_preprocessing/processing/pipeline.py"", line 173, in L2A_map
    return list(L2A_tiles)
  File ""/home/gfz-fe/scheffler/python_deployed/gms_preprocessing/gms_preprocessing/model/dataset.py"", line 594, in to_tiles
    tileObj = self.get_subset_obj(imBounds=(xmin, xmax, ymin, ymax))  # xmax+1/ymax+1?
  File ""/home/gfz-fe/scheffler/python_deployed/gms_preprocessing/gms_preprocessing/model/dataset.py"", line 561, in get_subset_obj
    sub_GMS_obj.mask_nodata, assert_four_corners=False, algorithm='shapely')
  File ""/home/gfz-fe/scheffler/python_deployed/py_tools_ds/py_tools_ds/geo/coord_calc.py"", line 69, in calc_FullDataset_corner_positions
    poly = Polygon(outline).convex_hull
  File ""/home/gfz-fe/python_GFZ/python/lib/python3.6/site-packages/shapely/geometry/polygon.py"", line 231, in __init__
    ret = geos_polygon_from_py(shell, holes)
  File ""/home/gfz-fe/python_GFZ/python/lib/python3.6/site-packages/shapely/geometry/polygon.py"", line 483, in geos_polygon_from_py
    ret = geos_linearring_from_py(shell)
  File ""shapely/speedups/_speedups.pyx"", line 236, in shapely.speedups._speedups.geos_linearring_from_py
ValueError: A LinearRing must have at least 3 coordinate tuples
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: geomultisens/gms_preprocessing#56