ydoherty / CoastSat.PlanetScope

Batch shoreline extraction toolkit for PlanetScope Dove satellite imagery
GNU General Public License v3.0
48 stars 13 forks source link

Slope Estimation #23

Open phillipjws opened 1 week ago

phillipjws commented 1 week ago

Hello, I've been working a lot with CoastSat.PlanetScope, working to modify it for 8 band imagery. I have trained a new model and have it working with 8 band imagery, I'm just curious as to the incorporation of CoastSat.Slope. I've gotten the tool working with my datasets, and I'm not too sure about what my settings should be, I know to keep my number of days above 7, although I'm still seeing flaky results.

It's mentioned in the example notebooks that beach slope can be found using the toolkit, and I'm curious if this meant using it with planetscope data, or using LandSat data and copying the results to complete tidal correction.

I think due to my use of 8 band imagery exclusively, I'm limiting myself to too little data for the slope toolkit to work effectively, as I end up with ~250 images between 2020 and now, with a significant peak in my timestep distribution towards 1 day. 0_timestep_distribution Perhaps @kvos can weigh in here too, I think if I also used 4 band imagery (spanning back to July 2014) this may solve my problem.

Heres an example of some outputs from my specific use case: 1_tides_power_spectrum

2_energy_curve_Transect_3

3_slope_spectrum_Transect_3

I'm also in an area with rocky beaches, and so not too sure how accurate the slope calculations will be, going to compare with some in situ data (as I'm local to my site) and compare with both results from planetscope and landsat.

Thanks!

kvos commented 1 week ago

hi @phillipjws , nice that you got the slopes running with Planet data.

Anyways that's really good work and worth exploring more, would be great to have an idea of how to estimate slopes from Planet.

phillipjws commented 1 week ago

Sounds good! I'll try extending the slope max a little, and see if I get better results. Also going to incorporate planet 4-band imagery and see if I can get enough acquisitions.

I was using 7 as my n_days based on the documentation here, kindof assumed it was due to how often sites are revisited, but will try and see if I can solve my problems by adjusting these things. I think some of my transects may also be the wrong direction (I'm new to using GIS, and so unsure if the way I'm generating them is correct)

Thanks for the advice and quick response!