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

Wave spectra partitions #41

Open
bgweba opened this issue Jul 22, 2022 · 1 comment
Open

Wave spectra partitions #41

bgweba opened this issue Jul 22, 2022 · 1 comment

Comments

@bgweba
Copy link

bgweba commented Jul 22, 2022

Hi

I have WaveWatch III point spectra and I'm trying to plot partitioned wave spectra. In these spectra, I'm trying to visualize swellls (primary, secondary and decaying swells) with the aim of identifying crossing swells. At the moment, I was able to plot wave spectra but I'm struggling to plot spectra that will Isolate them using the col="part" command. I was wondering if someone in this platform has done this already? Basically, I'm trying to plot partitioned spectra

partition_spectra
.

spectra

@OttavioM
Copy link

Dear bgweba,

I hope you could plot your spectra. I can suggest you to use:

ds.isel(time = 0).spec.plot.contourf(col = 'part',col_wrap = 1,as_period=True,levels = 25, vmin = 0, vmax = 0.01,show_direction_label = True)

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