Skip to content
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

Call variable_att_exists before get_variable_att #1405

Merged
merged 1 commit into from
May 24, 2021

Conversation

Hallberg-NOAA
Copy link
Collaborator

Added variable_att_exists calls before two calls to get_variable_attribute in
the FMS2 version of get_file_fields so that runs do not crash if there are
variables being read that do not have a long_name or units attribute. All
answers are bitwise identical in cases that did not crash.

  Added variable_att_exists calls before two calls to get_variable_attribute in
the FMS2 version of get_file_fields so that runs do not crash if there are
variables being read that do not have a long_name or units attribute.  All
answers are bitwise identical in cases that did not crash.
@marshallward
Copy link
Collaborator

@marshallward marshallward merged commit 932b35c into mom-ocean:dev/gfdl May 24, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the check_att_exists branch July 30, 2021 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants