Skip to content
Snippets Groups Projects
Commit aa91eac5 authored by MALOU THIBAULT's avatar MALOU THIBAULT
Browse files

fix check issue

parent 92450ea9
No related branches found
No related tags found
No related merge requests found
...@@ -181,9 +181,10 @@ class Obs: ...@@ -181,9 +181,10 @@ class Obs:
for i in range(1, self.nb_dt_in_obs_time_window): for i in range(1, self.nb_dt_in_obs_time_window):
if (self.index_obs_to_index_time_est[:, i - 1] <= 0).any(): if (self.index_obs_to_index_time_est[:, i - 1] <= 0).any():
raise ValueError( raise ValueError(
"The time window of integration of the observation operator for the first observation starts before the temporal domain." "The time window of integration of the observation operator for the first observation"
+ " starts before the temporal domain."
+ " This is probably because the integration time window is too large or the observation times are inaccurate." + " This is probably because the integration time window is too large or the observation times are inaccurate."
) )
self.index_obs_to_index_time_est[:, i] = self.index_obs_to_index_time_est[:, i - 1] - 1 self.index_obs_to_index_time_est[:, i] = self.index_obs_to_index_time_est[:, i - 1] - 1
# initialization of the dictionnary containing the indexes of the observations given the time index # initialization of the dictionnary containing the indexes of the observations given the time index
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment