Skip to main content

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.

0.2.4 (2018-11-08)

  • Update of dependencies.

Metadata

Release files for marmee 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marmee 0.2.4
File Size Uploaded Provenance
marmee-0.2.4.tar.gz 14.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for marmee 0.2.4
File Interpreter ABI Platform
marmee-0.2.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 25.1 kB

Release files / marmee-0.2.4.tar.gz

Download URL marmee-0.2.4.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
118d18ac5c8025a06bdadb3f93813d3e4f63d410a85caf7376c7a9ef38292489
BLAKE2b-256 checksum
How to use checksums
0cd537c7ecb224754a02db71b9bebd903df3ee160012681ac257d2cb25a41c20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release files / marmee-0.2.4-py2.py3-none-any.whl

Download URL marmee-0.2.4-py2.py3-none-any.whl
Size 10.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d6137db03b100701b8bf892e7b23862f17248e1b794e49d5810e9c72420e1eb3
BLAKE2b-256 checksum
How to use checksums
6a3ce7bc8977356a0b0992d0df828bb5b6328476454eb042a57ed437217d8509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for marmee 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page