Comments (6)
hi seamus, I had a look at your document and the issue showed up immediately and is here:
You need the 8-days revisits to be able to capture the sping-neap fortnightly tidal cycles, unfortunately in your dataset most intervals are at 16 days. With 16 days you cannot capture the tidal cycle, that's why there is no peak in your spectrum. Good though that the algorithm flagged this with large confidence bands.
Is there something you can try to get more revisits at your site?
from coastsat.slope.
@kvos thanks for that information, its good to know that 8-day revisits are necessary for this analysis to run properly.
The first thing that comes to mind is including Sentinel data to get more revisits. Is that possible? Or will this algorithm only work with landsat?
from coastsat.slope.
Hi @kvos , to see if I could use Sentinel data to get more revisits, I reran the script including Sentinel images. To implement this, I commented out the lines that exclude Sentinel in section 1:
`#remove S2 shorelines (the slope estimation algorithm needs only Landsat shorelines)
if 'S2' in output['satname']:
idx_S2 = np.array([_ == 'S2' for _ in output['satname']])
for key in output.keys():
output[key] = [output[key][_] for _ in np.where(~idx_S2)[0]]`
and then utilizing an version of the alternate environment script to generate tide_sat that also included sentinel images (because the creation of tidesat is in the "Option 1" Tide FES section of the code, that does not work with Coastsat due to pyfes conflicts).
I now see more revisits in the lower end of the range, but now the final output of the code seems broken. Could you provide any insight into this?
My full code output is attached
pekalongan script output with sentinel images.pdf
from coastsat.slope.
My apologies for the double message @kvos , but I made some edits to the code that resulted in the a new final beach slope estimate.
I think the reason that there was no output in the version of the script from my previous comment is because I had circumvented the portion of the code in Part 5 that removes NaNs. I made a change so that the code removes NaNs again from the dates, tide, and composite variables.
Now I am getting an output of an estimated beach slope from the final portion of the code (see attached). However, the confidence band is still rather large, and the beach slope estimate is the same for each transect.
Do you have any thoughts as to how these results look to you and whether you feel that the code is running properly?
Full output here:
pekalongan script output with sentinel images_nan_code_added.pdf
from coastsat.slope.
hi @seamuslo ,
It would be interesting to test if it's possible to use S2 as well. The current algorithm was specifically designed to use with Landsat and that theoretical 8-days revisit period is the key (to capture the fortnightly tidal cycles). If you include S2, the revisits become very irregular, as you see in your plots. I think it needs some development and testing to be used with S2 as well since the intervals are now very different from the Landsat-only shorelines. You need to test different frequency grids and see which tidal components can be captured and focus on the frequency at which the tidal energy is large. In your plot below the selected band looks quite weak. Good luck, it's a cool project.
from coastsat.slope.
where did you get these cvs ?
from coastsat.slope.
Related Issues (20)
- Energy in the energy tidal frequency band tapers off, unable to find a minimum slope
- CoastSat Slope Website is Down HOT 3
- Error in final slope of Narrabeen & Cable Beach example HOT 4
- fail to install pyfes HOT 9
- error in the last step for coastsat slope
- error in estimating beach-face slopes along the transect, (ValueError: zero-size array to reduction operation maximum which has no identity) HOT 1
- Issues downloading load_tide.tar.xz and ocean_tide.tar.xz from aviso website HOT 3
- Please make better docs for how to generate tide csv files HOT 5
- tidal data
- Incorrect slope estimate HOT 2
- About the TR/tanΞ²<10 problem HOT 1
- How to install Coastsat.slope and FES2014 HOT 3
- Tidal correction problems with dates and install
- Error in slope estimation settings while using CoastSat.slope HOT 2
- The beach has many architectures. HOT 1
- Issue with slope estimation HOT 1
- how to run pyfes with the FES2014 dataset HOT 1
- Running CoastSat on Google Colab - Problem with pyfes: module 'pyfes' has no attribute 'Handler' HOT 1
- Issue with slope estimation HOT 1
- ModuleNotFoundError: No module named 'SDS_slope' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coastsat.slope.