Skip to content

Commit

Permalink
update coordinates documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Sep 12, 2023
1 parent 8148533 commit 0b94e33
Show file tree
Hide file tree
Showing 16 changed files with 122 additions and 39 deletions.
12 changes: 9 additions & 3 deletions src/routes/en/docs/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -829,7 +834,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -910,7 +915,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
10 changes: 8 additions & 2 deletions src/routes/en/docs/air-quality-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">hourly</th>
Expand Down Expand Up @@ -692,7 +697,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
8 changes: 5 additions & 3 deletions src/routes/en/docs/climate-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import AccordionItem from '$lib/Elements/AccordionItem.svelte';
import SveltyPicker from 'svelty-picker';
import { slide } from 'svelte/transition';
import { onMount } from 'svelte';
import { PlusLg, Trash } from 'svelte-bootstrap-icons';
const defaultParameter = {
Expand Down Expand Up @@ -646,7 +645,10 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td>
</tr>
<tr>
<th scope="row">start_date<br />end_date</th>
Expand Down Expand Up @@ -773,7 +775,7 @@
<h3 class="mt-5">Daily Parameter Definition</h3>
<p>
The climate data in this API is presented as daily aggregations. Multiple weather variables can
be retrieved at once. The parameter <mark>&daily=</mark> accepts the following values as coma separated
be retrieved at once. The parameter <mark>&daily=</mark> accepts the following values as comma separated
list:
</p>
<div class="table-responsive">
Expand Down
12 changes: 9 additions & 3 deletions src/routes/en/docs/dwd-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -777,7 +782,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -869,7 +874,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
9 changes: 7 additions & 2 deletions src/routes/en/docs/ecmwf-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -491,7 +496,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/en/docs/elevation-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
<td>Yes</td>
<td />
<td>
Geographical WGS84 coordinates of the location. Multiple coordinates can be coma <mark
Geographical WGS84 coordinates of the location. Multiple coordinates can be comma <mark
>,</mark
>
separated. Up to 100 coordinates can be requested at once. Example for
Expand Down
12 changes: 9 additions & 3 deletions src/routes/en/docs/ensemble-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">models</th>
Expand All @@ -870,7 +875,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -942,7 +947,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
7 changes: 6 additions & 1 deletion src/routes/en/docs/flood-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">daily</th>
Expand Down
12 changes: 9 additions & 3 deletions src/routes/en/docs/gem-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -693,7 +698,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -774,7 +779,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
reso For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
10 changes: 8 additions & 2 deletions src/routes/en/docs/gfs-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand Down Expand Up @@ -823,7 +828,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
12 changes: 9 additions & 3 deletions src/routes/en/docs/historical-weather-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -689,7 +694,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -773,7 +778,8 @@
>time zone database</a
>
is supported If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone..</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
12 changes: 9 additions & 3 deletions src/routes/en/docs/jma-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -652,7 +657,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -733,7 +738,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
10 changes: 8 additions & 2 deletions src/routes/en/docs/marine-weather-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">hourly</th>
Expand Down Expand Up @@ -415,7 +420,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
12 changes: 9 additions & 3 deletions src/routes/en/docs/meteofrance-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,12 @@
<td>Floating point</td>
<td>Yes</td>
<td />
<td>Geographical WGS84 coordinate of the location</td>
<td
>Geographical WGS84 coordinates of the location. Multiple coordinates can be comma
separated. E.g. <mark>&latitude=52.52,48.85&longitude=13.41,2.35</mark>. To return data
for multiple locations the JSON output changes to a list of structures. CSV and XLSX
formats add a column <mark>location_id</mark>.</td
>
</tr>
<tr>
<th scope="row">elevation</th>
Expand All @@ -769,7 +774,7 @@
>90 meter digital elevation model is used</a
>. You can manually set the elevation to correctly match mountain peaks. If
<mark>&elevation=nan</mark> is specified, downscaling will be disabled and the API uses the
average grid-cell height.</td
average grid-cell height. For multiple locations, elevation can also be comma separated.</td
>
</tr>
<tr>
Expand Down Expand Up @@ -850,7 +855,8 @@
>time zone database</a
>
is supported. If <mark>auto</mark> is set as a time zone, the coordinates will be automatically
resolved to the local time zone.</td
resolved to the local time zone. For multiple coordinates, a comma separated list of timezones
can be specified.</td
>
</tr>
<tr>
Expand Down
Loading

0 comments on commit 0b94e33

Please sign in to comment.