dartobsgen.state_vars_from_nml#

dartobsgen.state_vars_from_nml(nml_path)[source]#

Return the netCDF variable names in model_nml’s model_state_variables.

model_state_variables is a flat list of 5-element records (variable, quantity, min, max, update); this returns the first element of each record. Pass the result as required_vars to MOM6StateProvider so model output is validated against exactly what DART will read.

Parameters:

nml_path (str)

Return type:

tuple[str, …]