gher-uliege / DIVAnd-ME4OH

Script and tools for the ME4OH project using DIVAnd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Status: Active – The project has reached a stable, usable state and is being actively developed. GitHub top language

This repository contains the code for the creation of gridded fields of Density of Ocean Heat Content (dohc) in the frame of the ME4OH initiative, using the DIVAnd software tool.

DIVAnd

DIVAnd stands for Data-Interpolating Variational Analysis in n dimensions (Barth et al., 2014). The tool performs an n-dimensional variational analysis/gridding of arbitrarily located observations. It is a generalisation of DIVA (Troupin et al., 2012; Beckers et al., 2014), which was focused on two-dimensional interpolations only.

The main advantages of the method are:

  1. The computation time doesn't depend on the number of observations, make it possible to work on the World Ocean at several depth or for different time periods.
  2. The interpolation takes into account physical boundaries, such as the coastline and the bathymetry, without having to apply a mask a posteriori.

Implementation

The code is written in the Julia programming language (Bezanson et al., 2017).

Usage

The method has been applied in several European projects such as SeaDataCloud, EMODnet Biology, EMODnet Chemistry and BlueCloud. It was also applied to produced regional and local climatologies (e.g., Belgacem et al., 2021; Shahzadi et al., 2021).

While the initial developments were targeted on oceanographic data, any datasets including coordinates can be used as an input for DIVAnd.

Objectives

Different input files are provided and the goal is to interpolate the observations using different techniques (inclusing DIVAnd) and compare the results with a set of ground true field.

Experiments

Exp-A

Different configurations are applied for the computation of the gridded fields:

  1. The observations are interpolated layer by layer and time period by time period, i.e. we don't introduce any influence from one period to the next or from one layer to another.
  2. Same as 1., except that the variable dohc_mask_by_en4_maxdepth is used to remove some of the measurements.
  3. Same as 1., except that we now introduce the time as a 3rd dimension, i.e., the observations from the months from before and after the month of interest have an influence on the field for that month.

Note that for 3., we didn't perform any optimisation of the temporal correlation length value and set it to 30 days. The computation time is increased in this configuration (approx. 35 seconds per time step, vs. 0.3 second for the configuration without the time correlation).

Scripts:

Exp-B

In experiment-B we create a climatology consisting of 12 monthly fields, then perform the interpolation on the anomalies with respect to that climatology.

Again in this experiment we perform analysis with and without the use of the variable dohc_mask_by_en4_maxdepth.

Exp-C

The dohc product is computed in 3 steps:

  1. A monthly climatology of temperature is computed using all the available observations.
  2. Temperature anomalies (with respect to the climatology) are interpolated onto the 51 vertical levels specified in the variable ts_z, leading to a 4-dimensional field for the time period of interest.
  3. The ocean heat content density of computed for the 3 depth layers of interest.

Exp-D

Not performed yet.

References

Barth, A., Beckers, J.-M., Troupin, C., Alvera-Azcárate, A. and Vandenbulcke, L.: divand-1.0: n-dimensional variational data analysis for ocean observations, Geoscientific Model Development, 7, 225–241, 2014. DOI: 10.5194/gmd-7-225-2014

Belgacem, M., Schroeder, K., Barth, A., Troupin, C., Pavoni, B., Raimbault, P., Garcia, N., Borghini, M. and Chiggiato, J.: Climatological distribution of dissolved inorganic nutrients in the western Mediterranean Sea (1981–2017), Earth System Science Data, 13(12), 5915–5949, 2021. DOI: 10.5194/essd-13-5915-2021

Bezanson, J.; Edelman, A.; Karpinski, S. & Shah, V. B. Julia: A fresh approach to numerical computing SIAM Review, SIAM, 2017, 59, 65-98. DOI: 10.1137/141000671

Shahzadi, K., Pinardi, N., Barth, A., Troupin, C., Lyubartsev, V. and Simoncelli, S.: A New Global Ocean Climatology, Frontiers in Environmental Science, 9, 2021. DOI: 10.3389/fenvs.2021.711363

Troupin, C., Sirjacobs, D., Rixen, M., Brasseur, P., Brankart, J.-M., Barth, A., Alvera-Azcárate, A., Capet, A., Ouberdous, M., Lenartz, F., Toussaint, M.-E. and Beckers, J.-M.: Generation of analysis and consistent error fields using the Data Interpolating Variational Analysis (Diva), Ocean Modelling, 52-53, 90–101, 2012. DOI: 10.1016/j.ocemod.2012.05.002

About

Script and tools for the ME4OH project using DIVAnd

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 98.3%Language:Julia 1.7%