Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
a526c58
[JTH] first binwaves version implemented
tausiaj Feb 7, 2025
c372e6f
Merge pull request #54 from GeoOcean/feature/binwaves-v1
tausiaj Feb 7, 2025
7a75df7
[JTH] add absolute cumulative explained variance
tausiaj Feb 10, 2025
ae85397
[JTH] add first version for sfincs model wrapper
tausiaj Feb 10, 2025
f224f07
[JTH] add watlev variable to swash postprocess
tausiaj Feb 11, 2025
951890f
[JTH] binwaves modifications, standarize bug fixed and logger option …
tausiaj Feb 18, 2025
a7fb36a
[JTH] add cmocean to package requirements
tausiaj Feb 18, 2025
b64921c
[JTH] start building docs with sphinx
tausiaj Feb 18, 2025
89c9b4f
[JTH] move py docs to source
tausiaj Feb 20, 2025
d7fc339
[JTH] add python docs to source
tausiaj Feb 20, 2025
8d5f89c
[JTH] add index with modules
tausiaj Feb 20, 2025
f5fce1d
[JTH] do not cache docs in github
tausiaj Feb 20, 2025
890a865
[JTH] ignore docs files
tausiaj Feb 20, 2025
e57ea2a
[JTH] remove deeplearning tests
tausiaj Feb 20, 2025
deb4ba9
[JTH] use repo main env.yml to run tests
tausiaj Feb 20, 2025
fc32e63
[JTH] pcs df option and binwaves kp extraction working
tausiaj Feb 20, 2025
7e18fc0
Merge pull request #55 from GeoOcean/feature/binwaves-kps
tausiaj Feb 20, 2025
9583360
[JTH] binwaves working with parallel computing locally
tausiaj Feb 26, 2025
2aab9d3
[JTH] add cleaned sfincs example
tausiaj Feb 26, 2025
010f992
[JTH] add more features to package toml
tausiaj Feb 26, 2025
b79316e
[JTH] add docs first version to test deploy
tausiaj Feb 26, 2025
88ecf70
[JTH] little changes to deploy sphinx docu
tausiaj Feb 26, 2025
be69851
[JTH] little changes to deploy sphinx docu
tausiaj Feb 26, 2025
7b02c1d
[VFQ] Modified available launchers in swash
fernanqv Feb 26, 2025
fca006e
Merge pull request #57 from GeoOcean/swash_launchers
fernanqv Feb 26, 2025
77c7f05
[JTH] remove not working pythons from matrix for tests
tausiaj Feb 26, 2025
a8aa355
[JTH] more wrappers cleaning
tausiaj Feb 26, 2025
02c7af4
[JTH] implement utm converter and changes in binwaves to test CAN bathy
tausiaj Feb 28, 2025
79bd436
Merge pull request #58 from GeoOcean/feature/utm-conversion
tausiaj Feb 28, 2025
692a1bf
[JTH] remove text in selected clusters by default
tausiaj Mar 4, 2025
a9e9903
[JTH] implement background execution for wrappers and parallel execut…
tausiaj Mar 4, 2025
d50f668
[JTH] implement parallel execution in abstract bluemath class with su…
tausiaj Mar 4, 2025
db33099
[JTH] implement parallel execution in dask for binwaves witn env vari…
tausiaj Mar 4, 2025
7c61538
[JTH] implement new parallel computing in RBF model
tausiaj Mar 4, 2025
6b10315
Merge pull request #59 from GeoOcean/56-all-cases-ran-successfully
tausiaj Mar 4, 2025
52c64d5
[JTH] solve wavespectra issue to install bluemath with pip in macos a…
tausiaj Mar 5, 2025
13948d1
Merge pull request #61 from GeoOcean/feature/wavespectra-dependency
tausiaj Mar 5, 2025
fe86de6
[JTH] add kma min_number_points condition on fitting and parallel doc…
tausiaj Mar 6, 2025
2383b91
[JTH] generalise kma test
tausiaj Mar 6, 2025
8925aa6
[JTH] first version to try with real case scenario
tausiaj Mar 6, 2025
612f188
[JTH] leave clean templates for swan
tausiaj Mar 7, 2025
76b59c2
[JTH] little change in binwaves swan example
tausiaj Mar 10, 2025
8fac10f
[JTH] add little change in binwaves
tausiaj Mar 12, 2025
7a3d855
Merge branch '62-realizar-un-rbf-predict-con-grandes-cantidades-de-da…
tausiaj Mar 12, 2025
476ab13
[JTH] logger instead of error in max cores available setting
tausiaj Mar 12, 2025
4c13150
[JTH] add swash_wrapper new methods
tausiaj Mar 12, 2025
eefb286
[JTH] merge changes from chyswash development branch
tausiaj Mar 12, 2025
8ea6645
[JTH] add more docs to new sphinx documentation
tausiaj Mar 13, 2025
c12d565
[EJPF] change function to write binary data
Mar 13, 2025
aa3577b
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
FaugereE Mar 13, 2025
9e89c38
[JTH] first implementation of XWT
tausiaj Mar 13, 2025
323d9aa
[JTH] first version of XWT finished and working
tausiaj Mar 14, 2025
e1a9804
[JTH] add TODO for time resampling
tausiaj Mar 14, 2025
b05bfbc
Added fixed_parameters to wrappers
fernanqv Mar 14, 2025
388ea01
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
tausiaj Mar 17, 2025
5a7173a
[JTH] huge change for fixed parameters and default checking
tausiaj Mar 17, 2025
f6ad810
[EJPF] add last changes in schism and delftfm wrappers
FaugereE Mar 18, 2025
f475b1c
[JTH] huge commit with teslakit version working for course and correc…
tausiaj Mar 19, 2025
3416ea2
[JTH] extend docu in KMA and PCA
tausiaj Mar 19, 2025
ae4b462
[JTH] little changes in documentationo for better understanding
tausiaj Mar 19, 2025
2d1de5f
[JTH] add xwt daily time sampling check
tausiaj Mar 19, 2025
ada51fc
[JTH] update kma test for new code
tausiaj Mar 19, 2025
237433d
Merge pull request #64 from GeoOcean/feature/xwt-implementation
tausiaj Mar 19, 2025
49b8fd4
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
tausiaj Mar 20, 2025
5bf5fa6
HySwash postprocess improvments
fernanqv Mar 20, 2025
f5028d3
Merge branch 'fixed_parameters' of https://github.com/GeoOcean/BlueMa…
tausiaj Mar 20, 2025
b3bef3f
[JTH] modified postprocess function based on new github issue
tausiaj Mar 20, 2025
89dd0d2
[JTH] set removing flags to false by default
tausiaj Mar 20, 2025
c1c0ac1
[JTH] add explanation to new check parameters function
tausiaj Mar 20, 2025
7b56e58
[JTH] sort bmus clusters by variable
tausiaj Mar 21, 2025
6ea6b07
[JTH] add test for XWT main class
tausiaj Mar 21, 2025
8105112
[JTH] add TODO for regression guided
tausiaj Mar 21, 2025
39ae7a2
[JTH] add xwt sorting bmus by variable and climate emulator working
tausiaj Mar 25, 2025
fa252fd
Merge branch 'develop' into fixed_parameters
tausiaj Mar 25, 2025
10905f4
Merge pull request #68 from GeoOcean/fixed_parameters
tausiaj Mar 25, 2025
87b46c8
[JTH] update swan wrapper struc for new fixed parameters
tausiaj Mar 28, 2025
ca9ca10
[JTH] add olas pypi package to waves flag
tausiaj Mar 28, 2025
234cbd9
add estela codes
lauracagigal Apr 1, 2025
219d235
[LCG] restore pyproject.toml
lauracagigal Apr 1, 2025
e0d6ae7
Merge pull request #70 from GeoOcean/feature/estela-cleaning
tausiaj Apr 1, 2025
de8eeb7
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
tausiaj Apr 1, 2025
a97f3d4
[JTH] add kma max iterations flag
tausiaj Apr 1, 2025
eb432ce
[JTH] add flag max iterations to predict
tausiaj Apr 1, 2025
3a144fe
Merge pull request #71 from GeoOcean/67-swan-generation-bathy
tausiaj Apr 1, 2025
95b17fa
[JTH] add swash monitor flags, models py updated and kma decorator co…
tausiaj Apr 2, 2025
06ae8f6
[JTH] hide dask warnings and add just dirs when setting cases dirs to…
tausiaj Apr 2, 2025
d29712b
Merge pull request #72 from GeoOcean/66-swash-wrapper-postprocess-flags
tausiaj Apr 2, 2025
429b4d2
[JTH] add index title to climate hazards
tausiaj Apr 2, 2025
30281c7
[JTH] warning to info in normalize and hide warnings in estela predic…
tausiaj Apr 3, 2025
6bedf05
[JTH] little modificatons for plots
tausiaj Apr 4, 2025
f35e520
[JTH] Update README.md
tausiaj Apr 6, 2025
a162f4b
[JTH] change license to BSD 3-clause
tausiaj Apr 14, 2025
fb412fd
[JTH] add LICENSE explanation to README
tausiaj Apr 14, 2025
b8be720
[JTH] Update LICENSE to GPLv3
tausiaj Apr 14, 2025
05a760a
Update README.md
tausiaj Apr 14, 2025
94246e6
Merge pull request #73 from GeoOcean/license
tausiaj Apr 14, 2025
b8c1004
[JTH] add PCS already fitted in XWT and conditioned probs for clusters
tausiaj Apr 14, 2025
c0097b0
Merge branch 'develop' into feature/delft-wrapper
tausiaj Apr 14, 2025
d7530ee
[JTH] first cleaning before real data testing
tausiaj Apr 14, 2025
c5e3e96
[JTH] clean schism example
tausiaj Apr 14, 2025
ea6bfaf
[JTH] add first not working version for ocsmesh implementation
tausiaj Apr 15, 2025
1a3011e
[JTH] change name to mesh utils
tausiaj Apr 15, 2025
722c77a
[JTH] first working implementation of ocsmesh with wrappers updated f…
tausiaj Apr 16, 2025
5c5b26e
Merge pull request #74 from GeoOcean/feature/delft-wrapper
tausiaj Apr 16, 2025
31d8ff5
[JTH] add warning to parallel execs
tausiaj Apr 16, 2025
1aaefe2
[JTH] fix bug when 2 varables and just 1 ax
tausiaj Apr 16, 2025
3f23f05
Merge pull request #76 from GeoOcean/75-mdaplot-two-vars
tausiaj Apr 16, 2025
c83fbf5
[JTH] add more info to __init__s in submodules
tausiaj Apr 16, 2025
815ff44
Merge branch '75-mdaplot-two-vars' into develop
tausiaj Apr 16, 2025
3eceb48
[JTH] fix bug in 2 vars plots in LHS
tausiaj Apr 16, 2025
979d29e
[JTH] update copernicus downloader to be more flexible to different d…
tausiaj Apr 26, 2025
cf18cdf
[JTH] add little changes in copernicus downloader to download lack ER…
tausiaj Apr 29, 2025
0b89e33
Improvments in Swash Wrapper postprocessor
fernanqv Apr 30, 2025
ac7b95c
Merge pull request #78 from GeoOcean/post_swash_wrapper
tausiaj May 2, 2025
1b75ad0
[JTH] change format of monitor cases in swash wrapper to use base method
tausiaj May 2, 2025
a92386d
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
tausiaj May 2, 2025
42f9e63
[JTH] keep improving greensurge wrapper and reconstruction functions
tausiaj May 2, 2025
fac41af
[JTH] update setup for development mode
tausiaj May 2, 2025
8c82568
[JTH] add sfincs model wrapper for alba
tausiaj May 5, 2025
342f801
[JTH] implement xbeach base wrapper and manu example
tausiaj May 6, 2025
2b7a027
[JTH] add spectra download from CDS
tausiaj May 7, 2025
00e3586
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
tausiaj May 7, 2025
5545657
[JTH] update base wrappers to be more intuitive when loading models a…
tausiaj May 8, 2025
49f2569
[JTH] added more docu and deleted environment.yml
tausiaj May 8, 2025
2bad020
[JTH] start datamining clustering homegenization for kma reg guided i…
tausiaj May 8, 2025
9c366ec
[JTH] correct little bug in SOM
tausiaj May 8, 2025
e35e4b5
[JTH] add normalize to fit_predict in SOM
tausiaj May 12, 2025
c9a9287
[JTH] modify python test to create env with conda create
tausiaj May 12, 2025
32535d2
Merge pull request #80 from GeoOcean/feature/homogeinize-datamining
tausiaj May 12, 2025
6598621
[JTH] Add deepwiki banner to README
tausiaj May 13, 2025
94d143e
[JTH] add dummy class to not instantiate base
tausiaj May 13, 2025
4ebb569
[JTH] add dummy class to not instantiate base v2
tausiaj May 13, 2025
f3587ee
[JTH] add CHY and Veggy examples to swash wrapper main file, and exam…
tausiaj May 13, 2025
5b87790
[JTH] add swash tests main file to test in actions
tausiaj May 13, 2025
affd032
[JTH] add more tests for swan and base model wrappers
tausiaj May 13, 2025
c30034b
[JTH] update tests github actions to execute all available tests
tausiaj May 13, 2025
68fc13a
[JTH] add tests in python 3.13 and pip install dependencies
tausiaj May 13, 2025
3081d8d
Merge pull request #82 from GeoOcean/feature/more-tests
tausiaj May 13, 2025
f327e4e
Issue 79:Add option to KMA-Regression Guided
May 13, 2025
3b0892a
[JTH] remove xtarfile to avoid conda-forge errors in azure pipelines
tausiaj May 14, 2025
4e3441f
Merge branch 'develop' of https://github.com/GeoOcean/BlueMath_tk int…
albaricondo May 14, 2025
85fa4f6
[JTH] little modifications in kma reg guided albas implementation
tausiaj May 14, 2025
671020c
[JTH] remove test predictor in cloud
tausiaj May 14, 2025
f6bc10c
Merge pull request #85 from GeoOcean/issue-79-KMAregression
albaricondo May 14, 2025
ce7f72f
[JTH] add more documentation to BlueMath base class
tausiaj May 15, 2025
5563a20
[EJP] OCSmesh cleaned and optimized
FaugereE May 19, 2025
3bcbf78
Merge pull request #87 from GeoOcean/feature/greensurge-full
tausiaj May 19, 2025
bd7d8b5
[JTH] linting corrected for etienne codes
tausiaj May 19, 2025
e9f52a7
[JTH] more format to mesh_utils docstrings
tausiaj May 20, 2025
90384f9
[JTH] test python ruff formatting v0
tausiaj May 20, 2025
5854e53
[JTH] test python ruff formatting v1
tausiaj May 20, 2025
8602cb0
[JTH] test python ruff formatting v2 with datamining
tausiaj May 20, 2025
1c94a5f
Merge pull request #89 from GeoOcean/tests/ruff
tausiaj May 20, 2025
c6d7c4a
[EJP] Plot update CRS clean bro
FaugereE May 20, 2025
cceb298
Merge pull request #91 from GeoOcean/88-document-and-test-greensurge-…
tausiaj May 20, 2025
59d4f82
[JTH] little reformat in mesh utils py file
tausiaj May 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Deploy Documentation

