Git Product home page Git Product logo

sentinel-s3's People

Contributors

drewbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sentinel-s3's Issues

AttributeError when removing interior ring

Occurred while processing https://sentinel-s2-l1c.s3.amazonaws.com/tiles/21/N/VH/2016/12/7/0/tileInfo.json

Full stack trace

Traceback (most recent call last):
  File "main.py", line 316, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "main.py", line 312, in main
    range_metadata(start, end, folder, concurrency, writers, geometry_check=geometry_check)
  File "/ad/site-packages/sentinel_s3/main.py", line 192, in range_metadata
    num_worker_threads))
  File "/ad/site-packages/sentinel_s3/main.py", line 135, in daily_metadata
    counter = product_metadata(product, product_dir, counter, writers, geometry_check)
  File "/ad/site-packages/sentinel_s3/main.py", line 81, in product_metadata
    metadata = tile_metadata(tile_info.json(), copy(product_metadata), geometry_check)
  File "/ad/site-packages/sentinel_s3/converter.py", line 303, in tile_metadata
    meta = get_tile_geometry_from_s3(meta)
  File "/ad/site-packages/sentinel_s3/converter.py", line 241, in get_tile_geometry_from_s3
    meta['tile_data_geometry']) = get_tile_geometry(f, epsg_code(meta['tile_geometry']))
  File "/ad/site-packages/sentinel_s3/converter.py", line 217, in get_tile_geometry
    data_geojson = mapping(data_shape)
  File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/geo.py", line 75, in mapping
    return ob.__geo_interface__
  File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/polygon.py", line 300, in __geo_interface__
    coords = [tuple(self.exterior.coords)]
AttributeError: 'NoneType' object has no attribute 'coords'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.