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

Manual removal of images #511

Closed
Jand607 opened this issue Jul 3, 2024 · 3 comments
Closed

Manual removal of images #511

Jand607 opened this issue Jul 3, 2024 · 3 comments

Comments

@Jand607
Copy link

Jand607 commented Jul 3, 2024

Kia ora from Auckland! I am using CoastSat for my final-year civil engineering research project.

I've downloaded Sentinel-2 footage of Waimarama beach in Hawkes Bay of the North Island. About half contained proper imagery for the full area. Unfortunately, around half of the images contained a thin rectangle only displaying ocean, i.e. the majority of my ROI for these images was simply white pixels. I've attached an example of each kind of image:

2015-11-28-22-15-49_S2
2015-12-08-22-15-50_S2

I have removed all of the low quality images from my preprocessed folder, however, the metadata file is still linked to the original full set of images, including the poor quality ones.

How can I change the metadata file such that it only includes the high quality images I have in my preprocessed folder?

Thanks!

@kvos
Copy link
Owner

kvos commented Jul 3, 2024

hi @Jand607 , what I recommend is that you specify the S2 tile in your inputs so you only get the clips from the tile that fully covers your area of interest. I've attached the file, identify the tile that covers your area and then put it into inputs['S2tile'] = '56HLH'. That will avoid all the duplicates and small crop images. But make sure you make a clean download in a new folder.
Sentinel-2-Shapefile-Index-master.zip

@Jand607
Copy link
Author

Jand607 commented Jul 4, 2024

Cheers Kilian, that's fixed the issue!
I have applied for a permit for PlanetScope satellite imagery in order to obtain a 3m pixel. Do you have any recommendations for how I would apply CoastSat to this data?

@kvos
Copy link
Owner

kvos commented Jul 5, 2024

yes there is a link the the CoastSat.PlanetScope toolbox in the README

@kvos kvos closed this as completed Jul 5, 2024
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