Hi all,
Thank you for the great work with WindIO 🙂 One problem that I see is how to interpret the various grids. For example, HAWC2 will interpolate a grid using the Akima spline, while OpenFAST might do something else and QBlade yet another thing, which will lead to 3 different blades. Obviously, little can go wrong if there are many grid points, but differences will arise when this is not the case. I suggest adding a new keyword interpolation_method to each grid, values pair. The acceptable values for interpolation_method could be taken from an enumeration, which contains:
Finally, the equations for each interpolation method should be part of the WindIO specification.
What do you think about this?
Best regards,
Riccardo
Hi all,
Thank you for the great work with WindIO 🙂 One problem that I see is how to interpret the various grids. For example, HAWC2 will interpolate a grid using the Akima spline, while OpenFAST might do something else and QBlade yet another thing, which will lead to 3 different blades. Obviously, little can go wrong if there are many grid points, but differences will arise when this is not the case. I suggest adding a new keyword
interpolation_methodto eachgrid,valuespair. The acceptable values forinterpolation_methodcould be taken from an enumeration, which contains:linearakima(default?)pchipcubic_splinescipy.interpolateFinally, the equations for each interpolation method should be part of the WindIO specification.
What do you think about this?
Best regards,
Riccardo