Giter Club home page Giter Club logo

Comments (3)

friedrichknuth avatar friedrichknuth commented on June 25, 2024

Hi Johannes!

driveanon does not exist on PyPi (kind of just a quick side project) so we need to install it from the git repo directly. Making it editable is optional, but shouldn't be a problem if left unmodified.

The alternative is to add instructions to the README.md to install this dependency manually. This would allow you to put the repo outside of the geoprofile directory, instead of inside the src folder, which gets automatically created the way things are set up now in the environment.yml file.

Or - we just get rid of driveanon and find a better solution to pull and/or host test data :)

One option might be Git LFS:

from geoprofile.

friedrichknuth avatar friedrichknuth commented on June 25, 2024

Just realized a few instances of "dpet" weren't changed to "geoprofile" when I transferred the repo to GlacioHack and renamed it. Sorry about that! This should be fixed now with the most recent quick commits.

from geoprofile.

jlandmann avatar jlandmann commented on June 25, 2024

Thanks for your comprehensive reply!
I think the point for me was that git/PyCharm got confused by the 'package in the package',
For me it also worked to just change in environments.yml:

- "--editable=git+https://github.com/friedrichknuth/driveanon.git#egg=driveanon"

to

- git+https://github.com/friedrichknuth/driveanon.git#egg=driveanon

so that it's installed into your environment directory (e.g. Anaconda3\envs\geoprofile\Lib\site-packages for Anaconda on Windows).
Unless you would really change your data and paths really often, I would leave it there, but that's maybe a matter of taste.

Regarding the data storage: the way OGGM/salem (my favorites ;-)) solve it is to have a data directory and load the sample data from there into a dot-directory in the home folder. Maybe an overkill if the amount of data stays small and constant, but probably the cleanest solution.

from geoprofile.

Related Issues (1)

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.