Skip to content

Commit

Permalink
add cell_selection (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig authored Sep 12, 2024
1 parent 1ba2019 commit c416ae2
Show file tree
Hide file tree
Showing 16 changed files with 285 additions and 13 deletions.
17 changes: 17 additions & 0 deletions src/routes/en/docs/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
cell_selection: '',
models: []
};
Expand Down Expand Up @@ -545,6 +546,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/air-quality-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
start_date: '',
end_date: '',
time_mode: 'forecast_days',
domains: 'auto'
domains: 'auto',
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -590,6 +591,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
</div>
</div>
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/bom-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -382,6 +383,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/cma-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -419,6 +420,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/dmi-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -388,6 +389,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/ensemble-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -629,6 +630,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/gem-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -422,6 +423,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/gfs-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
start_date: '',
end_date: '',
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -474,6 +475,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/historical-forecast-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
temporal_resolution: '',
tilt: 0,
azimuth: 0,
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -414,6 +415,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/historical-weather-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
timeformat: 'iso8601',
timezone: 'UTC',
temporal_resolution: '',
cell_selection: '',
tilt: 0,
azimuth: 0,
models: []
Expand Down Expand Up @@ -353,7 +354,7 @@
</div>
{/each}

<div class="col-md-6">
<div class="col-md-6 mt-3">
<div class="form-floating mb-6">
<select
class="form-select"
Expand All @@ -370,6 +371,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6 mt-3">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
19 changes: 18 additions & 1 deletion src/routes/en/docs/jma-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
tilt: 0,
azimuth: 0,
time_mode: 'forecast_days',
models: []
models: [],
cell_selection: ''
};
const params = urlHashStore({
Expand Down Expand Up @@ -398,6 +399,22 @@
<label for="temporal_resolution">Temporal Resolution For Hourly Data</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating mb-6">
<select
class="form-select"
name="cell_selection"
id="cell_selection"
aria-label="Grid Cell Selection"
bind:value={$params.cell_selection}
>
<option value="">Terrain Optimized, Prefers Land</option>
<option value="sea">Prefer Sea</option>
<option value="nearest">Nearest</option>
</select>
<label for="cell_selection">Grid Cell Selection</label>
</div>
</div>
</AccordionItem>
<AccordionItem
id="solar-variables"
Expand Down
Loading

0 comments on commit c416ae2

Please sign in to comment.