DART
DART copied to clipboard
Feature request: Pathological model for testing
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.
https://github.com/NCAR/DART/tree/panda-models
To add: model size of 0 #535