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
Copy file name to clipboardExpand all lines: docs/configuration.md
+34-3Lines changed: 34 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ m = ptm.OpenDriftModel(drift_model="OpenOil")
225
225
226
226
This selection sets some of the configuration details and export variables that are relevant for the simulation.
227
227
228
-
228
+
(config:export_variables)=
229
229
#### Export Variables
230
230
231
231
All possible variables will be exported by default into the outfiles and available in memory (`m.o.history` and `m.o.history_metadata` or `m.o.get_property(<key>)` for `OpenDriftModel`).
@@ -236,13 +236,44 @@ The full list of possible variables to be exported is available with
236
236
m.all_export_variables()
237
237
```
238
238
239
-
To limit the variables saved in the export file, input a list of just the variables that you want to save, keeping in mind that `['lon', 'lat', 'ID', 'status']` will also be included regardless. For example:
239
+
To limit the variables saved in the export file, input a list of just the variables that you want to save, keeping in mind that `['lon', 'lat', 'ID', 'status','z']` will also be included regardless. For example:
240
240
```
241
241
m = ptm.OpenDriftModel(export_variables=[])
242
242
```
243
243
244
-
The default list of `export_variables` is set in `config_model` but is modified depending on the `drift_model` set.
244
+
The default list of `export_variables` is set in `config_model` but is modified depending on the `drift_model` set and the `export_variables` input by the user.
245
+
246
+
The export variables available for each model at time of running these docs is shown as follows.
247
+
248
+
##### OceanDrift
249
+
250
+
```{code-cell} ipython3
251
+
import particle_tracking_manager as ptm
252
+
253
+
m = ptm.OpenDriftModel(drift_model="Leeway")
254
+
m.all_export_variables()
255
+
```
256
+
257
+
##### Leeway
258
+
259
+
```{code-cell} ipython3
260
+
m = ptm.OpenDriftModel(drift_model="Leeway")
261
+
m.all_export_variables()
262
+
```
263
+
264
+
##### LarvalFish
265
+
266
+
```{code-cell} ipython3
267
+
m = ptm.OpenDriftModel(drift_model="LarvalFish", do3D=True)
0 commit comments