Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DVC for tracking data and pipelines #126

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dvc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/config.local
/tmp
/cache
6 changes: 6 additions & 0 deletions .dvc/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[core]
analytics = false
remote = goodcloud
autostage = true
['remote "goodcloud"']
url = webdavs://deltares.thegood.cloud/remote.php/dav/files/nhi_api/dvc
3 changes: 3 additions & 0 deletions .dvcignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Add patterns of files dvc should ignore, which could improve
# the performance. Learn more at
# https://dvc.org/doc/user-guide/dvcignore
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ src/peilbeheerst_model/tests_results
/src/peilbeheerst_model/vervallen

notebooks/rijkswaterstaat/plots/
/random.txt
9,458 changes: 6,320 additions & 3,138 deletions pixi.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Ribasim-NL"
version = "0.1.0"
description = "Ribasim water resources modeling in the Netherlands"
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64"]
platforms = ["win-64", "linux-64", "osx-arm64"]
readme = "README.md"
license = "MIT"
license-file = "LICENSE"
Expand Down Expand Up @@ -86,3 +86,7 @@ ribasim = "==2024.10.0"
[environments]
default = { features = ["common", "prod"] }
dev = { features = ["common", "dev"] }

[feature.dev.dependencies]
dvc = ">=2.46.0,<2.47"
dvc-webdav = ">=3.0.0,<4"
5 changes: 5 additions & 0 deletions random.txt.dvc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
outs:
- md5: 323434bd64785ec5e402915bbadbda1c
size: 5
hash: md5
path: random.txt
Loading