forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
135 lines (132 loc) · 3.38 KB
/
Copy path__init__.py
File metadata and controls
135 lines (132 loc) · 3.38 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
from importlib.metadata import version as _version
from xarray import groupers, testing, tutorial
from xarray.backends.api import (
load_dataarray,
load_dataset,
open_dataarray,
open_dataset,
open_datatree,
open_groups,
open_mfdataset,
save_mfdataset,
)
from xarray.backends.zarr import open_zarr
from xarray.coding.cftime_offsets import cftime_range, date_range, date_range_like
from xarray.coding.cftimeindex import CFTimeIndex
from xarray.coding.frequencies import infer_freq
from xarray.conventions import SerializationWarning, decode_cf
from xarray.core.alignment import align, broadcast
from xarray.core.combine import combine_by_coords, combine_nested
from xarray.core.common import ALL_DIMS, full_like, ones_like, zeros_like
from xarray.core.computation import (
apply_ufunc,
corr,
cov,
cross,
dot,
polyval,
unify_chunks,
where,
)
from xarray.core.concat import concat
from xarray.core.coordinates import Coordinates
from xarray.core.dataarray import DataArray
from xarray.core.dataset import Dataset
from xarray.core.datatree import DataTree
from xarray.core.datatree_mapping import map_over_datasets
from xarray.core.extensions import (
register_dataarray_accessor,
register_dataset_accessor,
register_datatree_accessor,
)
from xarray.core.indexes import Index
from xarray.core.indexing import IndexSelResult
from xarray.core.merge import Context, MergeError, merge
from xarray.core.options import get_options, set_options
from xarray.core.parallel import map_blocks
from xarray.core.treenode import (
InvalidTreeError,
NotFoundInTreeError,
TreeIsomorphismError,
group_subtrees,
)
from xarray.core.variable import IndexVariable, Variable, as_variable
from xarray.namedarray.core import NamedArray
from xarray.util.print_versions import show_versions
try:
__version__ = _version("xarray")
except Exception:
# Local copy or not installed with setuptools.
# Disable minimum version checks on downstream libraries.
__version__ = "9999"
# A hardcoded __all__ variable is necessary to appease
# `mypy --strict` running in projects that import xarray.
__all__ = (
# Sub-packages
"groupers",
"testing",
"tutorial",
# Top-level functions
"align",
"apply_ufunc",
"as_variable",
"broadcast",
"cftime_range",
"combine_by_coords",
"combine_nested",
"concat",
"corr",
"cov",
"cross",
"date_range",
"date_range_like",
"decode_cf",
"dot",
"full_like",
"get_options",
"group_subtrees",
"infer_freq",
"load_dataarray",
"load_dataset",
"map_blocks",
"map_over_datasets",
"merge",
"ones_like",
"open_dataarray",
"open_dataset",
"open_datatree",
"open_groups",
"open_mfdataset",
"open_zarr",
"polyval",
"register_dataarray_accessor",
"register_dataset_accessor",
"register_datatree_accessor",
"save_mfdataset",
"set_options",
"show_versions",
"unify_chunks",
"where",
"zeros_like",
# Classes
"CFTimeIndex",
"Context",
"Coordinates",
"DataArray",
"Dataset",
"DataTree",
"Index",
"IndexSelResult",
"IndexVariable",
"NamedArray",
"Variable",
# Exceptions
"InvalidTreeError",
"MergeError",
"NotFoundInTreeError",
"SerializationWarning",
"TreeIsomorphismError",
# Constants
"__version__",
"ALL_DIMS",
)