talsimpy 3.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. talsimpy-3.0.0/.github/workflows/docs.yml +47 -0
  2. talsimpy-3.0.0/.github/workflows/publish.yml +46 -0
  3. talsimpy-3.0.0/.github/workflows/test.yml +30 -0
  4. talsimpy-3.0.0/.gitignore +47 -0
  5. talsimpy-3.0.0/CHANGELOG.md +40 -0
  6. talsimpy-3.0.0/LICENSE +42 -0
  7. talsimpy-3.0.0/PKG-INFO +94 -0
  8. talsimpy-3.0.0/README.md +29 -0
  9. talsimpy-3.0.0/docs/Makefile +20 -0
  10. talsimpy-3.0.0/docs/api.rst +17 -0
  11. talsimpy-3.0.0/docs/conf.py +37 -0
  12. talsimpy-3.0.0/docs/index.rst +20 -0
  13. talsimpy-3.0.0/docs/make.bat +35 -0
  14. talsimpy-3.0.0/examples/data/talsim_db/Demo.db +0 -0
  15. talsimpy-3.0.0/examples/data/test_batch/test.ALL +91 -0
  16. talsimpy-3.0.0/examples/data/test_batch/test.BOA +22 -0
  17. talsimpy-3.0.0/examples/data/test_batch/test.BOD +20 -0
  18. talsimpy-3.0.0/examples/data/test_batch/test.EFL +24 -0
  19. talsimpy-3.0.0/examples/data/test_batch/test.EXT.template +13 -0
  20. talsimpy-3.0.0/examples/data/test_batch/test.EZG +12 -0
  21. talsimpy-3.0.0/examples/data/test_batch/test.JGG +93 -0
  22. talsimpy-3.0.0/examples/data/test_batch/test.KAL +58 -0
  23. talsimpy-3.0.0/examples/data/test_batch/test.LNZ +15 -0
  24. talsimpy-3.0.0/examples/data/test_batch/test.SYS +12 -0
  25. talsimpy-3.0.0/examples/data/test_batch/test.TRS +13 -0
  26. talsimpy-3.0.0/examples/data/test_kal-faktor/00000369.bin +0 -0
  27. talsimpy-3.0.0/examples/data/test_kal-faktor/00000381.bin +0 -0
  28. talsimpy-3.0.0/examples/data/test_kal-faktor/00000397.bin +0 -0
  29. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.ALL +91 -0
  30. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.BOA +22 -0
  31. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.BOD +20 -0
  32. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.EFL +24 -0
  33. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.EXT +13 -0
  34. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.EZG +12 -0
  35. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.INFO.template +3 -0
  36. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.JGG +93 -0
  37. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.KAL +58 -0
  38. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.LNZ +15 -0
  39. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.SYS +12 -0
  40. talsimpy-3.0.0/examples/data/test_kal-faktor/Test_KAL-Faktor.TRS +13 -0
  41. talsimpy-3.0.0/examples/data/test_prognose/test.ALL +91 -0
  42. talsimpy-3.0.0/examples/data/test_prognose/test.BOA +33 -0
  43. talsimpy-3.0.0/examples/data/test_prognose/test.BOD +19 -0
  44. talsimpy-3.0.0/examples/data/test_prognose/test.EFL +578 -0
  45. talsimpy-3.0.0/examples/data/test_prognose/test.EXT +13 -0
  46. talsimpy-3.0.0/examples/data/test_prognose/test.EZG +50 -0
  47. talsimpy-3.0.0/examples/data/test_prognose/test.JGG +128 -0
  48. talsimpy-3.0.0/examples/data/test_prognose/test.KAL +55 -0
  49. talsimpy-3.0.0/examples/data/test_prognose/test.LNZ +17 -0
  50. talsimpy-3.0.0/examples/data/test_prognose/test.PRO +103 -0
  51. talsimpy-3.0.0/examples/data/test_prognose/test.SYS +69 -0
  52. talsimpy-3.0.0/examples/data/test_prognose/test.TRS +32 -0
  53. talsimpy-3.0.0/examples/talsim.ipynb +1348 -0
  54. talsimpy-3.0.0/examples/talsim5.ipynb +457 -0
  55. talsimpy-3.0.0/examples/talsim_batch_prognose.ipynb +396 -0
  56. talsimpy-3.0.0/pyproject.toml +46 -0
  57. talsimpy-3.0.0/requirements.txt +31 -0
  58. talsimpy-3.0.0/src/talsimpy/__init__.py +24 -0
  59. talsimpy-3.0.0/src/talsimpy/talsimdatabase.py +52 -0
  60. talsimpy-3.0.0/src/talsimpy/talsimdataset.py +645 -0
  61. talsimpy-3.0.0/src/talsimpy/talsimengine.py +310 -0
  62. talsimpy-3.0.0/src/talsimpy/talsimscenario.py +299 -0
  63. talsimpy-3.0.0/src/talsimpy/timeseries.py +1232 -0
  64. talsimpy-3.0.0/tests/conftest.py +32 -0
  65. talsimpy-3.0.0/tests/test_package.py +5 -0
  66. talsimpy-3.0.0/tests/test_talsimdatabase.py +26 -0
  67. talsimpy-3.0.0/tests/test_talsimdataset.py +145 -0
  68. talsimpy-3.0.0/tests/test_talsimengine.py +0 -0
  69. talsimpy-3.0.0/tests/test_talsimscenario.py +76 -0
  70. talsimpy-3.0.0/tests/test_timeseries.py +182 -0
  71. talsimpy-3.0.0/uv.lock +3070 -0
@@ -0,0 +1,47 @@
1
+ name: Docs
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
+ concurrency:
14
+ group: "pages"
15
+ cancel-in-progress: false
16
+
17
+ jobs:
18
+ build:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+
23
+ - name: Install uv
24
+ uses: astral-sh/setup-uv@v5
25
+ with:
26
+ python-version: "3.13"
27
+
28
+ - name: Install project and docs dependencies
29
+ run: uv sync --group docs
30
+
31
+ - name: Build docs
32
+ run: uv run sphinx-build -b html docs docs/_build/html
33
+
34
+ - uses: actions/upload-pages-artifact@v3
35
+ with:
36
+ path: docs/_build/html
37
+
38
+ deploy:
39
+ needs: build
40
+ runs-on: ubuntu-latest
41
+ environment:
42
+ name: github-pages
43
+ url: ${{ steps.deployment.outputs.page_url }}
44
+ steps:
45
+ - name: Deploy to GitHub Pages
46
+ id: deployment
47
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,46 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: "3.x"
19
+
20
+ - name: Install build tool
21
+ run: python -m pip install --upgrade build
22
+
23
+ - name: Build sdist and wheel
24
+ run: python -m build
25
+
26
+ - uses: actions/upload-artifact@v4
27
+ with:
28
+ name: dist
29
+ path: dist/
30
+
31
+ publish:
32
+ needs: build
33
+ runs-on: ubuntu-latest
34
+ environment:
35
+ name: pypi
36
+ url: https://pypi.org/p/talsimpy
37
+ permissions:
38
+ id-token: write
39
+ steps:
40
+ - uses: actions/download-artifact@v4
41
+ with:
42
+ name: dist
43
+ path: dist/
44
+
45
+ - name: Publish to PyPI
46
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,30 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v5
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+
26
+ - name: Install project and test dependencies
27
+ run: uv sync --group test
28
+
29
+ - name: Run tests
30
+ run: uv run pytest
@@ -0,0 +1,47 @@
1
+ # Byte-compiled / cache
2
+ __pycache__/
3
+ *.py[cod]
4
+
5
+ # Distribution / packaging
6
+ build/
7
+ dist/
8
+ *.egg-info/
9
+ .eggs/
10
+
11
+ # Testing
12
+ .pytest_cache/
13
+ .coverage
14
+ htmlcov/
15
+
16
+ # Docs
17
+ docs/_build/
18
+ docs/generated/
19
+
20
+ # Virtual environments
21
+ .venv/
22
+ venv/
23
+ env/
24
+
25
+ # Editors / IDE
26
+ .vscode/
27
+ .idea/
28
+
29
+ # OS
30
+ .DS_Store
31
+ Thumbs.db
32
+
33
+ # Talsim simulation run artifacts (generated by running the example notebooks)
34
+ examples/data/**/*.BLZ
35
+ examples/data/**/*.INFO
36
+ examples/data/**/*.MAX
37
+ examples/data/**/*.SIMEND
38
+ examples/data/**/*.WEL
39
+ examples/data/**/*.WELINFO
40
+ examples/data/**/*.WMX
41
+ examples/data/**/*.ZPG.sys
42
+ examples/data/**/*.log
43
+ examples/data/**/*.wrn
44
+ examples/data/**/results/
45
+ examples/data/**/results_*/
46
+ examples/data/**/tmp/
47
+ examples/data/**/Demo_zre/
@@ -0,0 +1,40 @@
1
+ # talsimpy
2
+
3
+ Version 3.0.0
4
+ -------------
5
+ CHANGED:
6
+ * First stable release of talsimpy
7
+ * Updated notebook examples and update of documentation
8
+
9
+ Version 3.0.0a1
10
+ ----------------
11
+ CHANGED:
12
+ * First release under the new name "talsimpy"
13
+
14
+ Version 2.1.3
15
+ -------------
16
+ FIXED:
17
+ * Fix error handling when trying to open a nonexistant scenario
18
+
19
+ Version 2.1.2
20
+ -------------
21
+ FIXED:
22
+ * Improved handling of different combinations of engine path and run file, disallow using UNC paths as the location of the engine
23
+
24
+ Version 2.1.1
25
+ -------------
26
+ FIXED:
27
+ * Fixed `TalsimEngine.simulate()` not using the passed `sim_id` argument as the simulation id (was using the active simulation id as set in the database instead)
28
+
29
+ Version 2.1.0
30
+ -------------
31
+ NEW:
32
+ * New static method `TalsimEngine.launch()` for launching a simulation using an existing run file
33
+ * New static method `TalsimEngine.read_runfile()` for reading a run file
34
+ * `TalsimEngine.simulate()` now has an additional optional parameter `name` for specifying the output filenames (only relevant for TalsimScenario instances)
35
+
36
+ FIXED:
37
+ * Fixed `TalsimDataset.file_to_dataframe()` not working for EFL version 1.2 files
38
+
39
+ REMOVED:
40
+ * Removed method `TalsimScenario.copy_simulation()` because it doesn't deal with calibrations and calibration mapping which would need to be copied/adjusted as well
talsimpy-3.0.0/LICENSE ADDED
@@ -0,0 +1,42 @@
1
+ Copyright (c) 2026 SYDRO Consult GmbH
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a
4
+ copy of this software (the "Software"), to use the Software for any
5
+ purpose, including commercial purposes, in particular for preparing,
6
+ transforming, or manipulating data intended for use with the
7
+ proprietary Talsim software, subject to the following conditions:
8
+
9
+ 1. Modification. The Software may not be modified, and no derivative
10
+ works may be created based on the Software, in whole or in part.
11
+
12
+ 2. No incorporation into other products. The Software's source code,
13
+ in whole or in part, may not be extracted, embedded, repackaged, or
14
+ otherwise incorporated into any other software product or service
15
+ that you distribute, sell, or otherwise make available to third
16
+ parties, whether offered commercially or free of charge. For the
17
+ avoidance of doubt, this condition does not restrict using the
18
+ Software as an unmodified dependency of your own scripts,
19
+ applications, or internal tools (for example, via a Python `import`
20
+ statement) for your own purposes, including preparing data for use
21
+ with the Talsim software; such use is expressly permitted under
22
+ these terms.
23
+
24
+ 3. Redistribution. The Software may not be redistributed, sublicensed,
25
+ or otherwise made available to third parties, except in unmodified
26
+ form via the official distribution channel
27
+ (https://pypi.org/project/talsimpy/).
28
+
29
+ 4. Notice. The above copyright notice and this permission notice shall
30
+ be included, unmodified, in all copies of the Software.
31
+
32
+ 5. Termination. This license terminates automatically if you breach
33
+ any of the conditions above. Upon termination, you must cease all
34
+ use of the Software and destroy all copies in your possession.
35
+
36
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
37
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
38
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
39
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
40
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
41
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
42
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.5
2
+ Name: talsimpy
3
+ Version: 3.0.0
4
+ Summary: Python interface for Talsim datasets, databases, scenarios, simulation runs and time series processing.
5
+ Project-URL: Homepage, https://github.com/sydroconsult/talsimpy
6
+ Project-URL: Documentation, https://sydroconsult.github.io/talsimpy/
7
+ Project-URL: Changelog, https://github.com/sydroconsult/talsimpy/blob/main/CHANGELOG.md
8
+ Author-email: SYDRO Consult GmbH <mail@sydro.de>
9
+ License: Copyright (c) 2026 SYDRO Consult GmbH
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a
12
+ copy of this software (the "Software"), to use the Software for any
13
+ purpose, including commercial purposes, in particular for preparing,
14
+ transforming, or manipulating data intended for use with the
15
+ proprietary Talsim software, subject to the following conditions:
16
+
17
+ 1. Modification. The Software may not be modified, and no derivative
18
+ works may be created based on the Software, in whole or in part.
19
+
20
+ 2. No incorporation into other products. The Software's source code,
21
+ in whole or in part, may not be extracted, embedded, repackaged, or
22
+ otherwise incorporated into any other software product or service
23
+ that you distribute, sell, or otherwise make available to third
24
+ parties, whether offered commercially or free of charge. For the
25
+ avoidance of doubt, this condition does not restrict using the
26
+ Software as an unmodified dependency of your own scripts,
27
+ applications, or internal tools (for example, via a Python `import`
28
+ statement) for your own purposes, including preparing data for use
29
+ with the Talsim software; such use is expressly permitted under
30
+ these terms.
31
+
32
+ 3. Redistribution. The Software may not be redistributed, sublicensed,
33
+ or otherwise made available to third parties, except in unmodified
34
+ form via the official distribution channel
35
+ (https://pypi.org/project/talsimpy/).
36
+
37
+ 4. Notice. The above copyright notice and this permission notice shall
38
+ be included, unmodified, in all copies of the Software.
39
+
40
+ 5. Termination. This license terminates automatically if you breach
41
+ any of the conditions above. Upon termination, you must cease all
42
+ use of the Software and destroy all copies in your possession.
43
+
44
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
45
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
46
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
47
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
48
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
49
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
50
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
51
+ License-File: LICENSE
52
+ Classifier: Development Status :: 5 - Production/Stable
53
+ Classifier: License :: Other/Proprietary License
54
+ Classifier: Operating System :: OS Independent
55
+ Classifier: Programming Language :: Python :: 3
56
+ Requires-Python: >=3.9
57
+ Requires-Dist: numpy
58
+ Requires-Dist: pandas
59
+ Provides-Extra: plot
60
+ Requires-Dist: matplotlib; extra == 'plot'
61
+ Provides-Extra: raster
62
+ Requires-Dist: rioxarray; extra == 'raster'
63
+ Requires-Dist: xarray; extra == 'raster'
64
+ Description-Content-Type: text/markdown
65
+
66
+ # talsimpy
67
+
68
+ Python interface for Talsim datasets, databases, scenarios, simulation runs and time series processing.
69
+
70
+ [Documentation](https://sydroconsult.github.io/talsimpy/)
71
+
72
+ ## Installation
73
+
74
+ ```bash
75
+ pip install talsimpy
76
+ ```
77
+
78
+ Optional extras: `pip install talsimpy[plot]` (plotting) or `talsimpy[raster]` (xarray/rioxarray).
79
+
80
+ ## Features
81
+
82
+ * `TalsimDataset` – read and edit Talsim ASCII datasets
83
+ * `TalsimDatabase` – interact with a Talsim 5 database
84
+ * `TalsimScenario` – manage a scenario within a database
85
+ * `TalsimEngine` – run simulations
86
+ * `Timeseries` – process time series
87
+
88
+ ## Example
89
+
90
+ ```python
91
+ from talsimpy import TalsimDatabase
92
+
93
+ db = TalsimDatabase("path/to/database.db")
94
+ ```
@@ -0,0 +1,29 @@
1
+ # talsimpy
2
+
3
+ Python interface for Talsim datasets, databases, scenarios, simulation runs and time series processing.
4
+
5
+ [Documentation](https://sydroconsult.github.io/talsimpy/)
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pip install talsimpy
11
+ ```
12
+
13
+ Optional extras: `pip install talsimpy[plot]` (plotting) or `talsimpy[raster]` (xarray/rioxarray).
14
+
15
+ ## Features
16
+
17
+ * `TalsimDataset` – read and edit Talsim ASCII datasets
18
+ * `TalsimDatabase` – interact with a Talsim 5 database
19
+ * `TalsimScenario` – manage a scenario within a database
20
+ * `TalsimEngine` – run simulations
21
+ * `Timeseries` – process time series
22
+
23
+ ## Example
24
+
25
+ ```python
26
+ from talsimpy import TalsimDatabase
27
+
28
+ db = TalsimDatabase("path/to/database.db")
29
+ ```
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,17 @@
1
+ API Reference
2
+ =============
3
+
4
+ .. autoclass:: talsimpy.TalsimDataset
5
+ :members:
6
+
7
+ .. autoclass:: talsimpy.TalsimDatabase
8
+ :members:
9
+
10
+ .. autoclass:: talsimpy.TalsimScenario
11
+ :members:
12
+
13
+ .. autoclass:: talsimpy.TalsimEngine
14
+ :members:
15
+
16
+ .. autoclass:: talsimpy.Timeseries
17
+ :members:
@@ -0,0 +1,37 @@
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # For the full list of built-in configuration values, see the documentation:
4
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ import sys
7
+ from pathlib import Path
8
+
9
+ sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
10
+
11
+ # -- Project information -----------------------------------------------------
12
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
13
+
14
+ project = 'talsimpy'
15
+ copyright = '2026, Sydro Consult GmbH'
16
+ author = 'Sydro Consult GmbH'
17
+ release = '3.0.0'
18
+
19
+ # -- General configuration ---------------------------------------------------
20
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
21
+
22
+ extensions = [
23
+ 'sphinx.ext.autodoc',
24
+ 'sphinx.ext.napoleon',
25
+ 'sphinx.ext.viewcode',
26
+ ]
27
+
28
+ templates_path = ['_templates']
29
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
30
+
31
+
32
+
33
+ # -- Options for HTML output -------------------------------------------------
34
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
35
+
36
+ html_theme = 'alabaster'
37
+ html_static_path = ['_static']
@@ -0,0 +1,20 @@
1
+ talsimpy documentation
2
+ ======================
3
+
4
+ Python interface for Talsim datasets, databases, scenarios, simulation runs
5
+ and time series processing.
6
+
7
+ Install with:
8
+
9
+ .. code-block:: bash
10
+
11
+ pip install talsimpy
12
+
13
+ Optional extras: ``pip install talsimpy[plot]`` (plotting) or ``talsimpy[raster]`` (xarray/rioxarray).
14
+
15
+ .. toctree::
16
+ :maxdepth: 2
17
+ :caption: Contents:
18
+
19
+ api
20
+
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=.
11
+ set BUILDDIR=_build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,91 @@
1
+ *Allgemeine Angaben (*.ALL)
2
+ *==========================
3
+ [SETTINGS]
4
+ VERSION=1.2
5
+
6
+ [NAME]
7
+ Caption=KAL_kf1_0.15_JGG_0.15
8
+ Text1=
9
+ Text2=
10
+ Text3=batch-run, 12.06.2023 12:24:36
11
+
12
+ [SIMULATION]
13
+ SimMode=1
14
+ SimStart=02.11.2020 00:00
15
+ SimEnd=30.07.2021 00:00
16
+ SimStartZre=
17
+ UseCurrentDate=N
18
+ TimeStep_min=60
19
+ TimeStep_month=N
20
+ SimBlock=13
21
+ ViewTimeStep=30
22
+ StartKey=
23
+
24
+ [SIMPROG]
25
+ KProgID=0
26
+
27
+ [SIMREALTIME]
28
+ PreStartStep=d
29
+ PreStartCount=1
30
+ ConnectedKProgID=0
31
+
32
+ [SIMLOOP]
33
+ #Simulationszeitschritt = 1 Monat
34
+ TimeStepCount=
35
+ LoopCount=
36
+ QGeneration=TRUE
37
+ UseSimStart=FALSE
38
+
39
+ [SIMSCE]
40
+
41
+ [POSTPROCESSING]
42
+ IsActive=J
43
+
44
+ [STARTCONDITION]
45
+ UrbanLoss=1
46
+ StartLoss=100
47
+ ChannelFlow=100
48
+ ReservoirFill=100
49
+ SoilMoisture=100
50
+
51
+ [CALC]
52
+ CntrlFunction=J
53
+ ObjectiveFunction=N
54
+ Expo=0
55
+ ErrGauge=0
56
+ ErrObjective=0
57
+ OptionEzgScsLoss=0
58
+ PsiEndScs=1
59
+ EflThreshold=0
60
+ MaxIteration=2
61
+ SoilInterconnected=0
62
+ TempElevationFactor=0.6
63
+ ApplyWindElevationCorrection=1
64
+ SoilEvaporationMode=3
65
+
66
+ [FILES]
67
+ Max=J
68
+ Blz=J
69
+ Prob=N
70
+ Wel=J
71
+ Csv=N
72
+ Bin=N
73
+ Ani=N
74
+ Soil=0
75
+ Crop=0
76
+ Hru=0
77
+ Groundwater=0
78
+ Storage=0
79
+ OverviewOnly=N
80
+ ResultEachTimeStep=1
81
+ Decimals=3
82
+ ResultForStates=
83
+
84
+ [OPTIMIZATION]
85
+ Optimize=N
86
+ OptMode=1
87
+
88
+ [SIMMEMO]
89
+ StartMemo=
90
+
91
+ EndMemo=
@@ -0,0 +1,22 @@
1
+ *Soil layers (*.BOA)
2
+ *===================
3
+ [SETTINGS]
4
+ VERSION=2.0
5
+ *
6
+ *|------|----------------------------------------------------|------------------------------|
7
+ *| ID | Soil layer parameter | Description |
8
+ *| |Soil BD Typ WP FC SAT kf maxInf maxCap | |
9
+ *|------|----------------------------------------------------|------------------------------|
10
+ *| - | - - - mm/m mm/m mm/m mm/h mm/h mm/h | - |
11
+ *|-<-->-|<-->-+--+-<---->-<---->-<---->-<---->-<---->-<---->-|-<-------------------------->-|
12
+ | 1 |xxx 3 2 169.5 421.5 475.5 9.875 19.75 0 | Boden_1 |
13
+ | 2 |xxx 3 2 179.5 360 426 8.5625 17.125 0 | Boden_2 |
14
+ | 3 |xxx 3 2 249 764 913 13.75 27.5 0 | Boden_3 |
15
+ | 4 |xxx 3 2 144.64 269.73 350.55 8.1875 16.375 0 | Boden_4 |
16
+ | 5 |xxx 3 2 108.8 245.2 316.4 31.667 63.333 0 | Boden_5 |
17
+ | 6 |xxx 3 2 93.3 184.8 243.5 17.708 35.417 0 | Boden_6 |
18
+ | 7 |xxx 3 2 169.5 421.5 475.5 32.917 65.833 0 | Boden_7 |
19
+ | 8 |xxx 3 2 108.8 245.2 316.4 9.5 19 0 | Boden_8 |
20
+ | 9 |xxx 3 2 93.3 184.8 243.5 5.3125 10.625 0 | Boden_9 |
21
+ | 10 |xxx 3 2 116.45 242.64 314.09 6.625 13.25 0 | Boden_10 |
22
+ *|-<-->-|<-->-+--+-<---->-<---->-<---->-<---->-<---->-<---->-|-<-------------------------->-|
@@ -0,0 +1,20 @@
1
+ *Soil types (*.BOD)
2
+ *==================
3
+ [SETTINGS]
4
+ *|------|-----------------------------------------------------------------|------------------------------|
5
+ *| ID | Soil type parameter | Description |
6
+ *|------|-----------------------------------------------------------------|------------------------------|
7
+ *| |nlayer d1 boa1 d2 boa2 d3 boa3 d4 boa4 d5 boa5 d6 boa6| |
8
+ *| - | - m - m - m - m - m - m - | - |
9
+ *|-<-->-|-<->--<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->|-<-------------------------->-|
10
+ | 1 | 1 1.1 2 0 0 0 0 0 | Profil_1 |
11
+ | 2 | 1 .750 3 0 0 0 0 0 | Profil_2 |
12
+ | 3 | 1 .450 4 0 0 0 0 0 | Profil_3 |
13
+ | 4 | 1 .500 1 0 0 0 0 0 | Profil_4 |
14
+ | 5 | 1 2 5 0 0 0 0 0 | Profil_5 D* |
15
+ | 6 | 1 2 6 0 0 0 0 0 | Profil_6 D* |
16
+ | 7 | 1 2 7 0 0 0 0 0 | Profil_7 D* |
17
+ | 8 | 1 1 8 0 0 0 0 0 | Profil_8 |
18
+ | 9 | 1 1.1 9 0 0 0 0 0 | Profil_9 |
19
+ | 10 | 1 1.05 10 0 0 0 0 0 | Profil_10 |
20
+ *|-<-->-|-<->--<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->-<-->|-<-------------------------->-|
@@ -0,0 +1,24 @@
1
+ *Hydrologic Response Units (*.EFL)
2
+ *=========================
3
+ [SETTINGS]
4
+ VERSION=1.2
5
+ *
6
+ *|------|---------------------------------|------------------------------------------|------
7
+ *| | Parameter |Sim- Str Elev HRU Out In- Out |Branch
8
+ *| EZG | Gef. Fl�che Bod Lnz Irr CN |Type eam m ID ID let let | 1
9
+ *|------|---------------------------------|------------------------------------------|------
10
+ *| - | % % ID ID ID - | 1-2 0/1 |
11
+ *|-<-->-|-<-->-<---->-<-->-<-->-<-->-<-->-|--+----+--<------><----><----><----><---->|<---->
12
+ | AB23 | 15 0.99 2 3 | 2 0 0 0 0 0 0| 0
13
+ | AB23 | 15 1.45 3 3 | 2 0 0 0 0 0 0| 0
14
+ | AB23 | 15 2.85 7 2 | 2 0 0 0 0 0 0| 0
15
+ | AB23 | 15 3.16 9 1 | 2 0 0 0 0 0 0| 0
16
+ | AB23 | 15 3.2 10 3 | 2 0 0 0 0 0 0| 0
17
+ | AB23 | 15 3.23 1 3 | 2 0 0 0 0 0 0| 0
18
+ | AB23 | 15 3.32 8 1 | 2 0 0 0 0 0 0| 0
19
+ | AB23 | 15 3.94 4 3 | 2 0 0 0 0 0 0| 0
20
+ | AB23 | 15 6.74 6 2 | 2 0 0 0 0 0 0| 0
21
+ | AB23 | 15 18.53 5 2 | 2 0 0 0 0 0 0| 0
22
+ | AB23 | 15 21.04 9 3 | 2 0 0 0 0 0 0| 0
23
+ | AB23 | 15 31.55 8 3 | 2 0 0 0 0 0 0| 0
24
+ *|-<-->-|-<-->-<---->-<-->-<-->-<-->-<-->-|--+----+--<------><----><----><----><---->|<---->