Refactor Variable class to that you can retrieve specify attribute types #3210
Labels
0 Diff
The changes in this pull request have verified to be zero-diff with the target branch.
🎁 New Feature
This is a new feature
I doing some work and it was helpful to have specific procedures in the
Variable
class in PFIO to retrieve attributes of specific types. Note there was a helper procedure inFileMetaDataUtilities.F90
that given aFileMetaDataUtilities
class, a variable name, and an attribute name you could retrieve an attribute of a specific type but no way, given aVariable
to retrieve.It makes sense to do a simple refactor and move some of this into the
Variable
class so that this class can have the functionality to get attributes of specific types and the existing interfaces toFileMetadataUtilities
can remain unchanged.I'm just making an issue for the PR I'm going to do as I've already done the refactor.
Will make more sense when one sees the PR.
The text was updated successfully, but these errors were encountered: