-
Notifications
You must be signed in to change notification settings - Fork 2
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
Populating Algorithms: Mogpr from Fusets #80
Draft
Pratichhya
wants to merge
15
commits into
main
Choose a base branch
from
mogpr_v1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+575
−0
Draft
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5788e60
mogpr to openeo_udp
Pratichhya 615c748
changed process id
Pratichhya cfe6b0c
moved dir due to sys path issue
Pratichhya 682134d
algorithm catalog
Pratichhya 8711703
benchmark scenario
Pratichhya 711c44d
updated namespace
Pratichhya 044b57b
preetify json
Pratichhya c3b998f
ruff checked
Pratichhya 80fd98f
updated the README.md file
Pratichhya 7ced4d2
updated requirement txt
Pratichhya c0129ca
addressed the suggested changes on the set_path function
Pratichhya ce18bc8
finalised changes with udp
Pratichhya 2af64c8
fusets_version
Pratichhya 6bfda52
back to insert instead of append
Pratichhya 0a18fa0
updated benchmark scenario and results
Pratichhya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"id": "fusets_mogpr", | ||
"type": "Feature", | ||
"conformsTo": [ | ||
"http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core" | ||
], | ||
"geometry": null, | ||
"properties": { | ||
"created": "2025-01-093T00:00:00Z", | ||
"updated": "2025-01-09T00:00:00Z", | ||
"type": "apex_algorithm", | ||
"title": "Multi output gaussian process regression", | ||
"description": "Integrates timeseries in data cube using multi-output gaussian process regression. The service is designed to enable multi-output regression analysis using Gaussian Process Regression (GPR) on geospatial data. It provides a powerful tool for understanding and predicting spatiotemporal phenomena by filling gaps based on other indicators that are correlated with each other.", | ||
"cost_estimate": 12, | ||
"cost_unit": "platform credits per km²", | ||
"keywords": [ | ||
"timeseries", | ||
"Gaussian Process Regression (GPR)" | ||
], | ||
"language": { | ||
"code": "en-US", | ||
"name": "English (United States)" | ||
}, | ||
"languages": [ | ||
{ | ||
"code": "en-US", | ||
"name": "English (United States)" | ||
} | ||
], | ||
"contacts": [ | ||
{ | ||
"name": "Bram Janssen", | ||
"position": "Researcher", | ||
"organization": "VITO", | ||
"links": [ | ||
{ | ||
"href": "https://www.vito.be/", | ||
"rel": "about", | ||
"type": "text/html" | ||
}, | ||
{ | ||
"href": "https://github.com/JanssenBrm", | ||
"rel": "about", | ||
"type": "text/html" | ||
} | ||
], | ||
"contactInstructions": "Contact via VITO", | ||
"roles": [ | ||
"principal investigator" | ||
] | ||
}, | ||
{ | ||
"name": "Pratichhya Sharma", | ||
"position": "Researcher", | ||
"organization": "VITO", | ||
"links": [ | ||
{ | ||
"href": "https://www.vito.be/", | ||
"rel": "about", | ||
"type": "text/html" | ||
}, | ||
{ | ||
"href": "https://github.com/Pratichhya", | ||
"rel": "about", | ||
"type": "text/html" | ||
} | ||
], | ||
"contactInstructions": "Contact via VITO", | ||
"roles": [ | ||
"service provider" | ||
] | ||
}, | ||
{ | ||
"name": "VITO", | ||
"links": [ | ||
{ | ||
"href": "https://www.vito.be/", | ||
"rel": "about", | ||
"type": "text/html" | ||
} | ||
], | ||
"contactInstructions": "SEE WEBSITE", | ||
"roles": [ | ||
"processor" | ||
] | ||
} | ||
], | ||
"themes": [ | ||
{ | ||
"concepts": [ | ||
{ | ||
"id": "Normalised vegetation difference index (NDVI)" | ||
}, | ||
{ | ||
"id": "Radar Vegetation Index (RVI)" | ||
}, | ||
{ | ||
"id": "Multi-output Gaussian Process Regression (MOGPR)" | ||
} | ||
], | ||
"scheme": "https://gcmd.earthdata.nasa.gov/kms/concepts/concept_scheme/sciencekeywords" | ||
} | ||
], | ||
"formats": [ | ||
{ | ||
"name": "JSON" | ||
} | ||
], | ||
"license": "other" | ||
}, | ||
"linkTemplates": [], | ||
"links": [ | ||
{ | ||
"rel": "openeo-process", | ||
"type": "application/json", | ||
"title": "openEO Process Definition", | ||
"href": "https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/refs/heads/mogpr_v1/openeo_udp/fusets_mogpr/fusets_mogpr.json" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this branch will probably be deleted afterwards, so make sure to update once merged |
||
}, | ||
{ | ||
"rel": "service", | ||
"type": "application/json", | ||
"title": "CDSE openEO federation", | ||
"href": "https://openeofed.dataspace.copernicus.eu" | ||
}, | ||
{ | ||
"rel": "license", | ||
"href": "https://apex.esa.int/license" | ||
}, | ||
{ | ||
"rel": "example", | ||
"type": "application/json", | ||
"title": "Example output", | ||
"href": "https://s3.waw3-1.cloudferro.com/swift/v1/apex-examples/fusets_mogpr/timeseries.json" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
[ | ||
{ | ||
"id": "fusets_mogpr", | ||
"type": "openeo", | ||
"description": "Multi output gaussian process regression example on NDVI timeseries", | ||
"backend": "openeofed.dataspace.copernicus.eu", | ||
"process_graph": { | ||
"aggregatespatial1": { | ||
"arguments": { | ||
"data": { | ||
"from_node": "fusetsmogpr1" | ||
}, | ||
"geometries": { | ||
"coordinates": [ | ||
[ | ||
[ | ||
5.170012098271149, | ||
51.25062964728295 | ||
], | ||
[ | ||
5.17085904378298, | ||
51.24882567194015 | ||
], | ||
[ | ||
5.17857421368097, | ||
51.2468515482926 | ||
], | ||
[ | ||
5.178972704726344, | ||
51.24982704376254 | ||
], | ||
[ | ||
5.170012098271149, | ||
51.25062964728295 | ||
] | ||
] | ||
], | ||
"type": "Polygon" | ||
}, | ||
"reducer": { | ||
"process_graph": { | ||
"mean1": { | ||
"arguments": { | ||
"data": { | ||
"from_parameter": "data" | ||
} | ||
}, | ||
"process_id": "mean", | ||
"result": true | ||
} | ||
} | ||
} | ||
}, | ||
"process_id": "aggregate_spatial" | ||
}, | ||
"fusetsmogpr1": { | ||
"arguments": { | ||
"data": { | ||
"from_node": "ndvi1" | ||
} | ||
}, | ||
"namespace": "https://openeo.dataspace.copernicus.eu/openeo/1.2/processes/u:3e24e251-2e9a-438f-90a9-d4500e576574/fusets_mogpr", | ||
"process_id": "fusets_mogpr" | ||
}, | ||
"loadcollection1": { | ||
"arguments": { | ||
"bands": [ | ||
"B04", | ||
"B08" | ||
], | ||
"id": "SENTINEL2_L2A", | ||
"spatial_extent": { | ||
"coordinates": [ | ||
[ | ||
[ | ||
5.170012098271149, | ||
51.25062964728295 | ||
], | ||
[ | ||
5.17085904378298, | ||
51.24882567194015 | ||
], | ||
[ | ||
5.17857421368097, | ||
51.2468515482926 | ||
], | ||
[ | ||
5.178972704726344, | ||
51.24982704376254 | ||
], | ||
[ | ||
5.170012098271149, | ||
51.25062964728295 | ||
] | ||
] | ||
], | ||
"type": "Polygon" | ||
}, | ||
"temporal_extent": [ | ||
"2022-05-01", | ||
"2022-06-01" | ||
] | ||
}, | ||
"process_id": "load_collection" | ||
}, | ||
"loadcollection2": { | ||
"arguments": { | ||
"bands": [ | ||
"SCL" | ||
], | ||
"id": "SENTINEL2_L2A", | ||
"spatial_extent": { | ||
"coordinates": [ | ||
[ | ||
[ | ||
5.170012098271149, | ||
51.25062964728295 | ||
], | ||
[ | ||
5.17085904378298, | ||
51.24882567194015 | ||
], | ||
[ | ||
5.17857421368097, | ||
51.2468515482926 | ||
], | ||
[ | ||
5.178972704726344, | ||
51.24982704376254 | ||
], | ||
[ | ||
5.170012098271149, | ||
51.25062964728295 | ||
] | ||
] | ||
], | ||
"type": "Polygon" | ||
}, | ||
"temporal_extent": [ | ||
"2022-05-01", | ||
"2022-06-01" | ||
] | ||
}, | ||
"process_id": "load_collection" | ||
}, | ||
"mask1": { | ||
"arguments": { | ||
"data": { | ||
"from_node": "loadcollection1" | ||
}, | ||
"mask": { | ||
"from_node": "toscldilationmask1" | ||
} | ||
}, | ||
"process_id": "mask" | ||
}, | ||
"ndvi1": { | ||
"arguments": { | ||
"data": { | ||
"from_node": "mask1" | ||
}, | ||
"nir": "B08", | ||
"red": "B04" | ||
}, | ||
"process_id": "ndvi" | ||
}, | ||
"saveresult1": { | ||
"arguments": { | ||
"data": { | ||
"from_node": "aggregatespatial1" | ||
}, | ||
"format": "JSON", | ||
"options": {} | ||
}, | ||
"process_id": "save_result", | ||
"result": true | ||
}, | ||
"toscldilationmask1": { | ||
"arguments": { | ||
"data": { | ||
"from_node": "loadcollection2" | ||
} | ||
}, | ||
"process_id": "to_scl_dilation_mask" | ||
} | ||
}, | ||
"reference_data": { | ||
"job-results.json": "https://s3.waw3-1.cloudferro.com/swift/v1/apex-examples/fusets_mogpr/job-results.json", | ||
"timeseries.json": "https://s3.waw3-1.cloudferro.com/swift/v1/apex-examples/fusets_mogpr/timeseries.json" | ||
} | ||
} | ||
] |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this calculated with the standard job options? or did you reevalute this cost?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this was when updating the job_option. As mentioned in the documentation, 'executor-memory': '7g' was set, however I used:
"executor-memory": "1G",
"executor-memoryOverhead": "500m",
"python-memory": "3G"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, so did this influence the cost estimate?
Also did you use the same memory settings in your benchmark?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not much: by 4/5 credits.
Usually in my setting it is around 15 credits but with the executor-memory: 7g it is 19credits for a month and same aoi