on:
push:
tags:
- "v*"

permissions:
contents: write

jobs:
build-and-deploy-docs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: |
pip install bluemath-tk[docs]

- name: Sphinx build
run: |
sphinx-apidoc -o docs/source/ bluemath_tk/
sphinx-build docs/source/ docs/build/

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/
force_orphan: true
4 changes: 2 additions & 2 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Publish Python Package
name: Build and Publish Package

on:
push:
tags:
- "v*"

jobs:
build-and-publish:
build-and-publish-package:
runs-on: ubuntu-latest

steps:
Expand Down
27 changes: 20 additions & 7 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ on:
- develop
types:
- opened
- synchronize

jobs:
python-tests:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
fail-fast: false

steps:
Expand All @@ -25,16 +27,27 @@ jobs:
with:
auto-update-conda: true

- name: Modify environment file with Python version
run: sed -i "s/python=[0-9.]\+/python=${{ matrix.python-version }}/" tests/environment.yml

- name: Create conda environment
run: conda env create -f tests/environment.yml
run: conda create -n bluemath-tk python=${{ matrix.python-version }}

- name: Install dependencies
run: |
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bluemath-tk
pip install bluemath-tk
pip install ruff

- name: Run Ruff
run: |
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bluemath-tk
ruff check bluemath_tk/datamining/

- name: Run tests
run: |
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bluemath-tests
python --version
conda activate bluemath-tk
python -m unittest discover tests/datamining/
python -m unittest discover tests/downloaders/
python -m unittest discover tests/interpolation/
python -m unittest discover tests/wrappers/
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,14 @@ instance/

# Sphinx documentation
docs/_build/
docs/logs/
docs/jupyter_execute/
docs/*.pkl

# MkDocs documentation (production)
site/
mkdocs.yml
mk-docs/

# PyCharm
.idea/
Expand Down
Loading