Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPic committed Nov 23, 2024
1 parent 926a6a8 commit a57edfc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/package_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- name: Preprocess README.md
run: |
sed -i 's#\](\/#](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/#g' README.md
# - name: pip install python-build package
# run: |
# pip install -q build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sphinx_docs_to_gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
run: |
sudo apt-get install pandoc -y
# ------------------------------
#- name: Preprocess README.md
# run: |
# sed -i 's#\](\/#](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/#g' README.md

- name: Copy readme and examples
# pwd
# ls -lh
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Intensity duration frequency analysis (based on KOSTRA)


[![license](https://img.shields.io/github/license/markuspic/intensity_duration_frequency_analysis.svg?style=flat)](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/master/LICENSE)
[![license](https://img.shields.io/github/license/markuspic/intensity_duration_frequency_analysis.svg?style=flat)](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/idf-analysis.svg)](https://pypi.python.org/pypi/idf-analysis)
[![DOI](https://zenodo.org/badge/142560436.svg)](https://zenodo.org/doi/10.5281/zenodo.10559991)

Expand Down Expand Up @@ -77,7 +77,7 @@ Python is pre-installed on most operating systems (as you probably knew).
### Dependencies

Packages required for this program will be installed with pip during the installation process and can be seen
in the [`requirements.txt`](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/master/requirements.txt) file.
in the [`requirements.txt`](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/requirements.txt) file.


```mermaid
Expand Down Expand Up @@ -222,20 +222,20 @@ In these examples you can see the usage in a reproducible way. This examples use

[Example Jupyter notebook for the python api](examples/example_python_api.ipynb) (or in the [docs](https://markuspic.github.io/intensity_duration_frequency_analysis/examples/example_python_api.html))

[Example python skript](examples/example_python_api.py)
[Example python skript](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/examples/example_python_api.py)


### Example Files

[Interim Results of the idf analysis](examples/ehyd_112086_idf_data/idf_parameters.yaml)
[Interim Results of the idf analysis](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/examples/ehyd_112086_idf_data/idf_parameters.yaml)

### Example Plot

![IDF-Curves-Plot](examples/ehyd_112086_idf_data/idf_curves_plot.png)
![IDF-Curves-Plot](https://raw.githubusercontent.com/MarkusPic/intensity_duration_frequency_analysis/refs/heads/main/examples/ehyd_112086_idf_data/idf_curves_plot.png)

### Example IDF table

[IDF-Table](examples/ehyd_112086_idf_data/idf_table_UNIX.csv)
[IDF-Table](https://github.com/MarkusPic/intensity_duration_frequency_analysis/blob/main/examples/ehyd_112086_idf_data/idf_table_UNIX.csv)


| return period in a<br>duration in min | 1 | 2 | 3 | 5 | 10 | 20 | 25 | 30 | 50 | 75 | 100 |
Expand Down

0 comments on commit a57edfc

Please sign in to comment.