This repository contains a Python script designed to convert HYCOM (Hybrid Coordinate Ocean Model) dataset outputs into multiple levels of boundary conditions for Delft3D-FM and Delft3D-FLOW. Specifically, it prepares the salinity and temperature boundary conditions required for hydrodynamic and water quality simulations.
- 🌀 Processes HYCOM dataset outputs.
- 📊 Generates boundary conditions for Delft3D-FM and Delft3D-FLOW.
- 🌐 Supports multiple vertical levels.
- 🌡️ Prepares salinity and temperature boundary conditions.
To use this script, ensure the following Python libraries are installed:
sys
numpy
pandas
openearthtools
xarray
datetime
warnings
tqdm
To install the required packages, use the following command:
pip install numpy pandas xarray openearthtools tqdm
The script requires HYCOM dataset files as input. These files should be in a format readable by xarray
(e.g., NetCDF).
The script produces boundary condition files for Delft3D-FM and Delft3D-FLOW.
- Clone this repository:
git clone <repository_url>
cd <repository_name>
- Run the Python script:
jupyterlab Salinity_Temp.ipynb
The script uses the following key libraries:
openearthtools.io.delft3d
: Handles Delft3D data input and output.xarray
: Manages HYCOM dataset processing.tqdm
: Provides progress tracking.