NCAR / DART

Data Assimilation Research Testbed
https://dart.ucar.edu/
Apache License 2.0
195 stars 145 forks source link

Model_mods which use their own structure to keep track of state variables #389

Open hkershaw-brown opened 2 years ago

hkershaw-brown commented 2 years ago

progvar type:

hot take: I don't think model_mods should have access to dart_index at all.

Some models have their own get_varid_from_kind POP CICE bgrid_solo

I think you can flush out if a non-toy model_mod is assuming the state order by reversing the order of the variables in the state_structure_mod. i = num_vars, 1, -1, run filter/model_mod_check/whatever and seeing if your results change.

Who cares?

Possible reasons to care:

hkershaw-brown commented 6 days ago

Note there are perturb routines that assume state variables are contiguous var = state(startindex:endindex)