Skip to content

Commit e05b93b

Browse files
committed
remove commented out text
1 parent ab8bc1d commit e05b93b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

parcels/examples/tutorial_output.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,8 @@
270270
"y = data_xarray['lat'].values\n",
271271
"distance = np.cumsum(np.sqrt(np.square(np.diff(x))+np.square(np.diff(y))),axis=1) # d = (dx^2 + dy^2)^(1/2)\n",
272272
"\n",
273-
"real_time = data_xarray['time']/ns_per_hour\n",
274-
"time_since_release = (real_time.values.transpose() - real_time.values[:,0]) # substract the initial time from each timeseries\n",
275-
"# time_since_release = time_since_release/ns_per_hour # convert time to hours"
273+
"real_time = data_xarray['time']/ns_per_hour # convert time to hours\n",
274+
"time_since_release = (real_time.values.transpose() - real_time.values[:,0]) # substract the initial time from each timeseries"
276275
]
277276
},
278277
{
@@ -310,7 +309,9 @@
310309
"cell_type": "markdown",
311310
"metadata": {},
312311
"source": [
313-
"The two figures above show the same graph. Time is not needed to create the first figure. The time variable minus the first value of each trajectory gives the x-axis the correct units in the second figure. We can also plot the distance travelled as a function of the absolute time easily, since the `time` variable matches up with the data for each individual trajectory."
312+
"The two figures above show the same graph. Time is not needed to create the first figure. The time variable minus the first value of each trajectory gives the x-axis the correct units in the second figure. \n",
313+
"\n",
314+
"We can also plot the distance travelled as a function of the absolute time easily, since the `time` variable matches up with the data for each individual trajectory."
314315
]
315316
},
316317
{

0 commit comments

Comments
 (0)