Skip to content

Suizer98/delft3d_octave

Repository files navigation

delft3d_octave

[[TOC]]

Description

This repo is mainly to free people who don't want to convert Delft3D FLOW Output by running the .m scripts with Matlab software. The working targets are trim*.dat and trih*.dat generated as NEFIS structure data from Delft3D software.

Tech stacks:

Tech stacks

The working MATLAB codes are:

  1. vs_trim2nc.m
  2. vs_trih2nc.m

Changes made to the *.m files

See this commit

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 *.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 debug, enter docker container with interactive mode:
docker exec -it delft3d-octave-delft3d-octave-1 bash
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

About

A tool to convert Delft3D FLOW Output *.DAT to *.nc using Matlab scripts powered by Docker Octave

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors