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

Edits to tutorial text #1951

Merged
merged 1 commit into from
Dec 2, 2024
Merged
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
9 changes: 5 additions & 4 deletions docs/tutorial/natural-flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"source": [
"# Crystal River Basin\n",
"We will examine a straightforward example of the Crystal river basin, which includes a main river and a single tributary flowing into the sea (see @fig-crystal-basin).\n",
"An average discharge of $44.45 \\text{ m}^3/\\text{s}$ is measured at the confluence.\n",
"Between 2014 and 2023 an average discharge of $44.45 \\text{ m}^3/\\text{s}$ is measured at the confluence.\n",
"In this module, the basin is free of any activities, allowing the model to simulate the natural flow.\n",
"The next step is to include a demand (irrigation) that taps from a canal out of the main river.\n",
"\n",
Expand Down Expand Up @@ -89,7 +89,9 @@
"metadata": {},
"source": [
"### Setup paths and model configuration\n",
"Reference the paths of the Ribasim installation and model directory and define the time period (2022-01-01 until 2023-01-01) for the model simulation.\n",
"Reference the paths of the Ribasim installation and model directory and define the time period.\n",
"The used simulation period is defined by the `starttime` and `endtime` of the model, not by the input timeseries.\n",
"For now we will look into the period from 2022-01-01 until 2023-01-01 for the model simulation.\n",
"The coordinate reference system (CRS) is also required, and set to [EPSG:4326](https://epsg.io/4326), which means all coordinates are interpreted as latitude and longitude values.\n",
"The CRS is important for correctly placing Ribasim models on the map, but since this is a fictional model, it is not important."
]
Expand Down Expand Up @@ -135,8 +137,7 @@
"data[\"total\"] = data[\"minor\"] + data[\"main\"]\n",
"display(data)\n",
"\n",
"# Average and max inflow of the total inflow data timeseries\n",
"# From 2014 - 2023\n",
"# Average and max inflow of the total inflow data over 2022\n",
"print(\"Average inflow [m3/s]:\", data[\"total\"].mean())\n",
"print(\"Maximum inflow [m3/s]:\", data[\"total\"].max())\n",
"\n",
Expand Down