Active attributes #923
AndersJensen-NOAA
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@grantfirl @dustinswales
These active attributes (see example below) are no fun for developers since they will cause a segmentation fault if the variable is allocated and called for in a microphysics scheme, but not active for that scheme. The resulting segmentation fault provides little help or information finding the issue. Additionally, these variables are activated using the scheme long names, which makes them hard to find when searching code. Given optional arguments, are the active attributes even needed?
Example:
fv3atm/ccpp/data/CCPP_typedefs.meta
Line 1131 in 2c902a6
I suggest one of the following changes:
Beta Was this translation helpful? Give feedback.
All reactions