-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* nml_array * InvertedTruncatedCone * NMLReader * Modify write_nml_outflows as it write "[" in the nml file * document, test, requirements * update tests, docs, and NMLReader for #4 * NMLWriter * start NMLWriter automatic type conversion * split nml into sub-modules * update base image and fix dev dependencies * nml how-to docs * ABC for nml._BaseBlock * fix dimensions typo & repo URL * NMLWriter & NMLReader how-to * final tweaks for 0.2.0 * add regex to requirements.txt --------- Co-authored-by: cvergaras <154611098+cvergaras@users.noreply.github.com>
- Loading branch information
1 parent
a509633
commit 82dd630
Showing
20 changed files
with
6,218 additions
and
2,246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM jmad1v07/wet-glm | ||
FROM python:3.10.11 | ||
|
||
RUN apt update && apt install -y | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
authors: | ||
gknight: | ||
name: Giles Knight | ||
description: Package developer | ||
description: Developer | ||
avatar: https://avatars.githubusercontent.com/u/62376886?v=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
draft: false | ||
date: 2024-06-21 | ||
authors: | ||
- gknight | ||
categories: | ||
- Releases | ||
--- | ||
|
||
# glm-py `0.2.0` | ||
|
||
**Key changes from the latest release.** | ||
|
||
glm-py `0.2.0` reworks the `nml` module to provide more flexible tools for | ||
reading and writing NML files. | ||
|
||
<!-- more --> | ||
|
||
## What's changed | ||
|
||
- The `nml` module has been split into `nml` and `glm_nml` sub-modules. | ||
- The `glm_nml` sub-module provides high-level NML tools and implements all the | ||
existing classes from the `nml` module in `0.1.3`. | ||
- Classes from `0.1.3` are automatically imported using | ||
`from glmpy import nml` to maintain backwards compatibility until `1.0.0`. | ||
- Classnames from `0.1.3` will be deprecated by `1.0.0` in favour of a new | ||
naming convention that ensures forwards compatibility with AED. Warnings are | ||
raised to encourage you to migrate to the new class names. | ||
- The new `nml` sub-module provides low-level tools for reading and writing any | ||
NML file (GLM or AED). | ||
- `NMLWriter` converts a nested Python dictionary to a NML file. | ||
- `NMLReader` converts a NML file to a nested Python dictionary. | ||
- Both classes provide functionality to explicitly control how each parameter | ||
is read/written to file. | ||
- `InvertedTruncatedCone` class added to the `dimensions` module to calculate | ||
morphometry parameters for simple circular water bodies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.