@@ -279,7 +279,6 @@ def from_netcdf(
279279 filenames ,
280280 variables ,
281281 dimensions ,
282- fieldtype = None ,
283282 mesh : Mesh = "spherical" ,
284283 allow_time_extrapolation : bool | None = None ,
285284 ** kwargs ,
@@ -305,9 +304,6 @@ def from_netcdf(
305304 Note that dimensions can also be a dictionary of dictionaries if
306305 dimension names are different for each variable
307306 (e.g. dimensions['U'], dimensions['V'], etc).
308- fieldtype :
309- Optional dictionary mapping fields to fieldtypes to be used for UnitConverter.
310- (either 'U', 'V', 'Kh_zonal', 'Kh_meridional' or None) (Default value = None)
311307 mesh : str
312308 String indicating the type of mesh coordinates and
313309 units used during velocity interpolation, see also `this tutorial <../examples/tutorial_unitconverters.ipynb>`__:
@@ -353,7 +349,6 @@ def from_netcdf(
353349 # Use dimensions[var] if it's a dict of dicts
354350 dims = dimensions [var ] if var in dimensions else dimensions
355351 cls .checkvaliddimensionsdict (dims )
356- fieldtype = fieldtype [var ] if (fieldtype and var in fieldtype ) else fieldtype
357352
358353 grid = None
359354
@@ -364,7 +359,6 @@ def from_netcdf(
364359 grid = grid ,
365360 mesh = mesh ,
366361 allow_time_extrapolation = allow_time_extrapolation ,
367- fieldtype = fieldtype ,
368362 ** kwargs ,
369363 )
370364
@@ -426,9 +420,6 @@ def from_nemo(
426420 (for indexing details: https://www.nemo-ocean.eu/doc/img360.png )
427421 In 3D, the depth is the one corresponding to W nodes
428422 The gridindexingtype is set to 'nemo'. See also the Grid indexing documentation on oceanparcels.org
429- fieldtype :
430- Optional dictionary mapping fields to fieldtypes to be used for UnitConverter.
431- (either 'U', 'V', 'Kh_zonal', 'Kh_meridional' or None)
432423 mesh : str
433424 String indicating the type of mesh coordinates and
434425 units used during velocity interpolation, see also `this tutorial <../examples/tutorial_unitconverters.ipynb>`__:
@@ -635,9 +626,6 @@ def from_c_grid_dataset(
635626 which are located on the corners of the cells.
636627 (for indexing details: https://www.nemo-ocean.eu/doc/img360.png )
637628 In 3D, the depth is the one corresponding to W nodes.
638- fieldtype :
639- Optional dictionary mapping fields to fieldtypes to be used for UnitConverter.
640- (either 'U', 'V', 'Kh_zonal', 'Kh_meridional' or None)
641629 mesh : str
642630 String indicating the type of mesh coordinates and
643631 units used during velocity interpolation, see also `this tutorial <../examples/tutorial_unitconverters.ipynb>`__:
@@ -738,9 +726,6 @@ def from_mom5(
738726 Note that W is normally directed upward in MOM5, but Parcels requires W
739727 in the positive z-direction (downward) so W is multiplied by -1.
740728 T node is at the cell centre, and constant per cell.
741- fieldtype :
742- Optional dictionary mapping fields to fieldtypes to be used for UnitConverter.
743- (either 'U', 'V', 'Kh_zonal', 'Kh_meridional' or None)
744729 mesh : str
745730 String indicating the type of mesh coordinates and
746731 units used during velocity interpolation, see also the `Unit converters tutorial <../examples/tutorial_unitconverters.ipynb>`__:
@@ -841,9 +826,6 @@ def from_b_grid_dataset(
841826 W nodes are at the centre of the horizontal interfaces.
842827 They are interpolated linearly (as a function of z) in the cell.
843828 T node is at the cell centre, and constant per cell.
844- fieldtype :
845- Optional dictionary mapping fields to fieldtypes to be used for UnitConverter.
846- (either 'U', 'V', 'Kh_zonal', 'Kh_meridional' or None)
847829 mesh : str
848830 String indicating the type of mesh coordinates and
849831 units used during velocity interpolation, see also `this tutorial <../examples/tutorial_unitconverters.ipynb>`__:
@@ -908,9 +890,6 @@ def from_xarray_dataset(cls, ds, variables, dimensions, mesh="spherical", allow_
908890 Note that dimensions can also be a dictionary of dictionaries if
909891 dimension names are different for each variable
910892 (e.g. dimensions['U'], dimensions['V'], etc).
911- fieldtype :
912- Optional dictionary mapping fields to fieldtypes to be used for UnitConverter.
913- (either 'U', 'V', 'Kh_zonal', 'Kh_meridional' or None)
914893 mesh : str
915894 String indicating the type of mesh coordinates and
916895 units used during velocity interpolation, see also `this tutorial <../examples/tutorial_unitconverters.ipynb>`__:
0 commit comments