Modify max_fields_per_file via diag_manager namelist? #747
Labels
enhancement
Issue/PR for a modification that increases performance, improves syntax, or adds functionality.
feature request
Is your feature request related to a problem? Please describe.
The maximum number of variables allowed in a history file is controlled by:
FMS/diag_manager/diag_data.F90
Line 124 in 9d55115
If I'm not mistaken, diagnostics are limited to 4D
(lon, lat, z, time)
. I am working on updates to the radiation code that require an additional spectral dimension. The work-around right now is to create one variable per spectral point, but this leads a very large number of variables and sometimes exceeds the hard limit set in the code above. Unfortunately this limit is a compile-time constant, so if you want to change it you must recompile. Can this instead be a run-time parameter accessible via thediag_manager_nml
namelist?Describe the solution you'd like
Remove the
parameter
attribute and add this variable to thediag_manager_nml
namelist.Describe alternatives you've considered
Ideally allow 5D (and possible more) diagnostics, but I know that given the current state of the modules this is not feasible.
The text was updated successfully, but these errors were encountered: