Closed rzinke closed 3 years ago
Potential solution I added this to the conda_env.yml file:
- gdal >=3.0,<=3.0.4
Submitting a pull request
Hi @rzinke, gdal
is a big dependency and is only used in data preparation for aria
and fringe
, but not needed for other InSAR processors, thus, we did not add gdal to the default installation.
I would recommend creating your own environment.yml
file to cover the dependencies of both ARIA-tools and MintPy to install them into one conda environment.
Hi @yunjunz. Fair enough. Gdal is cantankerous to say the least, but what about the error message that MintPy throws? It seems that MintPy requires gdal to process ARIA data successfully.
mintpy uses gdal to read files produced by ARIA-tools in prep_aria.py, which is called by load_data.py and smallbaselineApp.py.
So for ARIA+MintPy, users need gdal + mintpy requirements; for ISCE+MintPy, users need isce + mintpy requirements; for GAMMA + MintPy, users need gamma + mintpy requirements, etc.
I see, that makes sense. Thanks.
Shall we close this issue and related PR?
Description of the problem I am testing the new release of MintPy for large data set processing.
So, I copied an old data set to a new directory, and attempted to processes it using the updated version of MintPy and my old setup scripts.
I first got an error that it does not recognize the processor, so I manually set the processor to aria. Now, I am getting an error that gdal is not installed.
System information
Exclude pairs
mintpy.network.excludeIfgIndex = 39,40,31,48,111,85,87,88,187,188,282,67
Reference lat/lon
mintpy.reference.lalo = 37.20219,89.06214
Inversion weighting
mintpy.networkInversion.maskDataset = no #[coherence / connectComponent / offsetSNR / no], auto for no mintpy.networkInversion.maskThreshold = 0.4 #[0-inf], auto for 0.4
Tropospheric delay
mintpy.troposphericDelay.method = no #[pyaps / height_correlation / no], auto for pyaps
Orbital ramps
mintpy.deramp = no #[no / linear / quadratic]
Topography correction
mintpy.topographicResidual = no #[yes / no], auto for yes