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: parcels/examples/documentation_indexing.ipynb
+16-17Lines changed: 16 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,11 @@
65
65
{
66
66
"cell_type": "code",
67
67
"execution_count": 2,
68
-
"metadata": {},
68
+
"metadata": {
69
+
"tags": [
70
+
"raises-exception"
71
+
]
72
+
},
69
73
"outputs": [
70
74
{
71
75
"ename": "ValueError",
@@ -123,19 +127,7 @@
123
127
"cell_type": "code",
124
128
"execution_count": 4,
125
129
"metadata": {},
126
-
"outputs": [
127
-
{
128
-
"name": "stderr",
129
-
"output_type": "stream",
130
-
"text": [
131
-
"WARNING: File NemoNorthSeaORCA025-N006_data/coordinates.nc could not be decoded properly by xarray (version 0.15.1).\n",
132
-
" It will be opened with no decoding. Filling values might be wrongly parsed.\n",
133
-
"WARNING: Casting lon data to np.float32\n",
134
-
"WARNING: Casting lat data to np.float32\n",
135
-
"WARNING: Trying to initialize a shared grid with different chunking sizes - action prohibited. Replacing requested field_chunksize with grid's master chunksize.\n"
"Note by the way, that we used `netcdf_decodewarning=False` in the `FieldSet.from_nemo()` call above. This is to silence an expected warning because the time dimension in the `coordinates.nc` file can't be decoded by `xarray`."
Copy file name to clipboardExpand all lines: parcels/examples/documentation_unstuck_Agrid.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
"cell_type": "markdown",
12
12
"metadata": {},
13
13
"source": [
14
-
"In [another notebook](https://ndViewer.jupyter.org/github/OceanParcels/parcels/blob/master/parcels/examples/documentation_stuck_particles.ipynb), we have shown how particles may end up getting stuck on land, especially in A gridded velocity fields. Here we show how you can work around this problem and how large the effects of the solutions on the trajectories are.\n",
14
+
"In [another notebook](https://nbviewer.jupyter.org/github/OceanParcels/parcels/blob/master/parcels/examples/documentation_stuck_particles.ipynb), we have shown how particles may end up getting stuck on land, especially in A gridded velocity fields. Here we show how you can work around this problem and how large the effects of the solutions on the trajectories are.\n",
15
15
"\n",
16
16
"Common solutions are:\n",
17
17
"1. [Delete the particles](#1.-Particle-deletion)\n",
@@ -28,7 +28,7 @@
28
28
"1. Flag particles within a specific distance to the shore\n",
29
29
"2. Flag particles in any gridcell that has a shore edge\n",
30
30
"\n",
31
-
"As argued in the [previous notebook](https://ndViewer.jupyter.org/github/OceanParcels/parcels/blob/master/parcels/examples/documentation_stuck_particles.ipynb), it is important to accurately plot the grid discretization, in order to understand the motion of particles near the boundary. The velocity fields can best be depicted using points or arrows that define the velocity at a single position. Four of these nodes then form gridcells that can be shown using tiles, for example with `matplotlib.pyplot.pcolormesh`."
31
+
"As argued in the [previous notebook](https://nbviewer.jupyter.org/github/OceanParcels/parcels/blob/master/parcels/examples/documentation_stuck_particles.ipynb), it is important to accurately plot the grid discretization, in order to understand the motion of particles near the boundary. The velocity fields can best be depicted using points or arrows that define the velocity at a single position. Four of these nodes then form gridcells that can be shown using tiles, for example with `matplotlib.pyplot.pcolormesh`."
0 commit comments