SARvey - ValueError: attempt to get argmax of an empty sequence after all PSCs are removed in Step 1 #584
epehlivanli
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While running SARvey with standard
config.json
parameters on a small area subset (new construction area Grove), I get a crash in Step 1 (Consistency Check) when all PSCs were removed, leading to an unhandled ValueError in the subsequent "noisy point removal" step.From the log:
Then:
ValueError: attempt to get argmax of an empty sequence
This occurs at:
spatial_ref_idx = np.where(design_mat[np.argmax(net_par_obj.gamma), :] != 0)[0][0]
Plotted p1_ts.h5:
Plotted temporal_coherence.h5:

To run:
Beta Was this translation helpful? Give feedback.
All reactions