DART icon indicating copy to clipboard operation
DART copied to clipboard

Feature request: Pathological model for testing

Open hkershaw-brown opened this issue 1 year ago • 2 comments

Use case

A model to use for testing various parts of dart:

  • Easily trigger failures.
  • small and hackable so you can test on your laptop

Is your feature request related to a problem?

Not a problem, just a desire to have more tests.

Describe your preferred solution

Please provide enough detail here to help people have a discussion about your proposal

https://docs.google.com/document/d/12OSZG4-1Pew1JMwmpNSzF5hwVd1-faZe0GTQK0xmv_8/edit?usp=sharing

Anderson's implementation: https://github.com/achauphan/DART/tree/panda-models

Being used in #487 Also, Anderson was playing with time as a variable and dimension, and hit problems (the goal of having the pathological model) because of various assumptions about dimension names in DART. https://github.com/NCAR/DART/commit/8ed5a96599ca24815b5f55915556c9c50d654aae This will be useful for testing IO refactoring

Describe any alternatives you have considered

Typically we hack a model_mod, e.g. for #401 we edited the cam model_mod. This can be cumbersome for quick tests on your laptop because you have to collect model restart + static files.

hkershaw-brown avatar Jun 26 '23 18:06 hkershaw-brown

https://github.com/NCAR/DART/tree/panda-models

hkershaw-brown avatar Jul 11 '23 13:07 hkershaw-brown

To add: model size of 0 #535

hkershaw-brown avatar Nov 27 '23 15:11 hkershaw-brown