Subswath not mandatory#139
Open
clausmichele wants to merge 5 commits into
Open
Conversation
Member
Author
|
Test is failing, because the enum parameter for subswath in the CWL doesn't accept null as a valid input. |
Member
|
@codex review |
Member
|
@copilot review without making changes. |
Member
Author
|
Tested with the following code and it worked. I'm pointing to a modified UDP, where the subswath is not required and using the CWL from this branch. import openeo
connection = openeo.connect("openeo.dataspace.copernicus.eu/").authenticate_oidc()
stac_resource = connection.datacube_from_process(
"sentinel1_sar_coherence",
namespace="https://gist.githubusercontent.com/clausmichele/cec67bdc658487c544d380a0c0e924df/raw/a0eda5d74aa78cebb59a50df69560ad11cfe643d/sentinel1_sar_coherence.json",
**{
"spatial_extent": {
"west": 10.930938606933454,
"east": 11.09525568450856,
"south": 46.740488579394516,
"north": 46.82501382506073
},
"temporal_extent": ["2018-01-28", "2018-02-15"],
"temporal_baseline": 6,
"polarization": "VH",
# "sub_swath": "IW2"
}
)
job = stac_resource.create_job(title="sentinel1_sar_coherence aoi only")
job.start_and_wait()
job.get_results().download_files() |
Member
|
@copilot review without making changes. (First review attempt got stuck) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #138