ArticleslgStudy

earth science

OceanParcels

OceanParcels is a earth science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand OceanParcels rather than just read about it. In short: OceanParcels, “Probably A Really Computationally Efficient Lagrangian Simulator”, is a set of Python classes and methods that is used to track particles like water, plankton and plastics. It uses the output of ocean general circulation model (OGCMs).

OceanParcels — main illustration
OceanParcels — illustration

Key takeaways

  • OceanParcels belongs to earth science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect OceanParcels to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of OceanParcels from memory before moving on to harder problems.

Reference excerpt

OceanParcels, “Probably A Really Computationally Efficient Lagrangian Simulator”, is a set of Python classes and methods that is used to track particles like water, plankton and plastics. It uses the output of ocean general circulation model (OGCMs). OceanParcels main goal is to process the increasingly large amounts of data that is governed by OGCM's. The flow dynamics are simulated using Lagrangian modelling (observer moves with particle) and the geophysical fluid dynamics are simulated with Eulerian modelling (observer remains stationary) or provided through experimental data. OceanParcels is dependent on two principles, namely the ability to read external data sets from different formats and customizable kernels to define particle dynamics.

Concept OceanParcels takes a flow field given through Eulerian methods or experimental data (e.g. provided through land-based measurements, satellite imagery or Doppler currents) as input. This data can be given on various grid structures. To obtain data at an arbitrary point, interpolation is used. Lagrangian modelling uses the data given by the flow field and interpolation to simulate the dynamics of an object.

Grid structure

In the horizontal plane, i.e. in the x-y-plane, OceanParcels allows for rectilinear and curvilinear data grids (see Fig. 1 a and b respectively). In the vertical plane, i.e. the x-z-plane, z-levels and s-levels are supported (see Fig. 1 c and d respectively). All four combinations of these grids are supported in three-dimensional space. OceanParcels also supports so-called staggered A, B and C grids, which are common in ocean modelling. These take into account that the different variables can be measured at different grid points. The relevant variables in ocean analysis are the meridional velocity (v), the zonal velocity (u) and the Tracers (q). In an A grid all of these are evaluated at the same grid points. In a B grid, u and v are evaluated at the grid point in the center between the grid points where T is being evaluated, that is there are two overlying grids. In a C grid all variables are evaluated on their own grid, that is there are three overlying grids. See Figure 2 for a visualization.

Interpolation methods To obtain field data at a point that is not on a grid node, interpolation methods are used. OceanParcels supports several different such methods:

linear interpolation nearest-neighbor interpolation interpolation on A, B, C grids.

Lagrangian modelling The Lagrangian trajectory of a particle can be calculated by numerically integrating over its position X as a function of time, given by X(t2)=X(t1)+∫t1t2v(x,τ)dτ+ΔXb(t1). Here t1 is the starting time and t2 is the time at which the position of the particle is evaluated. v(x,τ) is the velocity of the particle at time τ. ΔXb(t) captures the movement of the particle caused by its specific characteristics (e.g. an ice-berg moves differently in the ocean than a non-frozen water mass). Unless otherwise specified, OceanParcels uses a fourth-order Runge-Kutta scheme for the integration of this function. As alternatives, OceanParcels supports Euler-forward integration or adaptive Runge-Kutta-Fehlberg integration. OceanParcels provides the option to model individual behavior of a particle. Individual behavior is behavior that is defined by characteristics of a particle, for example icebergs melt and fish swims, leading to different dynamics. OceanParcels implements this using short pieces of code that are executed whenever a ParticleSet (class defining the particles used) is executed. Those pieces of code are called kernels. Some commonly used kernels are predefined in OceanParcels, such as kernels modeling Brownian motion. However, the user may also define problem specific kernels. This allows for modeling various objects, examples of which are given in the section "Applications". For implementing these customized kernels the user can choose between using Python with a possibility to automatically translate to C or using a C-library.

Applications Lagrangian analysis can be used to simulate the pathways of virtual particles, which can represent water masses, temperature tracers, salinity tracers, nutrient tracers, kelp, coral larvae, plastics, fish, icebergs, plankton, etc. The pathways of the different particles can be modelled using specific kernels, for example that fish can swim and that icebergs can melt.

Water masses The movement of water masses can be calculated numerically using velocity fields, which are simulated by a primitive equation model (fine resolution Antarctic model). Using this model, it can be estimated how many times the water mass has traveled around Antarctica and how much time it has spend in the Southern Ocean. It turned out that on average a water mass travels around Antarctica six times before it is reaches the surface for the first time.

Temperature tracers Surface temperatures can be analyzed using proxies, which can reconstruct environmental changes over the last 600 years. These reconstructions are based on alkenones, Membrane lipids and stable isotope ratios of globigerinoides ruber. It is argued that ocean currents are transporting these proxies far away from there origin, creating a bias towards temperature approximations.

Salinity tracers The proxies used for salinity are the ratios between elements and calcium and stable oxygen isotopes ratios of foraminifera. These isotope ratios can be calculated by the following formula: δX=x/yRsamplex/yRreference−1, where y is the common isotope and x the more rare isotope. Both ratios have a positive correlation in the Mediterranean Sea, which has a strong west to east salinity gradient. Salinity tracers are important for reconstructing the ocean circulation, because together with temperature, the density can be determined, which can reconstruct large-scale circulation patterns, including meridional overturning circulation.

Nutrient tracers The influence of the Equatorial Undercurrent (EUC), New Guinea Coastal Undercurrent (NGCU) and the New Ireland Coastal Undercurrent were examined using models to elucidate the high iron concentrations in the Pacific Ocean. During El Niño, the latter two currents strengthen, which enhances the iron concentrations in the Pacific.

… excerpt ends here. Continue reading the full article.

Illustrations

OceanParcels: Figure 2: A grid (left), B grid (middle), C grid (right)
Figure 2: A grid (left), B grid (middle), C grid (right)

Worked examples

Example 1 — a first encounter with OceanParcels

Start with the simplest possible case. Write down what OceanParcels claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In earth science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to OceanParcels before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about OceanParcels ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of OceanParcels

In research
OceanParcels appears in earth science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses OceanParcels in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
OceanParcels is common in secondary-school and first-year university syllabi. It links to neighbouring topics Earth sciences software, Ocean modeling, Python (programming language) scientific libraries, so understanding it makes those chapters shorter.
In everyday life
Look for OceanParcels outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “OceanParcels” →

How to study OceanParcels in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what OceanParcels means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain OceanParcels out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is OceanParcels in simple terms?

OceanParcels, “Probably A Really Computationally Efficient Lagrangian Simulator”, is a set of Python classes and methods that is used to track particles like water, plankton and plastics. It uses the output of ocean general circulation model (OGCMs).

Why does OceanParcels matter?

Because it connects several earth science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study OceanParcels?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on OceanParcels.

Tags

  • Earth sciences software
  • Ocean modeling
  • Python (programming language) scientific libraries

Keep exploring