Graphics

Standardised graphics generating functions for displaying resuls from the model validation analysis.

Dependencies [External]:

matplotlib, cartopy

Dependencies [Internal]:

waveval.TimeFuncs

Graphics.Regional(lat: list, lon: list, plot_area: list, lat_div: list, lon_div: list, outpath: str, outname: str, saveplot: bool)[source]

Regional map of specific locations.

Graphics.Regional_Weighted(lat: list, lon: list, wght: list, plot_area: list, clims: list, plotTitle: str, outpath: str, outname: str, saveplot: bool)[source]

Regional map of parameters at specific locations colourised by a wieghting factor.

Graphics.plot_1d_spec(freq, spec1D, titleStr: str = None, outpath: str = './', outname: str = 'spec_1d', saveplot: bool = False)[source]

Plot of a 1-D wave frequency spectrum

Graphics.plot_2d_spec(freq, ntheta, spec2D, fmax: float = 0.25, cmax: float = 2.0, titleStr: str = None)[source]

Plot of a 2-D wave frequency spectrum

Graphics.plot_close(figHnd)[source]
Graphics.plot_correlation(obs, model, obsVar, obsPlatform, modVar, modfname, year, month, metrics)[source]
Graphics.plot_time_series(t_mod, v_mod, t_obs, v_obs, obsVar, obsPlatform, modVar, modfname, year, month, xlims=None, ylims=None)[source]

Overlaid plot of model and observed time series of specified parameter.