Skip to content

Bug in environmental_contours_example.mlx due to spectra_to_pandas return variable #152

Open
@MShabara

Description

@MShabara

Description:
The environmental_contours_example.mlx script relies on the energy_period.m and significant_wave_height.m functions, both of which call the py.mhkit_python_utils.pandas_dataframe.spectra_to_pandas function. There seems to be a bug in this example that causes it to take hours to run.

Steps to Reproduce:
1- Run the environmental_contours_example.mlx script.
2- Observe the execution time.
3- Check the return variable from py.mhkit_python_utils.pandas_dataframe.spectra_to_pandas.

Expected Behavior:
The script should execute within a reasonable timeframe.

Actual Behavior:
The script takes hours to complete execution due to an issue related to the spectra_to_pandas return variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions