The ESA Mediterranean Sea Datacube brings selected marine datasets onto a common 1/24° latitude/longitude grid (EPSG:4326) for the Mediterranean Sea.
The data are available in four online GeoZarr stores: monthly fields, hourly currents, daily surface fields, and daily biophysics. The stores share the same horizontal grid and keep the time and depth coordinates each dataset needs.
This shared grid lets you compare variables without repeating the spatial alignment.
Access and Visualization¶
The associated notebooks show how to:
Build one local datacube for a small ROI selects salinity from the original 4DMED-SEA source dataset, resamples a small region, and saves and plots the local cube.
The access examples open the online GeoZarr stores linked below directly from EarthCODE object storage.
A simple visualisation of the data cube is available at https://
Use the individual dataset notebooks to explore the source products.
Data structure¶
All spatial layers are aligned to one EPSG:4326
lat/longrid. Full-resolution level0uses 1/24° cells, with longitude centres from approximately-6.0625to36.0625and latitude centres from30.2708to45.9792, giving 1,012 columns by 378 rows.Each store is a multiscale GeoZarr with groups
0,1, and2. These represent 1/24°, 1/6°, and 1/3° spacing, with spatial shapes 378 × 1,012, 94 × 253, and 47 × 126.The same
lat, lonposition refers to the same place across every store at a given level. (The grid has different physical cell areas at different latitudes.)Data values are spatially interpolated using nearest neighbour from the source data.
Monthly fields are averaged into calendar months and indexed by month start. Daily fields are aligned to daily timestamps.
The biophysics cube preserves 18 common depth levels from 3 to 135 m, positive down. WOC has one depth level at 15 m.
All four stores include
water_mask:1retains water or unmapped offshore cells and0excludes mapped land. It comes from ESA WorldCover 2021 overviews and is applied across time and depth; The mask is not guaranteed permanent water, but rather an np.isin([0,80]) (i.e. non land and permanent water bodies) applied to the land classificaiton product.
Table of Cubes¶
The access links below point to the online GeoZarr stores.
| Cube | Access | Datasets | Dimensions at level 0 | Coordinate coverage | Licence |
|---|---|---|---|---|---|
| Monthly fields | ocean | 4DMED PFT/Kd; Atlantic Ocean heat content; OceanSODA monthly and 8-day products; BICEP; MITHO | time: 84, lat: 378, lon: 1,012 | January 2016–December 2022, monthly | Mixed; see source terms |
| Hourly currents | hourly_cube.zarr | WOC total, ageostrophic, and CMEMS geostrophic/total current components | time: 43,800, depth: 1, lat: 378, lon: 1,012 | 30 December 2014 00:00–30 December 2019 23:00, hourly; 15 m depth | CC BY 4.0 |
| Daily biophysics | ocean | 4DMED primary production and 3D physical fields | time: 2,404, depth: 18, lat: 378, lon: 1,012 | 1 January 2016–31 July 2022, daily; 3–135 m depth | CC BY 4.0 |
| Daily surface fields | ocean | 4DMED salinity/density, MIOST FSLE, both 4DVarNet products; CAREHeat with and without SSA | time: 2,557, lat: 378, lon: 1,012 | 1 January 2016–31 December 2022, daily | CC BY 4.0 |
Current Assumptions and Future Refinements¶
The upsampling or downsampling used to create the cubes can make the variables unsuitable for some scientific analyses. The original datasets remain available through 1_Datasets for workflows that need their native grids, times, or depth levels.
Monthly aggregation of 8-day products uses an unweighted mean of samples assigned to each calendar month; it is not a day-overlap-weighted integration. Reindexed dates may be entirely missing for some variables. Source-wide MITHO summaries repeated along time should not be treated as independent monthly observations. Likewise, a maximum category in a coarser GeoZarr group represents the most severe contributing cell, rather than a class at every location in that block.
Open the store containing the variables you need, then select a region, time, and depth before computing. When comparing hourly, daily, and monthly values, aggregate them to a common time interval.