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
Hi, I’m trying to implement the following part of the code:
"# compute together because correlation depends on phase, and filtered phase depends on correlation.
tqdm_dask(result := dask.persist(decimator(corr), decimator(intf)), desc='Compute Phase and Correlation')"
The issue I’m facing is that the execution takes around 1.5 hours but doesn’t complete. Instead, it eventually fails with the following error:
"ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()"
It seems to be related to dask.persist and decimator(corr)/decimator(intf), but I’m unsure how to resolve it. Could you please guide me on how to fix this? Thanks in advance!
The text was updated successfully, but these errors were encountered:
Please refer to the examples when it works. Also, you can use the functions Stack.compute_interferogram_singlelook() and Stack.compute_interferogram_multilook() if you don't want to perform the step-by-step processing and just need to build interferograms.
Hi, I’m trying to implement the following part of the code:
"# compute together because correlation depends on phase, and filtered phase depends on correlation.
tqdm_dask(result := dask.persist(decimator(corr), decimator(intf)), desc='Compute Phase and Correlation')"
The issue I’m facing is that the execution takes around 1.5 hours but doesn’t complete. Instead, it eventually fails with the following error:
"ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()"
It seems to be related to dask.persist and decimator(corr)/decimator(intf), but I’m unsure how to resolve it. Could you please guide me on how to fix this? Thanks in advance!
The text was updated successfully, but these errors were encountered: