Coder Social home page Coder Social logo

Comments (8)

giswqs avatar giswqs commented on June 21, 2024

The whitebox Python package is just a wrapper, and it will always download the latest WhiteboxTools backend during the first time use. I don't think you need to pin the version. The new version should work the same way as the old new. Try it on local computer before doing things in the cloud. If it works fine locally, the. The problem probably lies in the setup of your cloud environment

from whitebox-python.

rickedanielson avatar rickedanielson commented on June 21, 2024

Do you want me to download the version of WBT that I need (there seem to be subtle and important differences between v1.5.0 and v2.1.0)? Any hints where that would come from and where it would it go? I'm not in the cloud, just a conda environment.

from whitebox-python.

giswqs avatar giswqs commented on June 21, 2024

I am not sure what differences you are referring to. All tools available in v1.5.0 are also available in v2.1.0. The WBT binaries hosted on whiteboxgeo.com are always the latest version. There is no way to retrieve older versions. Again, try the tool on your local computer and post specific error messages here so that we can figure out whether it is a WBT backend issue or Python frontend issue.

from whitebox-python.

rickedanielson avatar rickedanielson commented on June 21, 2024

I know whiteboxgeo.com is not serving v1.5.0, but "git checkout v1.5.0" is still possible, so I presume an older backend can always be substituted (not sure which files though, any hints?) Just for reference, I'm not sure where I confuse that I'm working in a cloud (all errors above are from a thinkpad, my local machine). Also, WBT output is being used as input to a hydrologic model, where it may be important which version of WBT I use. If this is all too unfamiliar, we can close. I suspect it's a hard issue.

from whitebox-python.

giswqs avatar giswqs commented on June 21, 2024

Here is a copy of WBT v1.5.0 that I kept on an old computer. You can unzip the file the replace the WBT binary whitebox_tool in the following path with the v1.5.0 binary.

~/.conda/envs/geo/lib/python3.x/site-packages/whitebox/

from whitebox-python.

rickedanielson avatar rickedanielson commented on June 21, 2024

Thank you, although I'm afraid that, having substituted my existing WBT directory for your zipped WBT directory (i.e., within my /home/soft/miniconda3/envs/wrfh_gis_env/lib/python3.6/site-packages/whitebox dir), I continue to receive "Using WhiteboxTools v2.1.0 by Dr. John B. Lindsay (c) 2017-2021". Maybe this isn't simply a frontend or backend issue(?)

For reference, my /home/soft/.conda dir only contains one file (environments.txt) and that only contains:

/home/soft/miniconda3
/home/soft/miniconda3/envs/wrfh_gis_env

from whitebox-python.

giswqs avatar giswqs commented on June 21, 2024

Not the WBT directory. There is a binary outside the WBT directory. That's the one you need to replace

from whitebox-python.

rickedanielson avatar rickedanielson commented on June 21, 2024

Yes, this works (and was an easier experiment without the need to recompile v1.5.0). Thanks for the confirmation.

from whitebox-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.