<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>OceanBench</title>
<link>https://oceanbench.edito.eu/</link>
<atom:link href="https://oceanbench.edito.eu/index.xml" rel="self" type="application/rss+xml"/>
<description>OceanBench is a benchmarking tool to evaluate ocean forecasting systems against reference ocean datasets and observations.</description>
<generator>quarto-1.7.23</generator>
<lastBuildDate>Mon, 02 Nov 2026 00:00:00 GMT</lastBuildDate>
<item>
  <title>Download the scores, or query them with the Scores API</title>
  <link>https://oceanbench.edito.eu/news/posts/download-scores-and-scores-api/</link>
  <description><![CDATA[ 





<!--
SPDX-FileCopyrightText: 2025 Mercator Ocean International <https://www.mercator-ocean.eu/>

SPDX-License-Identifier: EUPL-1.2
-->
<p>The scores displayed on the <a href="../../../index.html">Scores page</a> can now be downloaded, for every published OceanBench version, region and track.</p>
<section id="export-the-displayed-scores" class="level2">
<h2 class="anchored" data-anchor-id="export-the-displayed-scores">Export the displayed scores</h2>
<p>An <strong>Export</strong> row sits next to the <strong>Region</strong> and <strong>Track</strong> pickers.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://oceanbench.edito.eu/news/posts/download-scores-and-scores-api/export-buttons.png" class="img-fluid figure-img"></p>
<figcaption>The Export row of the Scores page.</figcaption>
</figure>
</div>
<p>Each button opens a popup for the selected version, region and track, with:</p>
<ul>
<li>a button to download the file, or to copy the Zarr store URL,</li>
<li>code snippets to open the scores in Python or download them from a shell,</li>
<li>for CSV and Parquet, a link to explore the scores in the <a href="https://datalab.dive.edito.eu/data-explorer">EDITO Data Explorer</a>, without installing anything.</li>
</ul>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://oceanbench.edito.eu/news/posts/download-scores-and-scores-api/zarr-export-popup.png" class="img-fluid figure-img"></p>
<figcaption>The Zarr popup and its Python snippet.</figcaption>
</figure>
</div>
</section>
<section id="three-formats" class="level2">
<h2 class="anchored" data-anchor-id="three-formats">Three formats</h2>
<ul>
<li><strong>CSV</strong> and <strong>Parquet</strong> hold one row per challenger, comparison, metric, depth, variable and lead day, ready for <code>pandas</code> or a spreadsheet.</li>
<li><strong>Zarr</strong> holds a multi-dimensional dataset: <code>value</code> over the <code>challenger</code>, <code>comparison</code>, <code>metric</code>, <code>depth</code>, <code>variable</code> and <code>lead_day</code> dimensions, with the <code>unit</code> and <code>standard_name</code> of each variable. Select any slice with <code>xarray</code>:</li>
</ul>
<div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">import</span> xarray</span>
<span id="cb1-2"></span>
<span id="cb1-3">scores <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> xarray.open_zarr(</span>
<span id="cb1-4">    <span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"https://oceanbench.edito.eu/api/scores/&lt;version&gt;/global/high_resolution.zarr"</span>,</span>
<span id="cb1-5">    consolidated<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">True</span>,</span>
<span id="cb1-6">)</span>
<span id="cb1-7">scores[<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"value"</span>].sel(challenger<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"glonet"</span>, comparison<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"reanalysis"</span>, depth<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"Surface"</span>)</span></code></pre></div>
</section>
<section id="the-scores-api" class="level2">
<h2 class="anchored" data-anchor-id="the-scores-api">The Scores API</h2>
<p>The same files are served at stable URLs, so scripts and pipelines can fetch them directly:</p>
<div class="sourceCode" id="cb2" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb2-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">curl</span> https://oceanbench.edito.eu/api/scores/index.json</span>
<span id="cb2-2"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">curl</span> <span class="at" style="color: #657422;
background-color: null;
font-style: inherit;">-O</span> https://oceanbench.edito.eu/api/scores/<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span>version<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;</span>/<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span>region<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;</span>/<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span>track<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&gt;</span>.parquet</span></code></pre></div>
<p><code>index.json</code> lists every available version, region and track. The <a href="../../../documentation/scores-api/index.html">Scores API documentation</a> describes the endpoints, columns and dimensions.</p>


</section>

 ]]></description>
  <category>News</category>
  <category>Scores</category>
  <category>API</category>
  <guid>https://oceanbench.edito.eu/news/posts/download-scores-and-scores-api/</guid>
  <pubDate>Mon, 02 Nov 2026 00:00:00 GMT</pubDate>
  <media:content url="https://oceanbench.edito.eu/news/posts/download-scores-and-scores-api/export-buttons.png" medium="image" type="image/png" height="28" width="144"/>
</item>
</channel>
</rss>
