Replies: 1 comment
-
The best way is to (temporarily) customize your run script to print a list of all available variables to screen. The following line does this for all state and diagnostic variables that your chosen biogeochemical model makes available by default: print([v.name for v in sim.fabm.default_outputs]) Or slightly prettier: for v in sorted(sim.fabm.default_outputs, key=lambda v: v.name):
print(f"{v.name}: {v.long_name} ({v.units})") The following shows all available variables including internally used ones that are typically hidden from output: print(domain.fields.keys()) but this typically shows so many variables to become overwhelming. Either of these lines can be inserted directly after you create your For completeness: if you provide an unknown variable name to |
Beta Was this translation helpful? Give feedback.
-
[based on a question asked during a fabm-os workshop]
How can I see what variables are available for output and therefore can be specified by name in
<OUTPUTFILE>.request(...)
?Beta Was this translation helpful? Give feedback.
All reactions