Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CB-Lim authored Mar 26, 2024
1 parent 8e0aea1 commit 6f197f0
Show file tree
Hide file tree
Showing 22 changed files with 352 additions and 343 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 2024.02.27

- Features: Implements Bernabeu article
# 2024.02.27

- Features: Implements Bernabeu article
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# IHSetBernabeu

Dean (1991) have proposed the concept of an equilibrium beach profile. Dean (1991) derived the equilibrium beach profile model with the wave energy dissipation similar to other previous works (e.g., Bruun, 1954). The equilibrium beach profile equation is very simple, but has been used by many researchers for coastal engineering.


## Installation and use

To install this module use:

```sh
pip install https://github.com/IHCantabria/IHSetBernabeu/archive/refs/tags/latest.zip
```

Run tests to validate:

```sh
ihsetbernabeu-tests
```

## Documentation

Documentation is available at https://ihcantabria.github.io/IHSetBernabeu

## Credits

Developed and maintained by Lim, Changbin @ IHCantabria.
# IHSetBernabeu

Dean (1991) have proposed the concept of an equilibrium beach profile. Dean (1991) derived the equilibrium beach profile model with the wave energy dissipation similar to other previous works (e.g., Bruun, 1954). The equilibrium beach profile equation is very simple, but has been used by many researchers for coastal engineering.


## Installation and use

To install this module use:

```sh
pip install https://github.com/IHCantabria/IHSetBernabeu/archive/refs/tags/latest.zip
```

Run tests to validate:

```sh
ihsetbernabeu-tests
```

## Documentation

Documentation is available at https://ihcantabria.github.io/IHSetBernabeu

## Credits

Developed and maintained by Lim, Changbin @ IHCantabria.
Binary file added data/config.nc
Binary file not shown.
Binary file added data/ens.nc
Binary file not shown.
Binary file added data/wav.nc
Binary file not shown.
38 changes: 19 additions & 19 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
104 changes: 52 additions & 52 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
# from IHSetBernabeu.__init__ import __version__

__version__ = "0.1.0"
project = "IHSetBernabeu"
copyright = "2024, Lim, Changbin"
author = "Lim, Changbin"
version = release = __version__

html_context = {
"display_github": True, # Integrate GitHub
"github_user": "ihcantabria", # Username
"github_repo": "IHSetBernabeu", # Repo name
"github_version": "main", # Version
"conf_py_path": "/docs/",
}

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx_rtd_theme",
"myst_nb",
# 'sphinxcontrib.autodoc_pydantic',
"sphinx.ext.autosummary",
]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "sphinx_rtd_theme"
html_theme_options = {
"display_version": True,
"style_external_links": False,
}
# html_theme = 'furo'
# html_theme = 'sphinx_book_theme'

html_static_path = ["_static"]
html_logo = ""
html_title = " v" + release
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
# from IHSetBernabeu.__init__ import __version__

__version__ = "0.1.0"
project = "IHSetBernabeu"
copyright = "2024, Lim, Changbin"
author = "Lim, Changbin"
version = release = __version__

html_context = {
"display_github": True, # Integrate GitHub
"github_user": "ihcantabria", # Username
"github_repo": "IHSetBernabeu", # Repo name
"github_version": "main", # Version
"conf_py_path": "/docs/",
}

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx_rtd_theme",
"myst_nb",
# 'sphinxcontrib.autodoc_pydantic',
"sphinx.ext.autosummary",
]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "sphinx_rtd_theme"
html_theme_options = {
"display_version": True,
"style_external_links": False,
}
# html_theme = 'furo'
# html_theme = 'sphinx_book_theme'

html_static_path = ["_static"]
html_logo = ""
html_title = " v" + release
42 changes: 21 additions & 21 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# IHSetBernabeu

## Summary

Dean (1991) have proposed the concept of an equilibrium beach profile. Dean (1991) derived the equilibrium beach profile model with the wave energy dissipation similar to other previous works (e.g., Bruun, 1954). The equilibrium beach profile equation is very simple, but has been used by many researchers for coastal engineering.

## Model formula

Dean (1991) suggested a simple equilibrium beach profile equation based on the wave energy dissipation as follows:

```text
h=Ay^(2/3)
h : the water depth
y : the seaward distance
A : the Dean parameter
```

![Definition sketch of equilibrium beach profile model](_static/images/Imagen1.png)

Fig. Definition sketch of equilibrium beach profile model (Dean, 1991).
# IHSetBernabeu

## Summary

Dean (1991) have proposed the concept of an equilibrium beach profile. Dean (1991) derived the equilibrium beach profile model with the wave energy dissipation similar to other previous works (e.g., Bruun, 1954). The equilibrium beach profile equation is very simple, but has been used by many researchers for coastal engineering.

## Model formula

Dean (1991) suggested a simple equilibrium beach profile equation based on the wave energy dissipation as follows:

```text
h=Ay^(2/3)
h : the water depth
y : the seaward distance
A : the Dean parameter
```

![Definition sketch of equilibrium beach profile model](_static/images/Imagen1.png)

Fig. Definition sketch of equilibrium beach profile model (Dean, 1991).
68 changes: 34 additions & 34 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
Loading

0 comments on commit 6f197f0

Please sign in to comment.