Skip to content
Snippets Groups Projects
Commit 95c5d763 authored by Mikkel Friis-Møller's avatar Mikkel Friis-Møller
Browse files

Update gaussian_overlap_model.py

parent 9c61ac38
No related branches found
No related tags found
1 merge request!613Update gaussian_overlap_model.py
Pipeline #66738 failed
......@@ -9,7 +9,7 @@ from py_wake.utils.grid_interpolator import GridInterpolator
class GaussianOverlapAvgModel(RotorAvgModel):
def __init__(self, filename=os.path.dirname(__file__) + f'/gaussian_overlap_.02_.02_128_512.nc'):
table = xr.load_dataarray(filename)
table = xr.load_dataarray(filename, engine='h5netcdf')
R_sigma = np.arange(0, 20.001, 0.01)
CW_sigma = np.arange(0, 10.01, 0.01)
dat = table.interp(R_sigma=R_sigma, CW_sigma=CW_sigma, method='cubic')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment