Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented Jul 23, 2024

Description of proposed changes

  • circle ci: pin gdal"<=3.8" to fix the import error, which only occurrs in circle CI

  • tests/configs/SanFranBaySenD42: turn off tropo correction from pyaps

  • docs: use "HyP3" instead of "ASF HyP3"

Reminders

  • Fix Cannot import gdal in circle CI testing #1220
  • Pass Pre-commit check (green)
  • Pass Codacy code review (green)
  • Pass Circle CI test (green)
  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • If modifying functionality, describe changes to function behavior and arguments in a comment below the function declaration.

+ circle ci: pin gdal"<=3.8" to fix the import error, which only occurrs in circle CI

+ tests/configs/SanFranBaySenD42: turn off tropo correction from pyaps

+ docs: use "HyP3" instead of "ASF HyP3"
@yunjunz yunjunz requested review from jhkennedy and piyushrpt July 23, 2024 07:58
@yunjunz
Copy link
Member Author

yunjunz commented Jul 23, 2024

Hi @piyushrpt @jhkennedy, pinning gdal"<=3.8" seems to fix the gdal import error in the circle ci testing (#1220), although I don't know why. Shall we go ahead and merge this PR?

@scottstanie
Copy link
Contributor

Could be related to how the GDAL conda package did a huge split of its of dependencies so that you only get libgdal-core by default... That's definitely the biggest 3.9 change from GDAL on conda

Copy link
Contributor

@piyushrpt piyushrpt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@yunjunz
Copy link
Member Author

yunjunz commented Jul 24, 2024

Could be related to how the GDAL conda package did a huge split of its of dependencies so that you only get libgdal-core by default... That's definitely the biggest 3.9 change from GDAL on conda

@Xiaohua-Eric-Xu this may be the reason why gdal-3.9 could not read the GMT *.grd file's coordinate information properly, as we have seen in the short course last week.

@yunjunz
Copy link
Member Author

yunjunz commented Jul 24, 2024

Thank you @scottstanie for the info. I will go ahead and merge this PR first, and circle back to this (#1236) later.

@yunjunz yunjunz merged commit 5ca0cab into insarlab:main Jul 24, 2024
@yunjunz yunjunz deleted the circleci branch July 24, 2024 07:50
@yunjunz
Copy link
Member Author

yunjunz commented Jun 10, 2025

This issue seems to have been fixed in GDAL version 3.11.0, as shown in the circle CI test below. I will issue another PR to unpin the GDAL version.

https://app.circleci.com/pipelines/github/yunjunz/MintPy/2911/workflows/24c1ed77-b18f-4275-ad66-b0fdaf455dc7/jobs/2918/parallel-runs/0/steps/0-106

@yunjunz yunjunz mentioned this pull request Jun 10, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot import gdal in circle CI testing

3 participants