Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
3902321
Update ModelTimeSeries repr and change modeldata return type to list
vergauwenthomas Sep 29, 2025
45dbb76
Gap filling fix (#589)
ADRIE-A3 Sep 30, 2025
2f4b0ef
Fix filter to modeldata bug (#592)
vergauwenthomas Oct 1, 2025
549e95b
fix the xr engine problem when saving as netcdf
vergauwenthomas Oct 1, 2025
0f3a917
simple pd plot functionality (#595)
vergauwenthomas Oct 2, 2025
235bb8e
check for duplicates in loghandlers before adding
vergauwenthomas Oct 10, 2025
a04fe5e
Distance matric uses BallTree with haversine (for scaling)
vergauwenthomas Oct 10, 2025
3a1a358
debug version bump
vergauwenthomas Oct 10, 2025
45eb287
Add min_value and max_value parameters to gap-filling methods to prev…
Copilot Oct 17, 2025
6fa3e60
Geemap fix (#601)
vergauwenthomas Oct 20, 2025
b6b630b
add clipping in docstring schematic description
vergauwenthomas Oct 20, 2025
878f09c
Update src/metobs_toolkit/sensordata.py
vergauwenthomas Oct 20, 2025
f5aaffc
Update tests/test_gf.py
vergauwenthomas Oct 20, 2025
246fd52
Update tests/test_plotting.py
vergauwenthomas Oct 20, 2025
aa578e1
fixes for codereview
vergauwenthomas Oct 20, 2025
d28d81a
Merge branch 'dev' of github.com:vergauwenthomas/MetObs_toolkit into dev
vergauwenthomas Oct 20, 2025
5610861
black edit
vergauwenthomas Oct 20, 2025
198d69e
version bump
vergauwenthomas Oct 20, 2025
c5595c3
trigger WF
vergauwenthomas Oct 20, 2025
dc79e1f
remove all references to max_consec_fill
vergauwenthomas Oct 20, 2025
d71e44c
Priority groups (#602)
vergauwenthomas Nov 18, 2025
058ce49
Buddy check with multiple safetynets (#603)
vergauwenthomas Dec 8, 2025
658d103
Argument name and format consistency (#606)
vergauwenthomas Dec 15, 2025
502f741
code review fixes
vergauwenthomas Dec 15, 2025
fefa405
introduce a seperate module for datetime transformations
vergauwenthomas Dec 15, 2025
cdf1b1b
Merge branch 'master' into dev
vergauwenthomas Dec 15, 2025
b0d940b
fix and add log tests
vergauwenthomas Dec 15, 2025
43e9f1d
Imported classes for typehinting are now imported via TYPE_CHECKING
vergauwenthomas Dec 15, 2025
671e661
remove info file
vergauwenthomas Dec 15, 2025
bc93d96
add debug logging for CRS conversion failure in _validate_metadf
vergauwenthomas Dec 15, 2025
4504d49
refactor error handling to raise custom exceptions instead of using s…
vergauwenthomas Dec 15, 2025
0a790ee
refactor error handling to raise KeyError for unmapped labels instead…
vergauwenthomas Dec 15, 2025
3eef1dc
refactor: update timezone handling to use TYPE_CHECKING imports and i…
vergauwenthomas Dec 15, 2025
5c9a27c
refactor: improve outlier message formatting and enhance template fil…
vergauwenthomas Dec 16, 2025
46c298b
refactor: update SensorData type hints to remove type ignore comments
vergauwenthomas Dec 16, 2025
1c0acc4
refactor: format error message for empty timeseries in GEEDynamicData…
vergauwenthomas Dec 16, 2025
5cd034d
refactor: clean up imports and improve timezone error handling in Sen…
vergauwenthomas Dec 16, 2025
2db6e91
docs: add version compatibility section and deprecation warning guida…
vergauwenthomas Dec 16, 2025
85174ef
refactor: update return value for known observation type check in Ana…
vergauwenthomas Dec 16, 2025
82de835
refactor: standardize max_gap_duration_to_fill initialization in Data…
vergauwenthomas Dec 16, 2025
3a89852
refactor: standardize return values to None for gap handling methods …
vergauwenthomas Dec 16, 2025
3ed7977
code refactoring
vergauwenthomas Dec 16, 2025
77e3c45
add future import
vergauwenthomas Dec 16, 2025
17b4db4
Configclass (#607)
vergauwenthomas Dec 18, 2025
f63d012
version and dev status bump
vergauwenthomas Dec 18, 2025
d10ecbc
drop info file
vergauwenthomas Dec 18, 2025
25d4202
running notebooks in current version
vergauwenthomas Dec 18, 2025
224b1ea
figure default settings in Settings class (#608)
vergauwenthomas Dec 19, 2025
ce53d4f
better description on the use of the Settings class
vergauwenthomas Dec 19, 2025
a16475f
increase the default size of scatters in plots + add plottest with ou…
vergauwenthomas Dec 19, 2025
fd4fe45
better description of Settings
vergauwenthomas Dec 19, 2025
874a4df
use underscore for non-publick methods in Settings
vergauwenthomas Dec 19, 2025
b6ab862
black edits
vergauwenthomas Dec 19, 2025
3657778
testfix
vergauwenthomas Dec 19, 2025
63d0d42
include pyarrow 22.x.x
vergauwenthomas Jan 5, 2026
5752e6b
duplicate timestamp in sperate module
vergauwenthomas Jan 13, 2026
647454d
invalid check in seperate module
vergauwenthomas Jan 13, 2026
593d8aa
regular checks now use the QCresult class per sensor
vergauwenthomas Jan 13, 2026
fff8212
Refactor the buddy check over multiple modules and catch logs using a…
vergauwenthomas Jan 13, 2026
9ad1dbc
Future proof test pipeline (#610)
vergauwenthomas Jan 20, 2026
c60bd5d
Merge branch 'dev' into detailed_outlier_flags
vergauwenthomas Jan 20, 2026
aa94f0c
minor version bump
vergauwenthomas Jan 20, 2026
7a830b4
fix qc_stats
vergauwenthomas Jan 20, 2026
a6ed7ee
labels defined in settings
vergauwenthomas Jan 20, 2026
6a9f5c1
bugfix when empyt outliers
vergauwenthomas Jan 20, 2026
e512a3c
fix test
vergauwenthomas Jan 20, 2026
c7263c0
fix issue on get_qc_stats with empty outliersdf
vergauwenthomas Jan 21, 2026
b271f49
bugfix for unmet condition error
vergauwenthomas Jan 21, 2026
2d55b16
colorbugfix
vergauwenthomas Jan 21, 2026
3b0d081
bugfix when no whitelist is used
vergauwenthomas Jan 21, 2026
4208e30
drop unused method
vergauwenthomas Jan 21, 2026
0975bed
drop unused variable
vergauwenthomas Jan 21, 2026
b0a0215
add get_qc in test, for sanity checking
vergauwenthomas Jan 21, 2026
bec3082
add test with buddy and mf=true
vergauwenthomas Jan 26, 2026
99d5be8
fix the processing of safetynet details + creation of a final deatail…
vergauwenthomas Jan 26, 2026
2324db4
rename min_sample_spread and use the z_robust bool arg + robust z score
vergauwenthomas Jan 26, 2026
0ab00ac
implement the MP version of buddy check
vergauwenthomas Jan 27, 2026
e69c1c4
fix the number of cpus by settings for MP qc checks
vergauwenthomas Jan 27, 2026
aac7c2e
min_std deprecation warning
vergauwenthomas Jan 27, 2026
c86471e
update some tests
vergauwenthomas Jan 28, 2026
2a297b1
fix and add a buddy test
vergauwenthomas Jan 28, 2026
072fc8c
buddy check test solutions
vergauwenthomas Jan 28, 2026
71b5328
without storing values in qcresult
vergauwenthomas Jan 28, 2026
7fd2e1e
rename update
vergauwenthomas Jan 28, 2026
a11bc92
qc_overview_df for sensordata
vergauwenthomas Jan 28, 2026
a2a946b
qc_overview_df for station and dataset level
vergauwenthomas Jan 28, 2026
610dd9d
choose to use basic or detailed labels for outliersdf
vergauwenthomas Jan 28, 2026
cf96677
bugfix when saftynet is triggerd in previous iteration, but not in cu…
vergauwenthomas Jan 28, 2026
17be95b
put the qc detail df constructors in a seperate module
vergauwenthomas Jan 29, 2026
f5c19fa
qc overview construction in seperate module
vergauwenthomas Jan 29, 2026
06f5d29
from buddywrapstation to buddywrapsensor
vergauwenthomas Jan 29, 2026
651688f
drop the MP executor locals from the qcresult so make it serializable…
vergauwenthomas Jan 29, 2026
5bca2ee
replace index for details by using the flags index
vergauwenthomas Jan 30, 2026
bda96af
add some logs
vergauwenthomas Jan 30, 2026
b8771bf
minor version bump
vergauwenthomas Jan 30, 2026
07e6f7c
log full wrapstation on error (debugging)
vergauwenthomas Feb 2, 2026
c525201
Potential bug fixes
vergauwenthomas Feb 2, 2026
01adb96
improve memory and load distribution for multiprocessing
vergauwenthomas Feb 2, 2026
1396f52
minor version bump
vergauwenthomas Feb 2, 2026
fb756c7
add a todo
vergauwenthomas Feb 3, 2026
5385cd4
drop debug lines
vergauwenthomas Feb 3, 2026
a870ffd
bugfix, return checksettings
vergauwenthomas Feb 3, 2026
456a248
minor version bump
vergauwenthomas Feb 3, 2026
6e3b8d4
hardcode the checksettings, there was a memory leak and unwanted data…
vergauwenthomas Feb 4, 2026
17c8a36
fix memory leak issue and to mutch info in qcchecksettings with locals()
vergauwenthomas Feb 4, 2026
fc828a2
remove complex joining functions since parallelization is per station
vergauwenthomas Feb 5, 2026
851452b
debug version bump
vergauwenthomas Feb 5, 2026
0d26d6c
add the max N buddies functionallity+ minor version bump
vergauwenthomas Feb 6, 2026
bea4623
details bugfix
vergauwenthomas Feb 9, 2026
c6b1e73
DEBUG, return wrapsensors for analysis
vergauwenthomas Feb 9, 2026
c6a6db5
debug version bump
vergauwenthomas Feb 9, 2026
a708338
bump because of invalid version format
vergauwenthomas Feb 9, 2026
517ed84
add only_if_previous_had_no_buddies functionallity for buddy saftynets
vergauwenthomas Feb 10, 2026
55596de
implement the minimum buddy radius functionallity
vergauwenthomas Feb 11, 2026
c1b3732
fix the ee bug
vergauwenthomas Mar 16, 2026
fdfcd1f
Sync the dependencies with master
vergauwenthomas Mar 16, 2026
dde9419
put qc checks in seperate folder
vergauwenthomas Mar 16, 2026
e9afa1a
docstrings
vergauwenthomas Mar 16, 2026
0235a99
get rid of unused force argument
vergauwenthomas Mar 16, 2026
5fd4ca1
rename all references to buddywrappedstation to buddywrapedsensor
vergauwenthomas Mar 16, 2026
a61f05b
add some small qc tests on edge cases and the outliersdetailsdf
vergauwenthomas Mar 16, 2026
a9699b3
fix minor code review remarks
vergauwenthomas Mar 16, 2026
02e7e53
drop unused ci pipeline
vergauwenthomas Mar 16, 2026
7266ac8
fix issue of remapping timestamps of outliers and duplicated records
vergauwenthomas Mar 17, 2026
33e19d7
simple code format fixes
vergauwenthomas Mar 17, 2026
c2af916
update docstrings
vergauwenthomas Mar 18, 2026
833d00c
updating outliers now can take the same check into account (qc chaining)
vergauwenthomas Mar 18, 2026
cbc2eaf
seperate (buddy check tests) and extra test + a new dataset for buddy…
vergauwenthomas Mar 18, 2026
79b40c1
add distancematrix to as method to Dataset
vergauwenthomas Mar 18, 2026
771c3b5
update docstring
vergauwenthomas Mar 19, 2026
20680c2
fix example
vergauwenthomas Mar 19, 2026
2188d35
fix and extend the qc example
vergauwenthomas Mar 19, 2026
96e2592
bugfix in the QCresult to string formatting
vergauwenthomas Mar 19, 2026
79ad693
fix filling example
vergauwenthomas Mar 19, 2026
0393b89
version bump
vergauwenthomas Mar 19, 2026
f5d0b5a
fix examples
vergauwenthomas Mar 19, 2026
8c0553c
black edits
vergauwenthomas Mar 19, 2026
6ed24d5
include details in the solution
vergauwenthomas Mar 19, 2026
dfc27c6
remove warning in docstring
vergauwenthomas Mar 19, 2026
bc60169
fix the raised warning
vergauwenthomas Mar 19, 2026
25c3c72
cleanup docstring
vergauwenthomas Mar 19, 2026
3a7b1af
cleanup docstrings
vergauwenthomas Mar 19, 2026
4b83132
cleanup docstrings
vergauwenthomas Mar 19, 2026
1662a48
replace pd.concat to save_concat
vergauwenthomas Mar 19, 2026
711a550
Merge branch 'dev' into detailed_outlier_flags
vergauwenthomas Mar 19, 2026
8653f74
Bugfix in syncronization of timeseries in buddy check
vergauwenthomas Mar 23, 2026
707f51c
minor code review fixes
vergauwenthomas Mar 23, 2026
d808e05
add sanity checks (in __main__ protectors) to testing framework (CI/C…
vergauwenthomas Mar 23, 2026
8bb24f5
convert sanity checks to series of assert checks
vergauwenthomas Mar 23, 2026
2877d73
update docstrings
vergauwenthomas Mar 23, 2026
ed5fba2
explicit add scikit-learn (for balltree method)
vergauwenthomas Mar 23, 2026
84323d1
black edits
vergauwenthomas Mar 23, 2026
3745133
excluse the metobs package when pip audit in CI/CD pipeline
vergauwenthomas Mar 23, 2026
8da21c7
fix black vulnerability (CVE-2026-32274)
vergauwenthomas Mar 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/dependency-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: poetry run python -m pip install pip-audit

- name: Vulnerability audit
run: poetry run pip-audit
run: poetry run pip-audit --skip-editable

- name: Geemap folium import guard
run: |
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/draft-pdf.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ jobs:
strategy:
matrix:
test_file:
- tests/test_module_sanity.py
- tests/test_qc.py
- tests/test_obstypes.py
- tests/test_gf.py
Expand Down
38 changes: 25 additions & 13 deletions deployment/develop_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ poetry update
poetry show
poetry build
#poetry install --all-extras --no-root
poetry install --all-extras
poetry install --all-extras --no-cache
echo ""


Expand Down Expand Up @@ -75,24 +75,36 @@ BLACK_LOG=${DEPLOY_DIR}/black_log.log
rm -f ${BLACK_LOG} #clean start
touch ${BLACK_LOG}
cd $REPODIR
poetry run black . 2>&1 | tee -a ${BLACK_LOG}
poetry run black src/metobs_toolkit 2>&1 | tee -a ${BLACK_LOG}
# poetry run black . 2>&1 | tee -a ${BLACK_LOG}
echo ""


#3. Run tests
#3. Run module sanity checks (embedded __main__ tests)
echo "========================================="
echo "Step 3: Running test suite..."
echo "Step 3: Running module sanity checks..."
echo "========================================="
SANITY_LOG=${DEPLOY_DIR}/pytest_sanity_log.log
rm -f ${SANITY_LOG} #clean start
touch ${SANITY_LOG}
cd ${REPODIR} #Run from repo root
poetry run pytest tests/test_module_sanity.py -v 2>&1 | tee -a ${SANITY_LOG}
echo ""

#4. Run tests
echo "========================================="
echo "Step 4: Running test suite..."
echo "========================================="
TEST_LOG=${DEPLOY_DIR}/pytest_tests_log.log
rm -f ${TEST_LOG} #clean start
touch ${TEST_LOG}
cd ${REPODIR}/tests
poetry run pytest . --mpl --mpl-generate-summary=html 2>&1 | tee -a ${TEST_LOG}
cd ${REPODIR} #Run from repo root
poetry run pytest tests/. --ignore=tests/test_module_sanity.py --mpl --mpl-generate-summary=html 2>&1 | tee -a ${TEST_LOG}
echo ""

#4. Run notebook example as tests
#5. Run notebook example as tests
echo "========================================="
echo "Step 4: Running notebook examples as tests..."
echo "Step 5: Running notebook examples as tests..."
echo "========================================="
NB_LOG=${DEPLOY_DIR}/pytest_on_doc_notebooks_log.log
rm -f ${NB_LOG} #clean start
Expand All @@ -104,9 +116,9 @@ poetry run pytest . --nbval-lax 2>&1 | tee -a ${NB_LOG}
echo ""


#5. Build documentation
#6. Build documentation
echo "========================================="
echo "Step 5: Building documentation..."
echo "Step 6: Building documentation..."
echo "========================================="
DOCS_LOG=${DEPLOY_DIR}/build_doc_log.log
rm -f ${DOCS_LOG} #clean start
Expand All @@ -117,15 +129,15 @@ poetry run ./build_doc 2>&1 | tee -a ${DOCS_LOG}
echo ""


#6. Create a big log file
#7. Create a big log file
echo "========================================="
echo "Step 6: Creating combined log file..."
echo "Step 7: Creating combined log file..."
echo "========================================="
BIG_LOG=${DEPLOY_DIR}/dev_pipeline_full_log.log
rm -f ${BIG_LOG} # clean start
touch ${BIG_LOG}

cat ${BLACK_LOG} ${TEST_LOG} ${NB_LOG} ${DOCS_LOG} >> ${BIG_LOG}
cat ${BLACK_LOG} ${SANITY_LOG} ${TEST_LOG} ${NB_LOG} ${DOCS_LOG} >> ${BIG_LOG}


echo "Opening logs in default text viewer..."
Expand Down
314 changes: 182 additions & 132 deletions docs/examples/filling_example.ipynb

Large diffs are not rendered by default.

Loading
Loading