Skip to content
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

shape field is missing the s3 prefix and is a list of dictionaries for sral-wat and sral-lan Items #25

Open
pjhartzell opened this issue Jun 29, 2023 · 0 comments

Comments

@pjhartzell
Copy link
Contributor

pjhartzell commented Jun 29, 2023

This is both a bug report and a question about what to do about the shape field in the Item assets. Example asset:

        "enhanced-measurement": {
            "href": "https://sentinel3euwest.blob.core.windows.net/sentinel-3/SRAL/SR_2_WAT___/2023/06/03/S3B_SR_2_WAT____20230603T002735_20230603T011320_20230628T180900_2745_080_130______MAR_O_NT_005.SEN3/enhanced_measurement.nc",
            "type": "application/x-netcdf",
            "description": "Enhanced measurement data file",
            "shape": [
                {
                    "time_01": 2466
                },
                {
                    "time_20_ku": 49175
                },
                {
                    "time_20_c": 47958
                },
                {
                    "echo_sample_ind": 128
                }
            ],
  • The lack of an s3 prefix (should be s3:shape) is a bug (not consistent with other products)
  • How to handle a s3:shape field when the netcdf contains variables with inconsistent sizes is the question. For reference, the Planetary Computer excludes the s3:shape field in sral-wat and sral-lan assets.
@pjhartzell pjhartzell changed the title Shape is missing the s3 prefix and is a list of dictionaries for SR_2_WAT archives shape field is missing the s3 prefix and is a list of dictionaries for sral-wat Items Jun 29, 2023
@pjhartzell pjhartzell changed the title shape field is missing the s3 prefix and is a list of dictionaries for sral-wat Items shape field is missing the s3 prefix and is a list of dictionaries for sral-wat and sral-lan Items Jun 29, 2023
TomAugspurger pushed a commit to microsoft/planetary-computer-tasks that referenced this issue Jul 1, 2023
* update to use stactools package

* apply isort and black

* fix: patch stactools issues

- stactools-packages/sentinel3#24
- stactools-packages/sentinel3#25
- stactools-packages/sentinel3#28

* update requirement pin

* finish up
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

1 participant