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

GITC-6411 Created mrf_unjoin script to break up MRF into cells #78

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

jtroberts
Copy link
Member

No description provided.

@lucianpls
Copy link
Member

What is the application for this?
It should be possible to do without compression/decompression of tiles, just by creating new index files (and optionally copying the needed tiles), making it indeed the reverse of the join.

@jtroberts
Copy link
Member Author

It is to support a GIBS processing workflow that needs to occasionally reprocess cell MRFs that no longer exist. I think we could just use mrf_insert to update the final MRF but that's either difficult or not efficient for the workflow (I don't recall the exact reasons).

I initially looked at creating new index files and copying the tiles but saw that the tile matrix sets did not match. For instance, the MRF has 20x10 tiles but we needed to break into 16x8 MRFs. The approach in the current script has decent performance and is reproducible with gdal commands.

@jtroberts jtroberts merged commit fd318c8 into master Nov 7, 2024
1 check passed
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