Skip to content

Commit 171c28b

Browse files
committed
Add header with links.
1 parent c1ea073 commit 171c28b

File tree

3 files changed

+81
-23
lines changed

3 files changed

+81
-23
lines changed

docs/_templates/sections/header.html

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<div class="custom-header-container">
2+
<div>
3+
<a href="" class="link-selected">viresclient</a>
4+
</div>
5+
<div class="section">
6+
<a href="https://vires.services" target="_blank" class="link">VirES for Swarm</a>
7+
<a href="https://vre.vires.services" target="_blank" class="link">Swarm VRE</a>
8+
<a href="https://notebooks.vires.services" target="_blank" class="link">Swarm Notebooks</a>
9+
<a href="https://swarmpal.readthedocs.io" target="_blank" class="link">SwarmPAL</a>
10+
</div>
11+
<div class="section">
12+
<a href="https://aeolus.services" target="_blank" class="link">VirES for Aeolus</a>
13+
<a href="https://vre.aeolus.services" target="_blank" class="link">Aeolus VRE</a>
14+
<a href="https://notebooks.aeolus.services" target="_blank" class="link">Aeolus Notebooks</a>
15+
</div>
16+
</div>
17+
18+
<style>
19+
.custom-header-container {
20+
display: flex;
21+
flex-wrap: wrap;
22+
justify-content: center;
23+
align-items: center;
24+
padding: 10px;
25+
background-color: #555;
26+
border-top: 1px solid #ddd;
27+
width: 100%;
28+
color: white;
29+
}
30+
31+
.custom-header-container .section {
32+
margin: 0 20px;
33+
text-align: center;
34+
padding: 10px;
35+
border: 1px solid #888;
36+
border-radius: 5px;
37+
}
38+
39+
.custom-header-container .link {
40+
margin: 0 10px;
41+
padding: 5px 10px;
42+
text-decoration: none;
43+
color: white;
44+
}
45+
46+
.custom-header-container .link:hover {
47+
color: #1e90ff !important;
48+
}
49+
50+
.custom-header-container .link-selected {
51+
margin: 0 10px;
52+
padding: 5px 10px;
53+
text-decoration: none;
54+
background-color: #ccc;
55+
color: black;
56+
border-radius: 5px;
57+
}
58+
59+
@media (max-width: 600px) {
60+
.custom-header-container {
61+
flex-direction: column; /* Stack sections vertically on small screens */
62+
}
63+
64+
.custom-header-container .section {
65+
width: 100%; /* Full width for sections */
66+
}
67+
}
68+
</style>

docs/available_parameters.rst

+12-12
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,23 @@ Available parameters for Swarm
55

66
.. tip::
77

8-
Try the new `Query builder interactive tool <https://dev.swarmdisc.org/dashboards/>`_ to explore the available parameters and create your own queries. This is a great way to get started with the data and see what is available.
8+
There are several ways to discover and learn more about the available data and models:
99

10-
.. tip::
10+
- Try the new `Query builder interactive dashboard`_ to explore the catalogue and generate your own viresclient queries
11+
- `Swarm Handbook`_: scentific metadata and related links for each product
12+
- `Swarm Notebooks`_: a collection of Jupyter notebooks providing recipes to help use the data
13+
14+
.. _`Query builder interactive dashboard`: https://dev.swarmdisc.org/dashboards/
15+
16+
.. _`Swarm Handbook`: https://swarmhandbook.earth.esa.int/catalogue/index
1117

12-
Did you know? The *VirES for Swarm* service provides data not only from Swarm but also INTERMAGNET ground observatories (search below for ``AUX_OBS``), and recalibrated platform magnetometer data from selected LEO missions (search below for ``MAG_``) and other "multi-mission" data.
18+
.. _`Swarm Notebooks`: https://notebooks.vires.services/notebooks/02b__viresclient-available-data
1319

1420
.. note::
1521

16-
| `See also: Jupyter notebook about data and model availability <https://notebooks.vires.services/notebooks/02b__viresclient-available-data>`_ - check out the other demo notebooks there too.
22+
Did you know? The *VirES for Swarm* service provides data not only from Swarm but also INTERMAGNET ground observatories (search below for ``AUX_OBS``), recalibrated platform magnetometer data from selected LEO missions (search below for ``MAG_``), and other "multi-mission" data such as total electron content (TEC), electron densities, temperatures, and their gradients. These are derived from spacecraft such as GOCE, CryoSat, GRACE, GRACE-FO, and more.
23+
24+
----
1725

1826
You can check which parameters are available with:
1927

@@ -31,14 +39,6 @@ The available measurements are segregated according to the "collection" (essenti
3139

3240
----
3341

34-
See the `Swarm Data Handbook`_ for details about the products and `Swarm Product Demos`_ (Jupyter notebooks) for basic recipes to get started.
35-
36-
.. _`Swarm Data Handbook`: https://earth.esa.int/eogateway/missions/swarm/product-data-handbook
37-
38-
.. _`Swarm Product Demos`: https://notebooks.vires.services/notebooks/03a1_demo-magx_lr_1b
39-
40-
----
41-
4242
``collections``
4343
---------------
4444

docs/index.rst

+1-11
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,10 @@ Introduction
33

44
.. include:: ../README.rst
55

6-
.. toctree::
7-
:hidden:
8-
:caption: Virtual Research Environments
9-
10-
VirES for Swarm <https://vires.services>
11-
Swarm Notebooks <https://notebooks.vires.services>
12-
VirES for Aeolus <https://aeolus.services>
13-
Aeolus Notebooks <https://notebooks.aeolus.services>
14-
15-
166
.. toctree::
177
:hidden:
188
:maxdepth: 2
19-
:caption: Information on viresclient
9+
:caption: viresclient Documentation
2010

2111
self
2212
installation

0 commit comments

Comments
 (0)