Open lewisblake opened 1 year ago
Check Colocator.prepare_run()
Happens in Colocator.prepare_run()
when running Colocator._find_var_matches()
For record keeping: It happens here
when checking crearted-on-the-fly mmr*
vars, which need not actually exist. It's coming from a logger.info()
call
I think the issue is in the pattern matching logic of ReadGridded._check_var_match_pattern()
function, not in Variable
. The pattern matching produces a variable name which does not exist in aliases.ini
or variables.ini
, which then produces a valid message in variable.py
.
A useful breakpoint for further debugging this issue is placing a conditional breakpoint with var_name == 'concprcpoxn' and "*" in addvar
in line 480 of readgridded.py
. This places you at the start of a run where pattern-matching results in var_name == 'mmrprcpoxn'
which is non-existent. Use this while debugging [False-monthly-daily]
of test_colocator_model_ts_type_read
Often times when running an analysis, or even just running pytest, exceptions are raised for unknown input variables.
Any ideas what might be causing this? I can not find these variables in the code