-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unable to write ISCE format on MacOS (SystemError: Unkown GDAL Error) #178
Comments
Hmm, @forrestfwilliams, since you use a Mac, can you look at this? |
Hey @scottyhq are you on an Intel or ARM based Mac? This will change our debugging efforts. |
@scottyhq I wasn't able to re-create the error you're seeing on my 2021 M1 MacBook Pro. Just FYI, To get around this, you can set up a pseudo-Intel conda environment for export CENV_NAME=hyp3-isce2
export CONDA_SUBDIR=osx-64
export OSX_SDK_DIR=/Library/Developer/CommandLineTools/SDKs
conda create -y -n $CENV_NAME
conda activate $CENV_NAME
conda config --env --set subdir osx-64
mamba env update --name $CENV_NAME -f environment.yml Try installing |
Also on a 2019 intel. I just followed the development instructions, so maybe it's a version issue with some new build?... no rush on debugging, just wanted to flag it conda environment
|
@scottyhq what MacOS are you running? I'm on Sonoma 14.1 and can't recreate the issue. |
Thanks for looking into it @forrestfwilliams, after some frustrating debugging I realized I had |
@scottyhq oh, that's handy to know! I set |
The bug
For version 0.9.2. The example workflow fails saving the glo30 DEM in ISCE format running via a conda-install on MacOS. It seems like the conda-forge gdal doesn't have a functional ISCE driver because writing to other formats is fine.
hyp3-isce2/src/hyp3_isce2/dem.py
Lines 123 to 124 in 5713e16
To Reproduce
Additional context
Seems a problem only on MacOS, conda-installs on linux are working fine.
The text was updated successfully, but these errors were encountered: