-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add sample data collection with Cloud Optimized GeoTIFF #107
Comments
One possibility could be to copy selected collections from Maxar Open Data to a CloudFerro S3 bucket and copy STAC records into our service. Its CC-BY-NC-4.0 license seems to permit that we create a copy (for non-commercial use), if I read it correctly. And we have all the tooling to create the STAC metadata https://github.com/vincentsarago/MAXAR_opendata_to_pgstac/tree/main - thanks @vincentsarago |
Maybe @MathewNWSH knows by heart, whether any nice COG collections exist in eodata.cloudferro.com that perhaps also already have STAC records somewhere? As I previously noted - looking at the CloudFerro STAC https://radiantearth.github.io/stac-browser/#/external/https://pgstac.demo.cloudferro.com - the only collection with COGs seems to be Sentinel-1 Ground Range Detected (GRD). We could use this, but SAR data cannot be validated visually as easily as optical imagery. Maybe there are other collections of COGs in CloudFerro that are just not in the STAC yet? |
Sentinel-1 GRD could be an option, though. RGB composites of the different polarizations tend to look quite nice https://gis.stackexchange.com/a/400780 |
What about using Sentinel-2 COGs by Amazon's Registry for Open Data? AFAIK there are no egress costs. And we could go for a similar area as before (e.g. Poland) to keep size of data a bit limited. |
Hi @j08lue, sorry I missed your message :( I believe that The COG S2 data will be available at some point for selected parts of Europe. (sorry I don't know precise term) Other COG data that I'm aware of are S1GRD and Copernicus DEM (at least I think so). |
Thanks, @MathewNWSH! @j08lue, I would prefer to use S2L2A over S1GRD, it is probably nicer to show. I can imagine it would be good to have this as a use case also when running it on other premises than cloudferro. What do you think for this purpose to download a timerange of a year or so of S2L2A-cogs over Poland (or even a smaller area) and the create a STAC Catalog from it ( |
Ok, let us copy some S2L2A COGs over to CloudFerro for now. It would be great to have rich Sentinel-2 STAC metadata, more than what I see three ways to get there:
Could (1) be easiest, perhaps? We probably need to iterate over the items in our collection to copy the relevant files. |
We need to find out how to create and get write access to a bucket in CloudFerro in the same region as our EOEPCA infrastructure. I would ask about that on EOEPCA Slack. |
We received access to the cloudferro infrastructure of the project. Next steps ahead.
|
Next steps:
|
The sample looks great! Agreed, if performance is ok with loading directly from AWS |
I currently took all imagery over Iceland from 2023 with a cloud coverage lower than 5%. There are 226 items of it. Each contain assets of around 180MB which should be a total of ~40GB. If we play with the cloud coverage it could be more or less. |
Data should now be available - please check it @j08lue. Related PRs:
|
The collection looks great. As icing on the cake, we could add a collection thumbnail, so it looks nice in STAC Browser, similar to what the Poland Sentinel-2 collection has: "assets": {
"thumbnail": {
"href": "https://s3.waw3-2.cloudferro.com/swift/v1/stac-png/S2_L2A.jpg",
"type": "image/jpeg",
"roles": [
"thumbnail"
],
"title": "Sentinel-2 Level-2A",
"proj:code": null,
"proj:shape": [
360,
640
]
}
}, Ideally a mosaic of the actual data or just one of the nicest scenes. Or just a screen grab from a cloudless Sentinel-2 product, like https://s2maps.eu/. |
Yeah, once the Transaction endpoints work, i wanted to add the thumbnail through them as the first use. |
We added a nice Sentinel-2 L2A data collection (over Poland), copying items from the Copernicus Data Space Ecosystem STAC that link to JPEG2000 Sentinel-2 band files:
However, the JPEG2000 driver linked in GDAL (OpenJPEG) is failing under load and generally has poor performance
So we need a nice collection instead that has Cloud Optimized GeoTIFF (COG).
To allow us to test and demo typical data access patterns, the collection should
Acceptance criteria
The text was updated successfully, but these errors were encountered: