It would be simple to put in a check that the argument to --model is valid
from payu.models import index as model_index
if model not in model_index:
sys.exit("Error in init: Unknown model type: {}".format(model))
would do the trick.
It isn't strictly against payu methodology to have a laboratory that isn't named for a model, but the argument to the option --model should be one I guess.
Maybe this isn't a bug, but
works
It would be simple to put in a check that the argument to
--model
is validwould do the trick.
It isn't strictly against
payu
methodology to have a laboratory that isn't named for a model, but the argument to the option--model
should be one I guess.