Skip to content

Commit 03d6676

Browse files
Removing lonlatdepth type from particleset.py
1 parent f9ecba8 commit 03d6676

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

parcels/_core/particleset.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ class ParticleSet:
4545
Optional list of initial time values for particles. Default is fieldset.U.grid.time[0]
4646
repeatdt : datetime.timedelta or float, optional
4747
Optional interval on which to repeat the release of the ParticleSet. Either timedelta object, or float in seconds.
48-
lonlatz_dtype :
49-
Floating precision for lon, lat, z particle coordinates.
50-
It is either np.float32 or np.float64. Default is np.float32 if fieldset.U.interp_method is 'linear'
51-
and np.float64 if the interpolation method is 'cgrid_velocity'
5248
trajectory_ids :
5349
Optional list of "trajectory" values (integers) for the particle IDs
5450
partition_function :
@@ -182,13 +178,6 @@ def __setattr__(self, name, value):
182178
else:
183179
object.__setattr__(self, name, value)
184180

185-
@staticmethod
186-
def lonlatz_dtype_from_field_interp_method(field):
187-
# TODO update this when now interp methods are implemented
188-
if field.interp_method == "cgrid_velocity":
189-
return np.float64
190-
return np.float32
191-
192181
@property
193182
def size(self):
194183
return len(self)

0 commit comments

Comments
 (0)