Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suizer98/delft3d_octave
A tool to convert Delft3D FLOW Output *.DAT to *.nc using Matlab scripts powered by Docker Octave
https://github.com/suizer98/delft3d_octave
delft3d delft3dflow docker matlab nefis netcdf octave
Last synced: about 2 months ago
JSON representation
A tool to convert Delft3D FLOW Output *.DAT to *.nc using Matlab scripts powered by Docker Octave
- Host: GitHub
- URL: https://github.com/suizer98/delft3d_octave
- Owner: Suizer98
- Created: 2024-02-27T08:54:42.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-11T08:23:10.000Z (7 months ago)
- Last Synced: 2024-06-11T20:44:40.513Z (7 months ago)
- Topics: delft3d, delft3dflow, docker, matlab, nefis, netcdf, octave
- Language: MATLAB
- Homepage:
- Size: 568 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# delft3d_octave
[[_TOC_]]
## Description
This project is mainly to free people who don't want to convert Delft3D FLOW Output using Matlab Software running the *.m scripts.
The working targets are trim*.dat and trih*.dat generated as NEFIS structure from Delft3D software.Tech stacks:
![Tech stacks](https://skillicons.dev/icons?i=octave,matlab,python,docker,ubuntu,bash,)
For now the working codes are:
1. vs_trim2nc.m
2. vs_trih2nc.m
3. slicedata.py## Changes made to the *.m files
See this [commit](https://github.com/Suizer98/delft3d_octave/commit/ce7fe84e86b2596a1729d8bb010921148964d7c1)## Setting up Docker Ubuntu environment
- Dockerfile and docker-compose.yml are created in such a way that you don't need to build environment by yourself, all you need is to run docker's command.
- After cloning this repo, copy your desired *.dat and *.def model results from Delft3D Flow outputs into the root directory.
- In your terminal simply run:```
docker-compose up --build
docker-compose up # If images are cached
```- To enter docker container:
```
docker exec -it delft3d-octave-delft3d-octave-1 bash # Attach to the container's terminal
```
```
root@7e8c9bfe1c7a:/usr/src/app# ls
root@7e8c9bfe1c7a:/usr/src/app# ./batch_convert.sh
```## Preparing environment on Window machine
### Prerequisites
- wsl2 on window
- Docker Desktop