-
Notifications
You must be signed in to change notification settings - Fork 30
[PSyData] Handle derived types in a driver #2483
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
Labels
Comments
hiker
added a commit
that referenced
this issue
Aug 28, 2024
hiker
added a commit
that referenced
this issue
Aug 29, 2024
hiker
added a commit
that referenced
this issue
Aug 29, 2024
hiker
added a commit
that referenced
this issue
Sep 3, 2024
hiker
added a commit
that referenced
this issue
Dec 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
While the API specific types are replaced with the corresponding plain Fortran types in a driver (e.g. an LFRic field becomes a 1D array), any module included might be using a derived type. For example, the um-physics in LFRic use:
The declaration is handled in #2482. The kernel extraction does correctly write the values, e.g.:
But the driver does not read these files"
We need to fix the driver creation to handle this (as it is in the extraction). An easy alternative solution for a single type would be to add a generic interface for this UM array-bounds type, but the latter would be very limited in its usefulness.
The text was updated successfully, but these errors were encountered: