sicor.sensors.S2MSI.GranuleInfo package

Submodules

sicor.sensors.S2MSI.GranuleInfo.GranuleInfo module

class sicor.sensors.S2MSI.GranuleInfo.GranuleInfo.GranuleInfo(version='lite')[source]

Bases: dict

Dict like object with basic information’s about Sentinel2-MSI granules.

Parameters:

version (string with granule name, see keys() method for available names) – should be either “lite” or “full”

Returns:

dict like object, keys are S2 granule names (e.g. ‘32UVX’), data can be accessed via () and [] methods

:Example

>>> S2gi = GranuleInfo(version="full")
>>> S2gi["32UPV"]
    {u'country': [u'Germany'],
     u'epsg': 32632,
     u'name': u'32UPV',
     u'pos': {u'll': {u'lat': 48.6570271781,
       u'lon': 10.3579107698,
       u'x': 599999.9999970878,
       u'y': 5390220.000326163},
      u'lr': {u'lat': 48.6298215752,
       u'lon': 11.8474784519,
       u'x': 709800.0000132157,
       u'y': 5390220.000321694},
      u'tl': {u'lat': 49.644436702,
       u'lon': 10.3851737332,
       u'x': 600000.0000025682,
       u'y': 5500020.000361709},
      u'tr': {u'lat': 49.6162737214,
       u'lon': 11.9045727629,
       u'x': 709800.0000165974,
       u'y': 5500020.000351718}},
     u'region': [u'Europe'],
     u'zone': 32}
get_tile_data()[source]

Module contents

class sicor.sensors.S2MSI.GranuleInfo.GranuleInfo(version='lite')[source]

Bases: dict

Dict like object with basic information’s about Sentinel2-MSI granules.

Parameters:

version (string with granule name, see keys() method for available names) – should be either “lite” or “full”

Returns:

dict like object, keys are S2 granule names (e.g. ‘32UVX’), data can be accessed via () and [] methods

:Example

>>> S2gi = GranuleInfo(version="full")
>>> S2gi["32UPV"]
    {u'country': [u'Germany'],
     u'epsg': 32632,
     u'name': u'32UPV',
     u'pos': {u'll': {u'lat': 48.6570271781,
       u'lon': 10.3579107698,
       u'x': 599999.9999970878,
       u'y': 5390220.000326163},
      u'lr': {u'lat': 48.6298215752,
       u'lon': 11.8474784519,
       u'x': 709800.0000132157,
       u'y': 5390220.000321694},
      u'tl': {u'lat': 49.644436702,
       u'lon': 10.3851737332,
       u'x': 600000.0000025682,
       u'y': 5500020.000361709},
      u'tr': {u'lat': 49.6162737214,
       u'lon': 11.9045727629,
       u'x': 709800.0000165974,
       u'y': 5500020.000351718}},
     u'region': [u'Europe'],
     u'zone': 32}
get_tile_data()[source]