---
name: shom-ram-maritime-references-ingestion
description: "How to get SHOM maritime altimetric references (RAM) data into a pandas DataFrame in memory (the provider's terms limit storage or leave it unclear): access, the request, the format, limits, quirks and terms."
---

# Probe SHOM RAM product page in memory

Source entry: https://signal-lab.qdt.ai/datasets/shom-ram-maritime-references
Provider: https://diffusion.shom.fr/references-altimetriques-maritimes-ram.html
Checked against the provider's documentation: 2026-11-06

## Access
- No key. HTTPS GET of the diffusion.shom.fr RAM product page.

## Request
```bash
curl -sS -L -o shom-ram.html 'https://diffusion.shom.fr/references-altimetriques-maritimes-ram.html'
```

## Format
Product page HTML describing PDF/Shapefile/CSV packages plus WMS/WMTS/WFS endpoints; not a JSON REST body.

## Load into pandas (in memory)
Needs Python 3 with requests and pandas. The provider's terms limit storage or leave it unclear, so this snippet does not write a file.
```python
"""Probe SHOM RAM product page in memory (Licence Ouverte; writes no file)."""
import requests
import pandas as pd

URL = "https://diffusion.shom.fr/references-altimetriques-maritimes-ram.html"
r = requests.get(URL, timeout=30)
r.raise_for_status()
ok = "Licence Ouverte" in r.text or "licence ouverte" in r.text.lower()
df = pd.DataFrame([{"url": URL, "status": r.status_code, "licence_ouverte_mentioned": ok, "bytes": len(r.content)}])
print(df.to_string(index=False))

```
Run by us on 2026-11-06 (python 3 | requests). Result: RAM product page returned HTTP 200 on 2026-11-06 and states Licence Ouverte 2.0 (Etalab).

## Limits
- Not stated numeric rate limit on the checked diffusion.shom.fr page.

## Quirks
- Do not host or commit Shom files in the repo; link and download from diffusion.shom.fr only.
- Open-data products use Licence Ouverte or CC BY-SA depending on the product — read the product page.
- This snippet writes no file; it only probes the HTML entry point in memory.

## Terms and attribution
- Product page: "Ce produit est diffusé sous Licence Ouverte (version 2.0 d'avril 2017), définie par la mission Etalab."
- Attribute Shom / cite DOI 10.17183/MAREE_COURANTS_RAM when reusing; this probe does not store or cache Shom payloads.
- Terms page: https://alliance.numerique.gouv.fr/licence-ouverte-open-licence/

## Sources
- https://diffusion.shom.fr/references-altimetriques-maritimes-ram.html: "Licence Ouverte (version 2.0 d'avril 2017)"
- https://alliance.numerique.gouv.fr/licence-ouverte-open-licence/: "Licence Ouverte / Open Licence"

## Help improve this skill
Missing a source, or see something to improve? Call the MCP tool suggest_source or feedback (or POST /api/suggest or /api/feedback). Reviewed ideas: https://signal-lab.qdt.ai/agent-suggestions

Information for educational purposes only. Free tiers, limits and licenses belong to the providers and may change; check the provider's own terms before using the data.
