Skip to content

Conversation

lossyrob
Copy link
Member

Fixes #65

In STAC 0.9.0 there is a heavier use of remote schemas; this slowed
down the jsonschema validation over larger catalogs. These changes
help speed things up by caching all requiured remote schemas and
passing them to the RefResolver, so that the remote schemas listed in
"schemas" and "aux_schemas" will only be read once.
The remote URL has a JSON error. This URL should be reverted once a
fix is in place on the main stac-spec repo.
Also, created a script to pull down examples from new STAC versions.

This commit breaks tests. These will be fixed in follow up commits.
From 0.9.0 CHANGELOG:
A description field has been added to Item assets (also Asset definitions extension)
From CHANGELOG for 0.9.0:
Several fields have been moved from extensions or item fields to the Common Metadata fields:
 eo:platform / sar:platform => platform
 eo:instrument / sar:instrument => instruments, also changed from string to array of strings
 eo:constellation / sar:constellation => constellation
From CHANGELOG for 0.9.0:
Moved angle definitions from extensions eo and new view extension
 eo:off_nadir -> view:off_nadir
 eo:azimuth -> view:azimuth
 eo:incidence_angle -> view:incidence_angle
 eo:sun_azimuth -> view:sun_azimuth
 eo:sun_elevation -> view:sun_elevation
@palmerj
Copy link

palmerj commented Apr 3, 2020

How's progress going on this? Really keen to get support for v0.9.0, but understand under pressure that might be going on. e.g COVID-19!

@lossyrob
Copy link
Member Author

lossyrob commented Apr 3, 2020

@palmerj was hoping to get this weeks ago, but as you guessed a global pandemic came up :) Currently doing a lot of work on https://github.com/covidcaremap/covid19-healthsystemcapacity, once that settles down we can get some more resources to push this through. Thanks for the understanding, and if there's anyone else that can make some progress on this please contribute!

@jisantuc
Copy link
Contributor

jisantuc commented May 1, 2020

I didn't run into any Item or Collection schema issues in azavea/franklin#219, but those are the only parts of the upgrade that I can exercise with Franklin + transactions

@lossyrob lossyrob force-pushed the rde/update-to-0.9 branch from fdc1259 to 8ec1cf0 Compare June 9, 2020 17:04
lossyrob and others added 26 commits June 28, 2020 00:25
This modifies extensions to wrap STACObjects instead of inhereting
from them. These changes apply to the 'eo' and 'label' extensions -
not the single-file-stac extensions, which is different and will be
dropped for STAC 1.0.
- Add view extension if there are eo fields info that moved to view.
- Remove datetime-range extension in 0.9
@lossyrob lossyrob changed the title [WIP] Upgrade to STAC 0.9.0 Upgrade to STAC 0.9.0 Jul 10, 2020
@lossyrob lossyrob merged commit 2cc45e6 into develop Jul 10, 2020
@matthewhanson matthewhanson deleted the rde/update-to-0.9 branch March 26, 2021 04:45
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

Successfully merging this pull request may close these issues.

Update PySTAC to use STAC 0.9.0
5 participants