Skip to content
Snippets Groups Projects
Commit 95688d30 authored by leufen1's avatar leufen1
Browse files

added short description

parent 8f2b1be9
Branches
Tags
6 merge requests!319add all changes of dev into release v1.4.0 branch,!318Resolve "release v1.4.0",!299Draft: Merge default data handler and preprocessing support parameter use_multiprocessing....,!289include plot script restructuring,!287Resolve "periodogram for kzf",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #65414 failed
...@@ -442,6 +442,19 @@ class PlotAvailabilityHistogram(AbstractPlotClass): ...@@ -442,6 +442,19 @@ class PlotAvailabilityHistogram(AbstractPlotClass):
class PlotPeriodogram(AbstractPlotClass): class PlotPeriodogram(AbstractPlotClass):
"""
Create Lomb-Scargle periodogram in raw input and target data. The Lomb-Scargle version can deal with missing values.
This plot routine is creating the following plots:
* "raw": data is not aggregated, 1 graph per variable
* "": single data lines are aggregated, 1 graph per variable
* "total": data is aggregated on all variables, single graph
If data consists on different sampling rates, a separate plot is create for each sampling.
To work properly, the data handler must have the attribute `.id_class._data`.
"""
def __init__(self, generator: Dict[str, DataCollection], plot_folder: str = ".", plot_name="periodogram", def __init__(self, generator: Dict[str, DataCollection], plot_folder: str = ".", plot_name="periodogram",
variables_dim="variables", time_dim="datetime", sampling="daily"): variables_dim="variables", time_dim="datetime", sampling="daily"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment