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

Can sub-tiling be ignored? #14

Open
EmanuelCastanho opened this issue Feb 2, 2022 · 1 comment
Open

Can sub-tiling be ignored? #14

EmanuelCastanho opened this issue Feb 2, 2022 · 1 comment

Comments

@EmanuelCastanho
Copy link

Hi,
I'm exploring this algorithm to apply to a Sentinel-2 level-2A product, however I'm having difficulties installing cm_vsm on MacOS as it depends on many system dependencies. Is a sub-tiling procedure really mandatory for this script to work?
My current script outputs all bands separately from a Sentinel-2 Level-2A product scene with 10m resolution (bicubic resampling), is there a function inside cm_predict.py that accepts these inputs directly?

Thank you!

@indrek-sunter
Copy link
Contributor

Hi,

Sorry, the model expects square sub-tiles 512 pixels wide and this is mandatory. To avoid artifacts on sub-tile edges, the neighboring sub-tiles also need to overlap each-other.

I think the most tricky dependency of cm_vsm and cm_predict is probably GDAL, which we use for raster georeferencing. Was it GDAL, or was it some other library which was the most difficult to set up?

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