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

chore!: remove stac record creation #20

Merged
merged 2 commits into from
Dec 13, 2024
Merged

chore!: remove stac record creation #20

merged 2 commits into from
Dec 13, 2024

Conversation

ciaransweet
Copy link

@ciaransweet ciaransweet commented Dec 4, 2024

What this PR is

This PR removes STAC Record creation as an option/implementation

This was added via DevSeed and I think we're the only people who were using it, it's not optimal and we're likely not going to rely on this method further.

Removing reduces any potential maintainance overhead.

How I did it

  • Removed all stac related implementations where it comes to inventory writing
  • Updated our CWL to remove the option to choose the inventory style

How you can test it

You can remove the inventory_format option for local runs and you'll see you only get an inventory.json file now

(Though CEDA FTP is dead right now so I can't actually test this :'( )

@ciaransweet ciaransweet requested a review from j08lue December 4, 2024 13:43
Copy link
Member

@j08lue j08lue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this very surgical operation to remove the STAC specific code we had added. Looks clean and should leave no scars. 👌

@j08lue
Copy link
Member

j08lue commented Dec 13, 2024

For the record - we are planning to still have a mechanism to create STAC records from OS-C Hazard output, but do that in a post-processing script instead.

We are planning on taking the same approach for generating Xarray / data cube friendly Zarr output - remove that from this code base and do it in post-processing.

We can reference the scripts once they are ready, in case someone else needs this.

@ciaransweet ciaransweet merged commit 8866dbc into main Dec 13, 2024
3 checks passed
@ciaransweet ciaransweet deleted the remove-stac branch December 13, 2024 10:22
ciaransweet added a commit that referenced this pull request Dec 16, 2024
* chore!: remove stac as inventory format

Signed-off-by: Ciaran Sweet <[email protected]>
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.

2 participants