Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 391b09a0 authored by Jerome Touvier's avatar Jerome Touvier
Browse files

Merge branch 'update' into 'master'

fix doc

See merge request !16
parents 70a613a8 3dea06ab
Pipeline #50776 passed with stage
in 50 seconds
......@@ -244,9 +244,9 @@ def map_requests(params, data):
if country.lower() in name:
geodata["requests"][i] += requests
# my_palette = ("#f2f2f2",) + Viridis256
my_palette = ("#f2f2f2",) + Viridis256
# my_palette = ("#f2f2f2",) + tuple(reversed(Plasma256))
my_palette = ("#fee5d9", "#fcbba1", "#fc9272", "#fb6a4a", "#de2d26")
# my_palette = ("#fee5d9", "#fcbba1", "#fc9272", "#fb6a4a", "#de2d26")
color_mapper = LogColorMapper(palette=("#f2f2f2",) + my_palette, low=0.1)
if sum(geodata["requests"]) == 0:
color_mapper = None
......
# Webservice ws-statistics
# Webservice statistics
This service provides access to the RESIF-DC statistics.
......@@ -8,7 +8,7 @@ This service provides access to the RESIF-DC statistics.
where :
request-options :: (request=<country|send|storage|timeseries>)
request-options :: (request=<country|map|send|storage|timeseries>)
channel-options :: [net=<network> & sta=<station> & loc=<location> & cha=<channel>]
date-options :: [starttime=<date>] & [endtime=<date>]
storage-options :: [year=<year>] & [type=<all|bud|validated>]
......@@ -29,6 +29,9 @@ This service provides access to the RESIF-DC statistics.
<a href="http://ws.resif.fr/resifws/statistics/1/query?request=country&media=seedlink&net=RA&starttime=2020-01-01">http://ws.resif.fr/resifws/statistics/1/query?request=country&media=seedlink&net=RA&starttime=2020-01-01</a>
<a href="http://ws.resif.fr/resifws/statistics/1/query?request=map&media=dataselect&starttime=2020-01-01">http://ws.resif.fr/resifws/statistics/1/query?request=map&media=dataselect&starttime=2020-01-01</a>
## Detailed descriptions of each query parameter
| Parameter | Example | Discussion |
......
# Webservice ws-statistics
# Webservice statistics
Ce service donne accès aux statistiques de RESIF-DC.
......@@ -8,7 +8,7 @@ Ce service donne accès aux statistiques de RESIF-DC.
où :
request-options :: (request=<country|send|storage|timeseries>)
request-options :: (request=<country|map|send|storage|timeseries>)
channel-options :: [net=<network> & sta=<station> & loc=<location> & cha=<channel>]
date-options :: [starttime=<date>] & [endtime=<date>]
storage-options :: [year=<year>] & [type=<all|bud|validated>]
......@@ -26,7 +26,7 @@ Ce service donne accès aux statistiques de RESIF-DC.
<a href="http://ws.resif.fr/resifws/statistics/1/query?request=country&media=dataselect&net=RA&country=IT,US,FR">http://ws.resif.fr/resifws/statistics/1/query?request=country&media=dataselect&net=RA&country=IT,US,FR</a>
<a href="http://ws.resif.fr/resifws/statistics/1/query?request=country&media=seedlink&net=RA&starttime=2020-01-01">http://ws.resif.fr/resifws/statistics/1/query?request=country&media=seedlink&net=RA&starttime=2020-01-01</a>
<a href="http://ws.resif.fr/resifws/statistics/1/query?request=map&media=dataselect&starttime=2020-01-01">http://ws.resif.fr/resifws/statistics/1/query?request=map&media=dataselect&starttime=2020-01-01</a>
## Descriptions détaillées de chaque paramètre de la requête
......
......@@ -18,7 +18,7 @@
</head>
<body>
<p style="text-align:center;"> <img src="./static/images/logoresif.png" alt="logoresif" width="341" height="95"></p>
<h1 id="webservice-ws-statistics">Webservice ws-statistics</h1>
<h1 id="webservice-statistics">Webservice statistics</h1>
<p>Ce service donne accès aux statistiques de RESIF-DC.</p>
<h2 id="utilisation-de-la-requête">Utilisation de la requête</h2>
<pre><code>/query? (request-options) [channel-options] [date-options] [storage-options] [send-options] [output-options]
......
......@@ -18,7 +18,7 @@
</head>
<body>
<p style="text-align:center;"> <img src="./static/images/logoresif.png" alt="logoresif" width="341" height="95"></p>
<h1 id="webservice-ws-statistics">Webservice ws-statistics</h1>
<h1 id="webservice-statistics">Webservice statistics</h1>
<p>This service provides access to the RESIF-DC statistics.</p>
<h2 id="query-usage">Query usage</h2>
<pre><code>/query? (request-options) [channel-options] [date-options] [storage-options] [send-options] [output-options]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment