This appears to be the only parameter in GLM that expects an array. The current conversion to a .nml-friendly comma-separated list syntax might not work here. Currently the nml.NMLInitProfiles class expects a list of floats. A better approach would be to provide a list of lists (of floats) where the number of lists equals vars and the length of the each list equals depths.
The
wq_init_vals
parameter of the&init_profiles
accepts an "array of WQ variable initial data" where "rows = vars; cols = depths".This appears to be the only parameter in GLM that expects an array. The current conversion to a
.nml
-friendly comma-separated list syntax might not work here. Currently thenml.NMLInitProfiles
class expects a list of floats. A better approach would be to provide a list of lists (of floats) where the number of lists equalsvars
and the length of the each list equalsdepths
.