-
Notifications
You must be signed in to change notification settings - Fork 327
/
__init__.py
67 lines (61 loc) · 1.61 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#! /usr/bin/env python
"""The Landlab.
:Package name: TheLandlab
:Release date: 2018-09-18
:Authors: Greg Tucker, Nicole Gasparini, Erkan Istanbulluoglu, Daniel Hobley,
Sai Nudurupati, Jordan Adams, Eric Hutton, Katherine Barnhart, Margaux
Mouchene, Nathon Lyons
:URL: https://landlab.readthedocs.io/en/release/
:License: MIT
"""
import pkg_resources
from numpy import set_printoptions
from ._registry import registry
from .core.errors import MissingKeyError, ParameterValueError
from .core.model_component import Component
from .core.model_parameter_loader import load_params
from .core.utils import ExampleData
from .field import FieldError
from .grid import (
HexModelGrid,
ModelGrid,
NetworkModelGrid,
RadialModelGrid,
RasterModelGrid,
VoronoiDelaunayGrid,
create_grid,
)
from .grid.linkstatus import LinkStatus
from .grid.nodestatus import NodeStatus
from .plot import imshow_grid, imshow_grid_at_node, imshowhs_grid, imshowhs_grid_at_node
try:
set_printoptions(legacy="1.13")
except TypeError:
pass
finally:
del set_printoptions
cite_as = registry.format_citations
__version__ = pkg_resources.get_distribution("landlab").version
__all__ = [
"registry",
"MissingKeyError",
"ParameterValueError",
"Component",
"FieldError",
"load_params",
"ExampleData",
"ModelGrid",
"HexModelGrid",
"RadialModelGrid",
"RasterModelGrid",
"VoronoiDelaunayGrid",
"NetworkModelGrid",
"LinkStatus",
"NodeStatus",
"create_grid",
"imshow_grid",
"imshow_grid_at_node",
"imshowhs_grid",
"imshowhs_grid_at_node",
]
del pkg_resources