Skip to content

Commit dc187b9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f76b96a commit dc187b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/getting_started/tutorial_quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ velocity = ds_in.isel(time=0, depth=0).plot.quiver(x="longitude", y="latitude",
4747

4848
## Input virtual particles: `ParticleSet`
4949

50-
Now that we have created a `parcels.FieldSet` object from the hydrodynamic data, we need to provide our second input: the virtual particles for which we will calculate the trajectories.
50+
Now that we have created a `parcels.FieldSet` object from the hydrodynamic data, we need to provide our second input: the virtual particles for which we will calculate the trajectories.
5151

5252
We need to create a `parcels.ParticleSet` object with the particles' initial time and position. The `parcels.ParticleSet` object also needs to know about the `FieldSet` in which the particles "live". Finally, we need to specify the type of `parcels.Particle` we want to use. The default particles have `time`, `lon`, `lat`, and `z`, but you can easily add other `Variables` such as size, temperature, or age to create your own particles to mimic plastic or an [ARGO float](../user_guide/examples/tutorial_Argofloats.ipynb).
5353

5454
```{code-cell}
5555
# Particle locations and initial time
5656
npart = 10 # number of particles to be released
5757
# release particles in a line along a meridian
58-
lat = np.linspace(-32.5, -30.5, npart)
58+
lat = np.linspace(-32.5, -30.5, npart)
5959
lon = np.repeat(32, npart)
6060
time = np.repeat(ds_in.time.values[0], npart) # at initial time of input data
6161
z = np.repeat(ds_in.depth.values[0], npart) # at the first depth (surface)
@@ -124,7 +124,7 @@ ds_out = xr.open_zarr("Output.zarr")
124124
ds_out
125125
```
126126

127-
The 10 particle trajectories are stored along the `trajectory` dimension, and each trajectory contains 25 observations (initial values + 24 hourly timesteps) along the `obs` dimension. The [working with Parcels output tutorial](./tutorial_output.ipynb) provides more detail about the dataset and how to analyse it.
127+
The 10 particle trajectories are stored along the `trajectory` dimension, and each trajectory contains 25 observations (initial values + 24 hourly timesteps) along the `obs` dimension. The [working with Parcels output tutorial](./tutorial_output.ipynb) provides more detail about the dataset and how to analyse it.
128128

129129
Let's verify that Parcels has computed the advection of the virtual particles!
130130

0 commit comments

Comments
 (0)