-
Notifications
You must be signed in to change notification settings - Fork 273
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
Libgdal breaks read_gdal_vrt from readfile.py #1317
Comments
👋 Thanks for opening your first issue here! Please filled out the template with as much details as possible. We appreciate that you took the time to contribute! |
Potential solutionThe bug is likely caused by an issue with the GDAL library configuration or installation, which prevents it from recognizing certain file formats. The solution involves ensuring that GDAL is correctly installed with all necessary drivers and that the environment is properly configured to handle the file formats used by MintPy. Additionally, implementing error handling and logging can help diagnose and resolve the issue more effectively. What is causing this bug?The bug is caused by the GDAL library not recognizing the file format of the input file, leading to a
CodeTo address the issue, the following steps and code modifications are recommended:
How to replicate the bug
By following these steps, you should be able to replicate the bug and verify the effectiveness of the proposed solution. Click here to create a Pull Request with the proposed solution Files used for this task: Changes on requirements.txtAnalysis ReportOverviewThe Potential Causes of the Bug
Recommendations
By addressing these points, the issue with the Changes on src/mintpy/cli/smallbaselineApp.pyAnalysis of
|
Description of the problem
When installing libgdal-netcdf / libgdal-hdf5 on the environment and trying to execute !smallbaselineApp.py, it fails when trying to load_data.
When import readfile from mintpy.utils and trying to read the same file, it works without any issues:
My environment has multiples packages because i'm working of Sagemaker JupyterLab and run multiple different packages in the same kernel.
Full script that generated the error
Full error message
System information
base_micromamba.txt
base_pip.txt
The text was updated successfully, but these errors were encountered: