shaharkadmiel / pySW4

Setup, run, post process, and visualize numerical simulations. Primarily SW4
http://shaharkadmiel.github.com/pySW4
GNU General Public License v3.0
28 stars 14 forks source link

gdal 2 required? #20

Open rienkt opened 2 years ago

rienkt commented 2 years ago

Hello,

I am trying to install pySW4 along with another package (gmt) that requires >gdal-3.2.* via Conda. Is it possible to update the dependencies or is gdal-2 required? If so, it would be very helpful.

Thank you very much, Rie

shaharkadmiel commented 2 years ago

Hi @rienkt,

Instead of conda, I highly recommend installing the current master as it is ahead of what I packaged a long long time ago for conda-forge.

clone the master, and run pip install -e .

If you have all the dependencies installed, you can add --no-deps to the pip command to ignore the dependency checks. I have not checked pysw4 in a long time but the main functionality should work regardless of gdal version. Let me know if you run into more problems and we can try to fix them together.

Cheers

rienkt commented 2 years ago

Hi,

Thank you for your comments. I tried your suggestion and it appears to work without errors (there are warnings that can be ignored.. like ///src_local/pySW4/pySW4/postp/image.py:317: SyntaxWarning: "is" with a literal. Did you mean "=="? if vmax is None or vmax is 'max’:,).

I haven’t done extensive testing. If I encounter any issues, I’ll let you know. Thank you very much for your help!

Thanks, Rie

On Sep 28, 2021, at 9:15 AM, Shahar Shani-Kadmiel @.***> wrote:

Hi @rienkt https://github.com/rienkt,

Instead of conda, I highly recommend installing the current master as it is ahead of what I packaged a long long time ago for conda-forge.

clone the master, and run pip install -e .

If you have all the dependencies installed, you can add --no-deps to the pip command to ignore the dependency checks. I have not checked pysw4 in a long time but the main functionality should work regardless of gdal version. Let me know if you run into more problems and we can try to fix them together.

Cheers

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shaharkadmiel/pySW4/issues/20#issuecomment-929377090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR666R6ALTWFWLOZE2BVMOLUEHS2JANCNFSM5E3GRW7A.