Skip to content

Commit

Permalink
Update example_NORA_wind_waves.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinChri authored Nov 25, 2024
1 parent 3c3cd6b commit dc73eaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/example_NORA_wind_waves.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
# Wind:
plots.var_rose(df,var_dir=var_wind_dir,var=var_wind,method='overall',max_perc=40,decimal_places=1, units='m/s',output_file=folder / 'wind_omni.png')
plots.var_rose(df,var_dir=var_wind_dir,var=var_wind,method='monthly',max_perc=40,decimal_places=1, units='m/s',output_file=folder / 'wind_monthly.png')
plots.plot_directional_stats(df,var=var_wind,step_var=0.1,var_dir='D10',title = 'W10[m/s]', output_file=folder / 'directional_wind_stats.png')
plots.table_directional_non_exceedance(df,var=var_wind,step_var=2,var_dir='D10',output_file=folder / 'table_wind_directional_non_exceedance.csv')
plots.plot_directional_stats(df,var=var_wind,step_var=0.1,var_dir=var_wind_dir,title = 'W10[m/s]', output_file=folder / 'directional_wind_stats.png')
plots.table_directional_non_exceedance(df,var=var_wind,step_var=2,var_dir=var_wind_dir,output_file=folder / 'table_wind_directional_non_exceedance.csv')
plots.plot_monthly_stats(df,var=var_wind,title = 'Wind Speed at 10 m [m/s]', output_file=folder / 'monthly_wind_stats.png')
tables.table_monthly_non_exceedance(df,var=var_wind,step_var=2,output_file=folder / 'table_monthly_non_exceedance.csv')
plots.plot_prob_non_exceedance_fitted_3p_weibull(df,var=var_wind,output_file=folder / 'prob_non_exceedance_fitted_3p_weibull_wind.png')
plots.plot_monthly_return_periods(df,var=var_wind,periods=[1, 10, 100],distribution='Weibull3P_MOM', units='m/s',output_file=folder / 'W10_monthly_extremes.png')
plots.plot_directional_return_periods(df,var=var_wind,var_dir='D10',periods=[1, 10, 100],distribution='Weibull3P_MOM', units='m/s',adjustment='NORSOK',output_file=folder / 'W10_dir_extremes_Weibull_norsok.png')
plots.plot_directional_return_periods(df,var=var_wind,var_dir=var_wind_dir,periods=[1, 10, 100],distribution='Weibull3P_MOM', units='m/s',adjustment='NORSOK',output_file=folder / 'W10_dir_extremes_Weibull_norsok.png')
plots.plot_monthly_weather_window(df,var=var_wind,threshold=10, window_size=12,output_file=folder / 'NORA10_monthly_weather_window_wind_10_12_plot.png')
plots.plot_multi_diagnostic_return_levels(df, var=var_wind, dist_list = ['GP', 'Weibull_2P', 'EXP'], periods=np.arange(0.1, 1000, 0.1),threshold=None,output_file=folder / 'plot_wind_diagnostic_return_levels.png')

Expand Down

0 comments on commit dc73eaa

Please sign in to comment.