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

Missing geospatial information after patched data #9

Open
nilsleh opened this issue Jan 29, 2025 · 2 comments
Open

Missing geospatial information after patched data #9

nilsleh opened this issue Jan 29, 2025 · 2 comments

Comments

@nilsleh
Copy link

nilsleh commented Jan 29, 2025

Hi @MWieland , thank you for this nice and interesting work. I noticed that in the patch split script the resulting tiff files do not contain the lat/lon or time coordinates anymore, and was wondering, whether it would be possible to adapt the script to include those values in the resulting tiff patches as well.

@MWieland
Copy link
Owner

Hi @nilsleh , thanks for your interest in our work and dataset. Here we decided to use plain numpy for the tiling as it is fast and simple and in most cases one does not require the geocoordinates during model training. You could try with rasterio windowed read, which should be straight forward to implement and would enable you to keep the geocoding of the tiles. See here for a possible solution (haven't tried it myself though). Alternatively, also gdal_retile should do the trick.

@nilsleh
Copy link
Author

nilsleh commented Jan 30, 2025

Thank you, will do so. Maybe as an additional question. The current script patches the S1 and S2 data separately (one has to run one after the other) but does that also guarantee that the corpus between the sensors is aligned?

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

No branches or pull requests

2 participants