Modflowapi

Latest version: v0.2.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

What's Changed

Support for [MODFLOW 6.4.3](https://github.com/MODFLOW-USGS/modflow6/releases/tag/6.4.3) as well as refactoring, fixes and enhancements

* [refactor(rhs, hcof)](https://github.com/MODFLOW-USGS/modflowapi/commit/c0f681c5b7525388ead4df8c6363c1b4514d6de6): Updates to allow setting values when rhs and hcof have not yet had pointers set.. Committed by Joshua Larsen on 2023-04-28.
* [refactor(Quickstart.ipynb)](https://github.com/MODFLOW-USGS/modflowapi/commit/3b6675aa687f5af01813abfdb143c7ddd4343646): Fix error in callback_function. Committed by Joshua Larsen on 2023-07-17.
* [refactor(rhs, hcof)](https://github.com/MODFLOW-USGS/modflowapi/commit/ce4e50286d66da51c6b05f0de29c7c646344f6ce): Allow setting rhs and hcof when pointers have not been previously set. Committed by Joshua Larsen on 2023-07-17.
* [refactor](https://github.com/MODFLOW-USGS/modflowapi/commit/e693282611d5863bafeece362230a4aadd02311f): Update libmf6 path handling (#27). Committed by w-bonelli on 2023-08-03.
* [refactor(_ptr_to_recarray)](https://github.com/MODFLOW-USGS/modflowapi/commit/5a631592f2da57bf1564c263e9602c46e5a5a50c): Slice pointers prior to setting data to recarray. Committed by Joshua Larsen on 2023-08-08.
* [refactor(_ptr_to_recarray)](https://github.com/MODFLOW-USGS/modflowapi/commit/959fe31abda263a52d01262af7dc4c2a878eadb5): Slice pointers prior to setting data to recarray. Committed by Joshua Larsen on 2023-08-08.
* [refactor(extensions)](https://github.com/MODFLOW-USGS/modflowapi/commit/c97339d06e7386055e486f6354825ec15cea4638): Add support for IDM changes. Committed by Joshua Larsen on 2023-12-21.
* [refactor(extensions)](https://github.com/MODFLOW-USGS/modflowapi/commit/de0aff9c21d5d925235f306fd2b3d148c3281efa): Add support for IDM changes. Committed by Joshua Larsen on 2023-12-21.

**Full Changelog**: https://github.com/MODFLOW-USGS/modflowapi/compare/0.0.1...0.2.0

0.1.0

What's Changed
* feat(modflowapi): base files for modflowapi package by jdhughes-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/1
* Initial develop branch by jdhughes-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/2
* Fix typo in README by Hofer-Julian in https://github.com/MODFLOW-USGS/modflowapi/pull/4
* modflowapi interface by jlarsen-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/8
* fix(get value): fixed error handling when modflowapi fails to get a pointer to a value from the API by spaulins-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/9
* update(rhs, hcof, AdvancedInput): bug fixes for advanced variables by jlarsen-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/10
* refactor(EOL): change CRLF to LF line endings for source files by mwtoews in https://github.com/MODFLOW-USGS/modflowapi/pull/12
* Use pyproject.toml for project metadata, add citation info by mwtoews in https://github.com/MODFLOW-USGS/modflowapi/pull/11
* add(test_rhs_hcof_advanced): add additional test by jlarsen-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/13
* Add missing RIV support to modflowapi by jlarsen-usgs in https://github.com/MODFLOW-USGS/modflowapi/pull/16

New Contributors
* Hofer-Julian made their first contribution in https://github.com/MODFLOW-USGS/modflowapi/pull/4
* spaulins-usgs made their first contribution in https://github.com/MODFLOW-USGS/modflowapi/pull/9

**Full Changelog**: https://github.com/MODFLOW-USGS/modflowapi/commits/0.1.0

**Detailed Changes**:

* update package: manual variable address assembly updated to use xmipy get_variable_addr()
* update additional manual variable address assembly statements
* Refactor code and added functionality:
* add stress_period_start, stress_period_end Callbacks
* fix ApiModel __repr__
* added Exchanges, TDIS, ATS, and SLN support
* added ScalarInput and ScalarPackage support
* update autotests
* added parallel testing support through pytest-xdist
* updated markers and split the extensions tests from the mf6 examples tests
* added a test for ATS
* update setup.cfg
* update ci.yml
* update(ListInput): add auxvar to stress_period_data when auxiliary variables are used
* Allow None to be passed to stress_period_data.values to disable stresses for a package
* updates: ApiModel, ApiSimulation, run_simulation
* added a `totim` property on `ApiSimulation` and `ApiModel`
* added docstrings to ApiModel property methods
* updated termination message in run_simulation
* added a finalize callback to Callbacks and run_simulation
* add support for AUXNAME_CST
* add(Head Monitor Example): Add a head monitor example application
* ApiModel: adjust X based on nodetouser
* ApiPackage: enforce lower cased variable names in get_advanced_var
* ArrayPointer: trap for arrays that are not adjusted by reduced node numbers (ex. idomain)
* update setup.cfg
* try reformatting the xmipy installation instructions
* update(rhs, hcof, AdvancedInput): bug fixes for setting variable values for advanced inputs
* update rhs and hcof to copy values to pointer instead of overwriting the pointer
* add a check for AdvancedInput variables that do not have pointer support in xmipy
* update setting routine for AdvancedInput
* added test for getting and setting rhs, hcof, and advanced variable values
* update project to use unix line separators
* use np.testing.assert_allclose() instead of AssertionError
* add(test_rhs_hcof_advanced): add additional test
* added test for getting and setting rhs, hcof, and advanced variable values
* update project to use unix line separators
* use np.testing.assert_allclose() instead of AssertionError
* Add missing riv package to modflowapi

0.0.1

Initial release

esmdatasets
Datasets for :

Joseph D. Hughes, Martijn J. Russcher, Christian D. Langevin, Eric D. Morway, Richard R. McDonald, 2021, The MODFLOW Application Programming Interface for simulation control and software interoperability, Environmental Modelling & Software, DOI: https://doi.org/10.1016/j.envsoft.2021.105257.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.