Skip to content

Commit

Permalink
Credit our sources in the help, provide the expected time of forecast…
Browse files Browse the repository at this point in the history
… publication, and mention the fact that URLs can be bookmarked for a specific model
  • Loading branch information
julienrf committed Nov 15, 2023
1 parent 23884ee commit 873fd69
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
1 change: 0 additions & 1 deletion frontend/src/Burger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const Burger = (props: {
['Documents', 'https://soaringmeteo.org/docs.html'],
['soarGFS', 'https://soaringmeteo.org/GFSw/googleMap.html'],
['soarWRF', 'https://soaringmeteo.org/soarWRF'],
['soarV2', 'https://soarwrf1.soaringmeteo.org/v2']
]

const options =
Expand Down
16 changes: 14 additions & 2 deletions frontend/src/help/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createSignal, JSX, lazy, Match, Show, Switch } from 'solid-js'
import {bottomButtonsSize, keyWidth, meteogramColumnWidth, soundingWidth, surfaceOverMap} from '../styles/Styles';
import * as fakeData from './data';
import { showDate, xcFlyingPotentialLayerName, inversionStyle } from '../shared';
import { type Domain } from '../State';
import {type Domain, gfsModel, wrfModel} from '../State';
import { Overlay } from '../map/Overlay';
import hooks from "../css-hooks";

Expand Down Expand Up @@ -75,11 +75,23 @@ const MapHelp = (props: { domain: Domain }): JSX.Element => {
<p>
What you see is the weather forecast for { showDate(state.forecastMetadata.dateAtHourOffset(state.hourOffset), { timeZone: props.domain.timeZone() }) },
from the model { props.domain.modelName() } initialized at { showDate(state.forecastMetadata.init, { timeZone: props.domain.timeZone() }) }.
<Switch>
<Match when={ props.domain.state.model === gfsModel }>
{' '}The results of the <a href="https://www.ncei.noaa.gov/products/weather-climate-models/global-forecast" target="_blank">GFS model</a> are provided by the <a
href="https://www.noaa.gov/">NOAA</a>. The results are published every day around 07:00 and 19:00 CEST.
</Match>
<Match when={ props.domain.state.model === wrfModel }>
{' '}We operate the <a href="https://www.mmm.ucar.edu/models/wrf" target="_blank">WRF model</a> on our own
servers, and we configured it to cover the Alpine region. The results are published every day around 05:00,
11:00, 17:00, and 23:00 CEST.
</Match>
</Switch>
</p>
<p>
Use the top-left menu to select which information to display on the map (cross-country flying potential,
thermal velocity, wind speed and direction, etc.). You can also select a different weather forecast model,
or a different area of the world.
or a different area of the world (tip: bookmark the page after you selected your favorite model and
geographical zone).
</p>
<Show when={ state.primaryLayerEnabled }>
<p>
Expand Down

0 comments on commit 873fd69

Please sign in to comment.