Skip to content

sar_backscatter: get coefficients from schema #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jdries opened this issue Dec 20, 2024 · 0 comments
Closed

sar_backscatter: get coefficients from schema #693

jdries opened this issue Dec 20, 2024 · 0 comments
Assignees

Comments

@jdries
Copy link
Collaborator

jdries commented Dec 20, 2024

OpenEO backends publish their process definitions (schemas), which in many cases follow the official schema, but sometimes not.
The current python client never uses the actual backend schemas, and instead makes assumptions, which leads to user confusion.
It is relatively easy to:

  • check if a certain process exists before using it
  • check if a certain process argument exists
  • check what values are available

One example is the list of supported backscatter coefficients. I suggest to implement metadata lookup, allowing us to improve this check:

"beta0", "sigma0-ellipsoid", "sigma0-terrain", "gamma0-ellipsoid", "gamma0-terrain", None

Suggestion is to use existing 'describe_process', but add a caching mechanism. Also important to check the case where the process doesn't exist.

def describe_process(self, id: str, namespace: Optional[str] = None) -> dict:

ElienVandermaesenVITO added a commit that referenced this issue Jan 14, 2025
…ore compact, and remove get_schema_from_process_parameter
soxofaan added a commit that referenced this issue Mar 3, 2025
…fficients-from-schema

issue #693 add search for schema and find parameters from the backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants