<s>
OceanParcels	B-Library
,	O
“	O
Probably	O
A	O
Really	O
Computationally	O
Efficient	O
Lagrangian	O
Simulator	O
”	O
,	O
is	O
a	O
set	O
of	O
python	B-Language
classes	O
and	O
methods	O
that	O
is	O
used	O
to	O
track	O
particles	O
like	O
water	O
,	O
plankton	O
and	O
plastics	O
.	O
</s>
<s>
It	O
uses	O
the	O
output	O
of	O
Ocean	O
General	O
Circulation	O
Models	O
(	O
OGCM	B-Application
's	O
)	O
.	O
</s>
<s>
OceanParcels	B-Library
main	O
goal	O
is	O
to	O
process	O
the	O
increasingly	O
large	O
amounts	O
of	O
data	O
that	O
is	O
governed	O
by	O
OGCM	B-Application
's	O
.	O
</s>
<s>
OceanParcels	B-Library
is	O
dependent	O
on	O
two	O
principles	O
,	O
namely	O
the	O
ability	O
to	O
read	O
external	O
data	O
sets	O
from	O
different	O
formats	O
and	O
customizable	O
kernels	O
to	O
define	O
particle	O
dynamics	O
.	O
</s>
<s>
OceanParcels	B-Library
takes	O
a	O
flow	O
field	O
given	O
through	O
Eulerian	B-Algorithm
methods	I-Algorithm
or	O
experimental	O
data	O
(	O
e.g.	O
</s>
<s>
To	O
obtain	O
data	O
at	O
an	O
arbitrary	O
point	O
,	O
interpolation	B-Algorithm
is	O
used	O
.	O
</s>
<s>
Lagrangian	O
modelling	O
uses	O
the	O
data	O
given	O
by	O
the	O
flow	O
field	O
and	O
interpolation	B-Algorithm
to	O
simulate	O
the	O
dynamics	O
of	O
an	O
object	O
.	O
</s>
<s>
in	O
the	O
x-y-plane	O
,	O
OceanParcels	B-Library
allows	O
for	O
rectilinear	O
and	O
curvilinear	O
data	O
grids	O
(	O
see	O
Fig	O
.	O
</s>
<s>
OceanParcels	B-Library
also	O
supports	O
so-called	O
staggered	O
A	B-Application
,	I-Application
B	I-Application
and	I-Application
C	I-Application
grids	I-Application
,	O
which	O
are	O
common	O
in	O
ocean	O
modelling	O
.	O
</s>
<s>
To	O
obtain	O
field	O
data	O
at	O
a	O
point	O
that	O
is	O
not	O
on	O
a	O
grid	O
node	O
,	O
interpolation	B-Algorithm
methods	O
are	O
used	O
.	O
</s>
<s>
OceanParcels	B-Library
supports	O
several	O
different	O
such	O
methods	O
:	O
</s>
<s>
interpolation	B-Algorithm
on	O
A	O
,	O
B	O
,	O
C	O
grids	O
.	O
</s>
<s>
The	O
Lagrangian	O
trajectory	O
of	O
a	O
particle	O
can	O
be	O
calculated	O
by	O
numerically	B-Algorithm
integrating	I-Algorithm
over	O
its	O
position	O
as	O
a	O
function	O
of	O
time	O
,	O
given	O
by	O
.	O
</s>
<s>
Unless	O
otherwise	O
specified	O
,	O
OceanParcels	B-Library
uses	O
a	O
fourth-order	B-Algorithm
Runge-Kutta	I-Algorithm
scheme	I-Algorithm
for	O
the	O
integration	O
of	O
this	O
function	O
.	O
</s>
<s>
As	O
alternatives	O
,	O
OceanParcels	B-Library
supports	O
Euler-forward	B-Algorithm
integration	I-Algorithm
or	O
adaptive	B-Algorithm
Runge-Kutta-Fehlberg	I-Algorithm
integration	I-Algorithm
.	O
</s>
<s>
OceanParcels	B-Library
provides	O
the	O
option	O
to	O
model	O
individual	O
behavior	O
of	O
a	O
particle	O
.	O
</s>
<s>
OceanParcels	B-Library
implements	O
this	O
using	O
short	O
pieces	O
of	O
code	O
that	O
are	O
executed	O
whenever	O
a	O
ParticleSet	O
(	O
class	O
defining	O
the	O
particles	O
used	O
)	O
is	O
executed	O
.	O
</s>
<s>
Some	O
commonly	O
used	O
kernels	O
are	O
predefined	O
in	O
OceanParcels	B-Library
,	O
such	O
as	O
kernels	O
modeling	O
Brownian	O
motion	O
.	O
</s>
<s>
For	O
implementing	O
these	O
customized	O
kernels	O
the	O
user	O
can	O
choose	O
between	O
using	O
Python	B-Language
with	O
a	O
possibility	O
to	O
automatically	O
translate	O
to	O
C	O
or	O
using	O
a	O
C-library	O
.	O
</s>
<s>
The	O
latest	O
version	O
of	O
OceanParcels	B-Library
can	O
be	O
accessed	O
via	O
.	O
</s>
<s>
The	O
following	O
list	O
contains	O
some	O
code	O
packages	O
with	O
(	O
partially	O
)	O
similar	O
functions	O
as	O
OceanParcels	B-Library
.	O
</s>
<s>
:	O
Project	O
from	O
the	O
Norwegian	O
Meteorological	O
Institute	O
aiming	O
at	O
developing	O
open-source	O
python	B-Language
packages	O
for	O
calculating	O
drift	O
in	O
the	O
ocean	O
and	O
atmosphere	O
.	O
</s>
<s>
:	O
Fortran	B-Application
90	I-Application
code	O
calculating	O
particle	O
trajectory	O
using	O
Lagrangian	O
Ocean	O
Analysis	O
.	O
</s>
<s>
:	O
Fortran	B-Application
code	O
calculating	O
Lagrangian	O
particle	O
directories	O
in	O
the	O
ocean	O
on	O
a	O
C	O
grid	O
.	O
</s>
<s>
:	O
Open-source	O
fortran	B-Application
code	O
calculating	O
particle	O
trajectories	O
in	O
the	O
ocean	O
,	O
developed	O
by	O
the	O
University	O
of	O
Miami	O
's	O
Rosenstiel	O
School	O
of	O
Marine	O
and	O
Atmospheric	O
Science	O
.	O
</s>
