-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from IMMM-SFA/speedtest
migrate from numexpr to numba
- Loading branch information
Showing
49 changed files
with
1,652 additions
and
1,617 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.github/workflows/build_linux.yml → .github/workflows/build.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: linux | ||
name: build | ||
|
||
on: [push] | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
rm -f dist/* | ||
python -m build | ||
python -m twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* Override some aspects of the pydata-sphinx-theme */ | ||
|
||
:root { | ||
/* Use softer blue from bootstrap's default info color */ | ||
--pst-color-info: 23, 162, 184; | ||
} | ||
|
||
/* Main index page overview cards */ | ||
|
||
.intro-card { | ||
background: #fff; | ||
border-radius: 0; | ||
padding: 30px 10px 20px 10px; | ||
margin: 10px 0px; | ||
} | ||
|
||
.intro-card p.card-text { | ||
margin: 0px; | ||
} | ||
|
||
.intro-card .card-img-top { | ||
margin: 0px; | ||
height: 52px; | ||
} | ||
|
||
.intro-card .card-header { | ||
border: none; | ||
background-color:white; | ||
color: #150458 !important; | ||
font-size: var(--pst-font-size-h5); | ||
font-weight: bold; | ||
padding: 0.5rem 0rem 0.5rem 0rem; | ||
} | ||
|
||
.intro-card .card-footer { | ||
border: none; | ||
background-color:white; | ||
} | ||
|
||
.intro-card .card-footer p.card-text{ | ||
max-width: 220px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
.card-body { | ||
padding: 0.5rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,89 @@ | ||
mosartwmpy | ||
========== | ||
:notoc: | ||
|
||
Introduction | ||
------------ | ||
.. toctree:: | ||
:maxdepth: 1 | ||
.. mosartwmpy documentation master file, created by | ||
README.md | ||
.. module:: mosartwmpy | ||
|
||
Tutorial | ||
-------- | ||
.. toctree:: | ||
:maxdepth: 1 | ||
************************ | ||
mosartwmpy documentation | ||
************************ | ||
|
||
tutorial.ipynb | ||
**Date**: |today| **Version**: |version| | ||
|
||
Tips and Tricks | ||
--------------- | ||
.. toctree:: | ||
:maxdepth: 1 | ||
**Useful links**: | ||
`Source Repository <https://github.com/immm-sfa/mosartwmpy>`__ | | ||
`Issues & Ideas <https://github.com/immm-sfa/mosartwmpy/issues>`__ | ||
|
||
`mosartwmpy` is a Python translation of MOSART-WM, a water routing and reservoir management model written in Fortran. | ||
|
||
|
||
.. panels:: | ||
:card: + intro-card text-center | ||
:column: col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex | ||
|
||
>>> | ||
:img-top: _static/cognitive.svg | ||
|
||
Getting started | ||
^^^ | ||
|
||
Get to know the *mosartwmpy* model. | ||
|
||
+++ | ||
.. link-button:: README | ||
:type: ref | ||
:text: Getting started | ||
:classes: btn-block btn-secondary stretched-link | ||
|
||
>>> | ||
:img-top: _static/education.svg | ||
|
||
Tutorial | ||
^^^ | ||
|
||
Follow along with this Jupyter notebook to learn the ropes of *mosartwmpy*. | ||
|
||
+++ | ||
.. link-button:: tutorial | ||
:type: ref | ||
:text: Tutorial | ||
:classes: btn-block btn-secondary stretched-link | ||
|
||
>>> | ||
:img-top: _static/soccer.svg | ||
|
||
Tips & tricks | ||
^^^ | ||
|
||
Learn about ways to manage Python virtual environments. | ||
|
||
+++ | ||
.. link-button:: virtualenv | ||
:type: ref | ||
:text: Virtual environments | ||
:classes: btn-block btn-secondary stretched-link | ||
|
||
>>> | ||
:img-top: _static/api.svg | ||
|
||
API reference | ||
^^^ | ||
|
||
A detailed description of the *mosartwmpy* API. | ||
|
||
+++ | ||
.. link-button:: mosartwmpy | ||
:type: ref | ||
:text: API | ||
:classes: btn-block btn-secondary stretched-link | ||
|
||
virtualenv | ||
|
||
Application Programming Interface | ||
--------------------------------- | ||
.. toctree:: | ||
:maxdepth: 1 | ||
:maxdepth: 1 | ||
:hidden: | ||
:titlesonly: | ||
|
||
mosartwmpy | ||
README.md | ||
tutorial.ipynb | ||
virtualenv | ||
mosartwmpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
from .model import Model | ||
from ._version import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.