Skip to content

deploy v0.4 - #5

Merged
manlaya merged 48 commits into
cifrom
dev
May 26, 2026
Merged

manlaya merged 48 commits into
cifrom
dev

Conversation

@manlaya

@manlaya manlaya commented May 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

Shuaitao Wang and others added 30 commits December 10, 2025 11:24
Calc dir drainage rebase

See merge request brgm/codes-hydrogeologiques/others/gridmarthe!2
river network

See merge request brgm/codes-hydrogeologiques/others/gridmarthe!3
- bad file path in one test from previous commit: reverted
- change paths for river network
- add back modifs in conventions lost in rebase

Co-authored-by: Shuaitao Wang <s.wang@brgm.fr>
add/fix: read grids with bad metadata without cleanmgrid

See merge request brgm/codes-hydrogeologiques/others/gridmarthe!4
- change the default behavious of get_active_mask, to return an array of cell
  ids that can be used as a mask, or optionnally the filtered array. See #13
  Old behaviour can still be obtained with options.
- expose func to parse dims from attrs for users.
manlaya and others added 18 commits March 23, 2026 10:09
…ttern in get_dims_from_attrs in _parse_gridmarthe module
Fix tests suite issues due to incorrect import and wrong pattern

See merge request brgm/hydrogeological-modelling/marthe-tools/gridmarthe!5
Fix: read_rma regex for multi-line support

See merge request brgm/hydrogeological-modelling/marthe-tools/gridmarthe!6
…ames (#17)

When a .rma file is passed as a bare filename (e.g. 'myproject.rma'),
os.path.dirname() returns an empty string, causing incorrect path resolution
in the .layer file lookup. This fix uses os.path.abspath() to normalize the
path before extracting the directory, and replaces string formatting with
os.path.join() for robustness.

Also adds a regression test that verifies read_files_from_rma works correctly
when called with a bare filename from a temporary directory.

Assisted by Claude Code
Fix FileNotFoundError in read_files_from_rma with relative paths

See merge request brgm/hydrogeological-modelling/marthe-tools/gridmarthe!8
this change fix compatibility between standard name
`missing_value` in variable attrs and automatically
added `_FillValue` from xarray.to_netcdf.

Close #16
@manlaya
manlaya merged commit 8ec3e80 into ci May 26, 2026
6 checks passed

This branch was successfully deployed

1 active and 1 inactive deployments
pypi — becb9f12 Deployed May 26, 2026 by manlaya via Publish to PyPI #52
testpypi — becb9f12 Deployed May 26, 2026 by manlaya via Publish to TestPyPI #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants