.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_gallery/plot_spotter.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_gallery_plot_spotter.py: Using Spotter buoy data ======================= In this example we demostrate how to use `ewdm` package to compute directional wave spectrum from Spotter buoy data. In particular, we use the `displacement.csv` file that is generated after running the parsing script provided by SOFAR. This file containes time series of surface elevation and wave displacements. We also show that for datasets with more than one hour of data, the wave spectra are computed over blocks of 30 minutes (by default). .. GENERATED FROM PYTHON SOURCE LINES 13-40 .. image-sg:: /auto_gallery/images/sphx_glr_plot_spotter_001.png :alt: 2020-08-20 09:00:00, 2020-08-20 10:00:00, 2020-08-20 11:00:00, 2020-08-20 12:00:00, 2020-08-20 13:00:00, 2020-08-20 14:00:00 :srcset: /auto_gallery/images/sphx_glr_plot_spotter_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none Processing:: 0%| | 0/6 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_spotter.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_spotter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_