Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delft 3D Turbulent Intensity Function #171

Open
browniea opened this issue Jun 16, 2022 · 0 comments
Open

Delft 3D Turbulent Intensity Function #171

browniea opened this issue Jun 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@browniea
Copy link
Contributor

Describe the bug:

The Turbulent Intensity Function runs slow when a large data set in input.

To Reproduce:

d3d_data = netCDF4.Dataset('tanana50_map.nc') data
x_centerline = np.linspace(xmin, xmax, num=100)
y_centerline = np.mean([ymin,ymax])
z_centerline = np.mean([zmin,zmax])
centerline_points = d3d.create_points(x_centerline, y_centerline, z_centerline)

TI=d3d.turbulent_intensity(d3d_data, points= centerline_points ,intermediate_values = True)

Expected behavior:

Adding a slicing function to limit the data size processed through the function will speed up function.

@ssolson ssolson added the enhancement New feature or request label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants