Skip to main content

Execute safely Google Earth Engine algorithm througha tunnel like a marmot

Project description

marmee

https://img.shields.io/pypi/v/marmee.svg https://img.shields.io/travis/francbartoli/marmee.svg Documentation Status Updates

Execute safely Google Earth Engine algorithms through a tunnel like a marmot

Features

  • TODO

STAC Parser

It can translate an object from GEE to a STAC schema representation.

from marmee.utils.parser import Stac
imgAsset = 'projects/fao-wapor/L1_AET/L1_AET_0910'
item = Stac(imgAsset).parse()
print item.json

Which produces the JSON below as a STAC Item:

{
    "assets": {
        "L1_AET_0910": {
            "href": "L1_AET_0910",
            "name": "L1_AET_0910"
        }
    },
    "links": [
        {
            "href": "projects/fao-wapor/L1_AET",
            "rel": "ImageCollection",
            "hreflang": "EN"
        }
    ],
    "geometry": {
        "type": "LinearRing",
        "coordinates": [
            [
                9.33536203029916,
                40.00558427004632
            ],
            [
                -1.7982352104060524,
                40.0055842949407
            ],
            [
                -14.416312088575413,
                40.00558426248278
            ],
            [
                -30.0062673066322,
                40.00557958159156
            ],
            [
                -30.0062673066322,
                -40.00557958159156
            ],
            [
                -17.756391286901717,
                -40.0055842747424
            ],
            [
                -4.396074577361316,
                -40.00558421517503
            ],
            [
                15.644400466056124,
                -40.00558425647372
            ],
            [
                32.3447962745126,
                -40.005584280349574
            ],
            [
                47.56071249632567,
                -40.0055842595196
            ],
            [
                65.00626724904829,
                -40.00557956740052
            ],
            [
                65.00626724904829,
                40.00557956740052
            ],
            [
                51.27191157635778,
                40.00558426297113
            ],
            [
                38.653834709547986,
                40.00558426359986
            ],
            [
                30.860316653195245,
                40.00558428056272
            ],
            [
                17.87111989480795,
                40.00558425744303
            ],
            [
                9.33536203029916,
                40.00558427004632
            ]
        ]
    },
    "properties": {
        "provider": "",
        "ext_properties": {
            "system:index": "L1_AET_0910",
            "level": 1,
            "system:asset_size": 255491726,
            "area": "AfNE",
            "days_in_dk": 10,
            "id_no": "L1_AET_0910",
            "system:time_start": 1238544000000,
            "system:footprint": {
                "type": "LinearRing",
                "coordinates": [
                    [
                        9.33536203029916,
                        40.00558427004632
                    ],
                    [
                        -1.7982352104060524,
                        40.0055842949407
                    ],
                    [
                        -14.416312088575413,
                        40.00558426248278
                    ],
                    [
                        -30.0062673066322,
                        40.00557958159156
                    ],
                    [
                        -30.0062673066322,
                        -40.00557958159156
                    ],
                    [
                        -17.756391286901717,
                        -40.0055842747424
                    ],
                    [
                        -4.396074577361316,
                        -40.00558421517503
                    ],
                    [
                        15.644400466056124,
                        -40.00558425647372
                    ],
                    [
                        32.3447962745126,
                        -40.005584280349574
                    ],
                    [
                        47.56071249632567,
                        -40.0055842595196
                    ],
                    [
                        65.00626724904829,
                        -40.00557956740052
                    ],
                    [
                        65.00626724904829,
                        40.00557956740052
                    ],
                    [
                        51.27191157635778,
                        40.00558426297113
                    ],
                    [
                        38.653834709547986,
                        40.00558426359986
                    ],
                    [
                        30.860316653195245,
                        40.00558428056272
                    ],
                    [
                        17.87111989480795,
                        40.00558425744303
                    ],
                    [
                        9.33536203029916,
                        40.00558427004632
                    ]
                ]
            }
        },
        "license": "",
        "datetime": "2009-04-01T00:00:00+00:00"
    },
    "bbox": [
        -30.0062673066322,
        -40.005584280349574,
        65.00626724904829,
        40.0055842949407
    ],
    "id": "projects/fao-wapor/L1_AET/L1_AET_0910"
}

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-02-15)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marmee-0.1.9.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file marmee-0.1.9.tar.gz.

File metadata

  • Download URL: marmee-0.1.9.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for marmee-0.1.9.tar.gz
Algorithm Hash digest
SHA256 19f3780ba6c384b9ed7996dc967bbfb7b44d655ab9f21432dbdb88e8e90cae25
MD5 1caef2cde4e54e129c1897bf5f3fc701
BLAKE2b-256 3a11c0fb5038eb67527404f5bbd0a61aa3ba27fe3442c1b797c9ea42d14c25d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page