You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is misleading and potentially a side effect of prefect caching. 'thetao' units in both model and tables are 'degC'. The units set on rule for this variable is indeed 'degC' (rule.data_request_variable.unit) but in the error message some other units appear. Those units are for 'fgco2' variable. I guess prefect caching is unable to differentiate rules.
ValueError("Cannot convert variables:\n incompatible units for variable 'thetao': Cannot convert from 'degree_Celsius' ([temperature]) to 'kilogram / meter ** 2 / second' ([mass] / [length] ** 2 / [time])")))
To reproduce this error:
use examples/sample.yaml
branch: feat/dimensionless-units
The text was updated successfully, but these errors were encountered:
Hmm...The cache_policy takes care of looking at the inputs, and each step gets one of the Rule objects as an input, so I am unsure why the cache is not unambiguously set up for each one separately.
I'll have a look. @siligam, you can focus on #55 for right now.
The following error is misleading and potentially a side effect of prefect caching. 'thetao' units in both model and tables are 'degC'. The units set on rule for this variable is indeed 'degC' (rule.data_request_variable.unit) but in the error message some other units appear. Those units are for 'fgco2' variable. I guess prefect caching is unable to differentiate rules.
To reproduce this error:
use examples/sample.yaml
branch: feat/dimensionless-units
The text was updated successfully, but these errors were encountered: