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/examples/tutorial_timestamps.ipynb
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -155,14 +155,6 @@
155
155
" )"
156
156
]
157
157
},
158
-
{
159
-
"attachments": {},
160
-
"cell_type": "markdown",
161
-
"metadata": {},
162
-
"source": [
163
-
"Note, by the way, that adding the `time_periodic` argument to `Field.from_netcdf()` will also mean that the climatology can be cycled for multiple years.\n"
Copy file name to clipboardExpand all lines: docs/v4/TODO.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,5 @@ List of tasks that are important to do before the release of version 4 (but can'
5
5
-[ ] Make migration guide for v3 to v4
6
6
-[ ] Just prior to release: Update conda feedstock recipe dependencies (remove cgen and compiler dependencies). Make sure that recipe is up-to-date.
7
7
-[ ] Revamp the oceanparcels.org landing page, and perhaps also consider new logo/branding?
8
+
-[ ] Look into xarray and whether users can create periodic datasets without increasing the size of the original dataset (i.e., no compromise alternative to `time_periodic` param in v3). Update docs accordingly.
9
+
-[ ] Rerun all the tutorials so that their output is in line with new v4 print statements etc
boolean whether to allow for extrapolation in time
157
156
(i.e. beyond the last available time snapshot)
158
-
time_periodic : bool, float or datetime.timedelta
159
-
To loop periodically over the time component of the Field. It is set to either False or the length of the period (either float in seconds or datetime.timedelta object).
160
-
The last value of the time series can be provided (which is the same as the initial one) or not (Default: False)
161
-
This flag overrides the allow_time_extrapolation and sets it to False
162
157
chunkdims_name_map : str, optional
163
158
Gives a name map to the FieldFileBuffer that declared a mapping between chunksize name, NetCDF dimension and Parcels dimension;
164
159
required only if currently incompatible OCM field is loaded and chunking is used by 'chunksize' (which is the default)
"allow_time_extrapolation and time_periodic cannot be used together. allow_time_extrapolation is set to False",
268
-
FieldSetWarning,
269
-
stacklevel=2,
270
-
)
271
-
self.allow_time_extrapolation=False
272
-
ifself.time_periodicisTrue:
273
-
raiseValueError(
274
-
"Unsupported time_periodic=True. time_periodic must now be either False or the length of the period (either float in seconds or datetime.timedelta object."
0 commit comments