Git Product home page Git Product logo

Comments (4)

jdries avatar jdries commented on June 29, 2024

load_stac: solution could be to retrieve metadata client side

from openeo-python-client.

soxofaan avatar soxofaan commented on June 29, 2024

as noted at #501:

I now also added a new argument platform to append_index, compute_index, ... to explicitly specify the satellite platform if the cube metadata has no id (or it's unhandled). e.g.

cube = compute_index(cube, index="NDVI", platform="Sentinel2")

This platform parameter will be used to determine the band name mapping

Does this already address this issue @mbuchhorn or do you also need the following?

... an optional parameter to the functions to provide a custom dictionary mapping the band names of the input DataCube to the standardized band names used by the awesome package.

from openeo-python-client.

mbuchhorn avatar mbuchhorn commented on June 29, 2024

@soxofaan yes.. the optional parameter would be helpfull since sometimes we generate "Frankenstein" input datacube which are already S1+S2 data. then to hand over a dictionary to map the band names to standard awesome package band names would be good.

BTW: have to also adapted the current band names for Sentinel-2 (in your CONSTANT dictionary) --> B8A should be N2 and not RE4

Also: please add the CollectionID Sentinel1_GRD to the Sentinel1 handling

from openeo-python-client.

soxofaan avatar soxofaan commented on June 29, 2024

I now added option to manually specify the band mapping (instead of being guessed from collection id that might be missing). Documented at https://open-eo.github.io/openeo-python-client/cookbook/spectral_indices.html#band-mapping

band names for Sentinel-2 (in your CONSTANT dictionary) --> B8A should be N2 and not RE4

is also fixed now

please add the CollectionID Sentinel1_GRD to the Sentinel1 handling

This should be picked up correctly too

from openeo-python-client.

Related Issues (20)

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.