-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hello,
I am developing a prototype STAC service and wanted to validate my service using this project.
When I ran the python script:
from stac_validator import stac_validator
STAC_BASE_URL = "http://localhost:8000/"
stac = stac_validator.StacValidate(STAC_BASE_URL + "collections/urn:nasa:pds:insight_rad:data_derived::7.0")
stac.run()
print(stac.message)
I am getting an error:
[{'version': '', 'path': 'http://localhost:8000/collections/urn:nasa:pds:insight_rad:data_derived::7.0', 'schema': ['https://cdn.staclint.com/v/collection.json'], 'valid_stac': False, 'error_type': 'HTTPError', 'error_message': '403 Client Error: Forbidden for url: https://cdn.staclint.com/v/collection.json', 'failed_schema': '', 'recommendation': 'For more accurate error information, rerun with --verbose.'}]
The URL https://cdn.staclint.com/v/collection.json is indeed not accessible.
Is there a way to point the validator to a different location for what I am guessing are the json schema ?
Thanks