-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dask Issue during the Network Inversion #99
Comments
Potential solutionThe issue seems to be related to the version of Dask being used in the environment. The specified version in both What is causing this bug?The bug is likely caused by the outdated version of Dask specified in the environment configuration files. The "sequential" option in network inversion might rely on newer features or bug fixes in Dask that are not present in version 1.0. Additionally, there might be compatibility issues between the older Dask version and the latest MiaplPy functionalities. CodeTo address the issue, follow these steps:
How to replicate the bug
By following these steps, you should be able to replicate the bug and verify that upgrading Dask resolves the issue. Click here to create a Pull Request with the proposed solution Files used for this task: Changes on conda-env.ymlBased on the
Recommendations:
These steps should help determine if the Dask version is contributing to the issue and whether upgrading resolves the problem. Changes on requirements.txtThe Analysis:
Recommendations:
This analysis focuses on the potential impact of the Dask version specified in the Changes on src/miaplpy/network_inversion.pyBased on the provided source code from Analysis
Recommendations
By addressing these areas, it should be possible to identify and resolve the issue related to the "sequential" option in the network inversion process. Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect. Current plan usage: 0.00% Have feedback or need help? |
Hi @SMJMirza |
I would suggest re-running without dask. Another weird thing is that the |
Thank you for sharing your solutions. Sorry, I mentioned the additional information of setting in the following: miaplpy.multiprocessing.numProcessor = 8 The dimension of the study area is 0.005deg * 0.012deg in latitude and longitude. Exactly, it is not too big and covers a Dam we are monitoring using this approach. Interestingly, I will not face any issues with this setting when I use the "single_reference" network type. However, I will see this issue during the "sequential" network type. I will try to test it without Dask. In terms of "reference point", do you think it can be invalid when I did not face any error in the "reference_point" step, even in the "single_reference" network type? BTW, I just want to test the "sequential" network type and see if we can get the data point over the Embankment section of the Dam since this structure can be suspected of failure. Fortunately, we already got the interesting point from the "single_reference" network. |
I set the number of workers to 6 and ignored using the Desk to run the network of interferograms (sequential with 5 connections) for the new trying. In the attachment, you can see a screenshot of another error I got from the code during the "invert_network" step. Do you have any suggestions about this issue? I can see that Sara used the sequential network of interferograms for her tests. So, I am not sure if there is any issue with this part of the package. |
That's the real issue. @mirzaees may know better on this part. |
@SMJMirza as I said I have not seen this error before but agreeing with Yunjun, the error says some values are incorrect. my next guess would be that some of the interferograms or all have not been created successfully for any reason, or the masks (conncomp mask or tempcoh mask) are zero. you mentioned the single reference was successful, so there should be some interruptions during your sequential run. I suggest checking your inputs for this step. unfortunately I can not help without further information and believe if the single reference was successful, there should not be any issue with sequential |
@mirzaees Thank you for your points. As I checked the terminal comments of steps 1 to 7, I did not get any clear errors or issues. However, I did not check the generated IFGs or mask files specifically. I will check and let you know if I fixed it. |
I checked the maskConnComp, avgPhaseVelocity, and avgSpatialCoh and found them non-zero. In addition, it seems that the interferograms look normal with artifacts of unwrapping errors in several ones, which can be eliminated later. So, I am not sure about the source of this error I am watching for the "sequential" network style. Do you have any other suggestions? Or can I share any figures or plots to have your next advice? |
I just wanted to update you that I changed the reference point option to "auto" so that the package would find it automatically. But, I got the same error in the "invert_network" step. So, the issue does not come from the reference point. |
Hi,
I am using the ISCE-coregistered SLCs from the Sentinel-1 for the MiaplPy to explore the deformation of the Dam infrastructure. Everything runs well when I select the "single_reference" network of IFGs. However, I tried to select the "sequential" option of the IFGs network and got the attached error during the network inversion. Could you please kindly guide me on this issue? I am unsure if it is a problem with the MialPy or the Dask version since they can work well in other cases.
ISCE version = 2.6.1
MiaplPy = latest version
Sincerely,
Sayyed
The text was updated successfully, but these errors were encountered: