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
Issue
Training/graph creation using only the state feature (i.e. excluding forcing and static doesn't work. It works fine if I exclude forcing but when I try without static it throws an error. I would expect it to work without either/both forcing and static.
More information
This is the mllam-data-prep config I used
The issue seems to be that i neural_lam/datastore/mdp.py there is an exception only for forcing and not for static:
ifcategorynotinself._dsandcategory=="forcing":
warnings.warn("no forcing data found in datastore")
If we change it to
ifcategorynotinself._dsandcategoryin ["forcing", "static"]:
warnings.warn(f"no {category} data found in datastore")
that would make it possible to run without static features (courtesy of @leifdenby). This at least works for graph creation (I haven't tested training a model yet).
Question
But I guess the first question to ask is - should we be abe to run with only state?
The text was updated successfully, but these errors were encountered:
I've been thinking that we should go over both graph-creation and models to make sure everything that is not strictly needed (forcing and static) is fully optional and treated correctly. I think we definitely should be able to run with only state.
I would be happy if someone wants to look over that, at least on the model side. Now I wouldn't put too much effort into making the graph creation work with only state, as that would be reworked with #83 anyhow.
I think this is more an enhancement than a bug, as we never claim that the model should work with an mdp zarr that does not provide any static features.
Issue
Training/graph creation using only the
state
feature (i.e. excludingforcing
andstatic
doesn't work. It works fine if I excludeforcing
but when I try withoutstatic
it throws an error. I would expect it to work without either/bothforcing
andstatic
.More information
This is the
mllam-data-prep
config I usedand this is the
neural-lam
config I usedand this is the error I get
The issue seems to be that i neural_lam/datastore/mdp.py there is an exception only for
forcing
and not forstatic
:If we change it to
that would make it possible to run without
static
features (courtesy of @leifdenby). This at least works for graph creation (I haven't tested training a model yet).Question
But I guess the first question to ask is - should we be abe to run with only
state
?The text was updated successfully, but these errors were encountered: