River Boundary Conditions
River input data for SHYFEM-MPI consist of time series for the following physical variables:
- River discharge in \(m^3/s\);
- Temperature in \(^\circ C\);
- Salinity in \(psu\);
You can include any number of rivers in your simulation. To correctly generate and load your river data files, please refer to the instructions below.
File Placement
Click here to expand...
The input data files must be placed in a subdirectory named river_input/
inside your experiment's Base Directory. The directory structure should look like this:
graph LR
base[🏠  Base Directory]:::leaf --> A[📁  Experiment Directory]:::leaf
base[🏠  Base Directory]:::leaf --> A1[📁  river_input/]:::folder
A --> B[📁  .../]:::leaf
%% Class definitions for coloring
classDef folder fill:#d0ebff,stroke:#339af0,stroke-width:1px;
classDef leaf fill:#f8f9fa,stroke:#adb5bd,stroke-width:1px;
File Formatting
Click here to expand...
The data files must be saved in .dat
and must contain the following columns, in the specified order:
Column | Variable | Data Type |
---|---|---|
1 | Timestamp | str (YYYY-MM-DDTHH:MM ) |
2 | River discharge | float |
3 | Temperature | float |
4 | Salinity | float |
Formatting Guidelines
-
Delimiter: Use semicolon (
;
) with no spaces to separate the columns. -
Timestamps: The time series does not need to be uniformly spaced and can extend beyond the start or end of the experiment. However, it must fully cover the entire duration of the simulation.
-
Missing data: Empty slots and/or non-conform entries (caused e.g. by missing sensor measurements) are automatically ignored.
Here is an example of an acceptable data formatting:
File Naming
Click here to expand...
The files must be named exactly as specified in the River Names
field within the JSON configuration section 🔗River Forcing at Domain Boundaries
(e.g. River Name: BusaLevante
↔ File Name: BusaLevante.dat
).