Code Monkey home page Code Monkey logo

aquacrop-gym's Introduction

aquacrop-gym

Environment to train and compare irrigation scheduling strategies with AquaCrop-OSPy

aquacrop-gym's People

Contributors

thomasdkelly avatar

Stargazers

Claude Formanek avatar Abdelrahman Saleh avatar Boyan Sun avatar LI Jianchen avatar EL HACHIMI CHOUAIB avatar  avatar

Watchers

 avatar

aquacrop-gym's Issues

About datasets

Which weather stations does your CP CD CL correspond to?
Your CPWG.dat dataset doesn't seem to be 100 years old, but 1000 years old!
Maybe you need to update it?
Thank you very much.

No module named 'aquacrop.solution_aot'

I had a problem when using Aquacrop-Gym, which I downloaded locally with aquacrop==1.1.2.

ModuleNotFoundError Traceback (most recent call last)
Cell In[3], line 3
1 # import aquacrop functions (the * simply means 'all')
2 from aquacrop.classes import *
----> 3 from aquacrop.core import *

File c:\Users\13166\anaconda3\envs\gymaquacrop\lib\site-packages\aquacrop\core.py:12
10 # Cell
11 from .initialize import *
---> 12 from .timestep import *
13 from .classes import *
14 from aquacrop import data

File c:\Users\13166\anaconda3\envs\gymaquacrop\lib\site-packages\aquacrop\timestep.py:4
1 all = ["solution", "check_model_termination", "reset_initial_conditions", "update_time"]
3 # Cell
----> 4 from .solution import *
5 from .initialize import calculate_HI_linear, calculate_HIGC
6 from .classes import *

File c:\Users\13166\anaconda3\envs\gymaquacrop\lib\site-packages\aquacrop\solution.py:44
42 # This compiled function is called a few times inside other functions
43 if name != "main":
---> 44 from .solution_aot import (
...
60 # @njit()
61 @cc.export("_growing_degree_day", "f8(i4,f8,f8,f8,f8)")
62 def growing_degree_day(GDDmethod, Tupp, Tbase, Tmax, Tmin):

ModuleNotFoundError: No module named 'aquacrop.solution_aot'

I can't use "pip installgit+https://github.com/aquacropos/[email protected] "method, similar to" aquacropos/aquacrop#51 ", because it will create new problems:

(gymaquacrop) PS C:\Users\13166> pip install git+https://github.com/aquacropos/[email protected]
Collecting git+https://github.com/aquacropos/[email protected]
Cloning https://github.com/aquacropos/aquacrop (to revision v1.1.2) to c:\users\13166\appdata\local\temp\pip-req-build-7e40r34l
Running command git clone --filter=blob:none --quiet https://github.com/aquacropos/aquacrop 'C:\Users\13166\AppData\Local\Temp\pip-req-build-7e40r34l'
fatal: unable to access 'https://github.com/aquacropos/aquacrop/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/aquacropos/aquacrop 'C:\Users\13166\AppData\Local\Temp\pip-req-build-7e40r34l' did not run successfully.
│ exit code: 128
╰─> See above for output.

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

× git clone --filter=blob:none --quiet https://github.com/aquacropos/aquacrop 'C:\Users\13166\AppData\Local\Temp\pip-req-build-7e40r34l' did not run successfully.
│ exit code: 128
╰─> See above for output.

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

Want to ask how to solve? 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.