@@ -40,7 +40,7 @@ properties listed below. Proper use of this accessor should be like:
40
40
41
41
Dataset.xsimlab.clock_coords
42
42
Dataset.xsimlab.master_clock_dim
43
- Dataset.xsimlab.snapshot_vars
43
+ Dataset.xsimlab.output_vars
44
44
45
45
**Methods **
46
46
@@ -79,14 +79,17 @@ Model introspection
79
79
-------------------
80
80
81
81
``Model `` implements an immutable mapping interface where keys are
82
- process names and values are objects of ``Process `` subclasses (attribute-style
83
- access is also supported).
82
+ process names and values are objects of ``Process `` subclasses
83
+ (attribute-style access is also supported).
84
84
85
85
.. autosummary ::
86
86
:toctree: _api_generated/
87
87
88
+ Model.all_vars
89
+ Model.all_vars_dict
88
90
Model.input_vars
89
- Model.is_input
91
+ Model.input_vars_dict
92
+ Model.dependent_processes
90
93
Model.visualize
91
94
92
95
Running a model
@@ -109,126 +112,31 @@ interfaces.
109
112
Process
110
113
=======
111
114
112
- Note: ``Process `` is a base class that should be subclassed.
115
+ Creating a process
116
+ ------------------
113
117
114
118
.. autosummary ::
115
119
:toctree: _api_generated/
116
120
117
- Process
121
+ process
118
122
119
- Clone a process
120
- ---------------
121
-
122
- .. autosummary ::
123
- :toctree: _api_generated/
124
-
125
- Process.clone
126
-
127
- Process interface and introspection
123
+ Process introspection and variables
128
124
-----------------------------------
129
125
130
- ``Process `` implements an immutable mapping interface where keys are
131
- variable names and values are Variable objects (attribute-style
132
- access is also supported).
133
-
134
126
.. autosummary ::
135
127
:toctree: _api_generated/
136
128
137
- Process.variables
138
- Process.meta
139
- Process.name
140
- Process.info
141
-
142
- Process "abstract" methods
143
- --------------------------
144
-
145
- Subclasses of ``Process `` usually implement at least some of the methods below.
146
-
147
- .. autosummary ::
148
- :toctree: _api_generated/
149
-
150
- Process.validate
151
- Process.initialize
152
- Process.run_step
153
- Process.finalize_step
154
- Process.finalize
129
+ process_info
130
+ variable_info
131
+ filter_variables
155
132
156
133
Variable
157
134
========
158
135
159
- Base variable class
160
- -------------------
161
-
162
- Although it has the same name, this class is different from
163
- :py:class: `xarray.Variable `.
164
-
165
- .. autosummary ::
166
- :toctree: _api_generated/
167
-
168
- Variable
169
-
170
- **Attributes **
171
-
172
- .. autosummary ::
173
- :toctree: _api_generated/
174
-
175
- Variable.value
176
- Variable.state
177
- Variable.rate
178
- Variable.change
179
-
180
- **Methods **
181
-
182
- .. autosummary ::
183
- :toctree: _api_generated/
184
-
185
- Variable.to_xarray_variable
186
-
187
- Derived variable classes
188
- ------------------------
189
-
190
- These classes inherit from ``Variable ``.
191
-
192
- .. autosummary ::
193
- :toctree: _api_generated/
194
-
195
- NumberVariable
196
- FloatVariable
197
- IntegerVariable
198
-
199
- Foreign variable
200
- ----------------
201
-
202
- .. autosummary ::
203
- :toctree: _api_generated/
204
-
205
- ForeignVariable
206
-
207
- **Attributes **
208
-
209
- .. autosummary ::
210
- :toctree: _api_generated/
211
-
212
- ForeignVariable.ref_process
213
- ForeignVariable.ref_var
214
- ForeignVariable.value
215
- ForeignVariable.state
216
- ForeignVariable.rate
217
- ForeignVariable.change
218
-
219
- Diagnostic variable
220
- -------------------
221
-
222
- .. autosummary ::
223
- :toctree: _api_generated/
224
-
225
- diagnostic
226
-
227
- Collections of variables
228
- ------------------------
229
-
230
136
.. autosummary ::
231
137
:toctree: _api_generated/
232
138
233
- VariableList
234
- VariableGroup
139
+ variable
140
+ foreign
141
+ group
142
+ on_demand
0 commit comments