Giter VIP home page Giter VIP logo

superflexpy's People

Contributors

alessandro-mariotti-zupit avatar dalmo1991 avatar gdarkwah avatar raoulcollenteur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

superflexpy's Issues

Pip install error

When I using pip to install this package, the error raised:

Collecting superflexpy
  Using cached superflexpy-1.3.1.tar.gz (28 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in superflexpy setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; .* suffix can only be used with `==` or `!=` operators
          numpy>=1.19.*
               ~~~~~~~^
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

Pip installation issue

While trying to run this command in google colab: !pip install superflexpy

Getting this error:

Collecting superflexpy
Using cached superflexpy-1.3.1.tar.gz (28 kB)
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Upgrade documentation infrastructure

  • Move documentation away from RTD to github pages
  • Introduce google tag manager
  • Migrate to GA4
  • Explore custom tracking
  • Write a page on tracking

Missing example file

Dear superflexPy developers,
The package you developed looks really interesting!
I tried to run the examples, but am missing a function.

With my local superflexPy installation ...

ImportError: cannot import name 'FastReservoir' from 'superflexpy.implementation.elements.hbv' (C:\Users\Usuario\AppData\Roaming\Python\Python37\site-packages\superflexpy\implementation\elements\hbv.py)

... and also when using the Notebook

ImportError: cannot import name 'FastReservoir' from 'superflexpy.implementation.elements.hbv' (/srv/conda/envs/notebook/lib/python3.7/site-packages/superflexpy/implementation/elements/hbv.py)

Thanks.

module : superflexPy, solver : PegasusPython, Error message : fa and fb have the same sign: -0.04886536502251221 vs -0.09954819146324694

Hi there,

I found superflexPy you bulit is very easy to use, however, I found a issue that when I tried to run the gr4j model, this error message showed:
[ValueError: module : superflexPy, solver : PegasusPython, Error message : fa and fb have the same sign: -0.04886536502251221 vs -0.09954819146324694]()
when I run:
output = model.get_output(solve=True)
I set the parameters by:

rng = np.random
# Generate the parameters randomly
parameters = rng.rand(4)

# Construct the dictionary for the set_parameters method
parameters_to_set = {
    'model_ps_x1': parameters[0],
    'model_ps_alpha': parameters[1],   
    'model_ps_beta': parameters[2],   
    'model_ps_ni': parameters[3],   
}

is this because the parameters of the model are wrong?

many thanks

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.