-
Notifications
You must be signed in to change notification settings - Fork 4
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
t3D header not correct yet #317
Comments
Discussed the issue with @arthurvd:
|
@tim-vd-aardweg : I've update the original issue description at the top. |
@arthurvd Thanks for checking this. So we basically have to adhere to the 2D3D manual for the .bc file then? So we also have to change |
No, let's keep that at the new "timeInterpolation" keyword already. I am preparing an issue where we make kernel+GUI consistent again with all new lowerCamelCase namings, and timeInterpolation is now already supported by both kernel and GUI. |
Ok! |
@tim-vd-aardweg: and, when adding/changing some of these fields, could you also add a docstring for each of them? For example: timeinterpolation: TimeInterpolation = Field(alias="timeInterpolation")
"""TimeInterpolation: Type of time interpolation. See enum type for supported values.""" |
I will |
Describe the bug
Some issues with t3D header:
Missing:
Inconsistencies:
Answer: in kernel: yes, in GUI: no. And we should move to 1 consistent keyword. Decision (Oct 13, 2022): support only the latest kernel keywords in the model fields + support spaced old keywords for compatibility via a pre root_validators, e.g., "Vertical position specification"
(Pydantic already turns spaced fields into underscore fields, e.g., "vertical_position_specification")
Background for D-HYDRO developers, see internal issue UNST-5801.
Answer: same as previous one. Support "vertPositionType" and backwards compability for "Vertical position type".
In summary, these are the correct keywords:
timeInterpolation
vertPositionType
vertPositions
vertInterpolation
vertPositionIndex
To Reproduce
Expected behavior
described in description
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: