We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Missing optional parameters cause dataset/publish endpoint to fail with errors including:
dataset/publish
{'loc': ('body', 'COGDataset', 'spatial_extent'), 'msg': 'field required', 'type': 'value_error.missing'} {'loc': ('body', 'COGDataset', 'temporal_extent'), 'msg': 'field required', 'type': 'value_error.missing'}, {'loc': ('body', 'COGDataset', 'sample_files'), 'msg': 'field required', 'type': 'value_error.missing'}
spatial_extent
temporal_extent
sample_files
{ "assets": { "thumbnail": { "description": "Photo by [Mick Truyts](https://unsplash.com/photos/x6WQeNYJC1w) (Power plant shooting steam at the sky)", "href": "https://thumbnails.openveda.cloud/no2--dataset-cover.jpg", "roles": [ "thumbnail" ], "title": "Thumbnail", "type": "image/jpeg" } }, "collection": "OMI_trno2-COG-deleteme", "data_type": "cog", "description": "OMI_trno2 - 0.10 x 0.10 Annual as Cloud-Optimized GeoTIFFs (COGs)", "discovery_items": [ { "bucket": "veda-data-store-staging", "datetime_range": "year", "discovery": "s3", "filename_regex": "^(.*).tif$", "prefix": "OMI_trno2-COG/" } ], "is_periodic": true, "license": "MIT", "providers": [ { "name": "NASA VEDA", "roles": [ "host" ], "url": "https://www.earthdata.nasa.gov/dashboard/" } ], "renders": { "dashboard": { "assets": [ "cog_default" ], "colormap_name": "reds", "rescale": [ [ 0, 3000000000000000 ] ], "title": "VEDA Dashboard Render Parameters" } }, "time_density": "year", "title": "DELETE ME OMI_trno2" }
The text was updated successfully, but these errors were encountered:
ividito
No branches or pull requests
What
Missing optional parameters cause
dataset/publish
endpoint to fail with errors including:Optional parameters causing errors
spatial_extent
temporal_extent
sample_files
A dataset that will fail
dataset-config.json
AC
The text was updated successfully, but these errors were encountered: