You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on github.com and signed with GitHub’s verified signature.
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.
Class names 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 an NML file.
NMLReader converts an 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.