This repository has been archived on 2026-08-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
drizzli/src/routes/weather/options.ts
T
2026-02-15 14:51:15 +01:00

67 lines
2.6 KiB
TypeScript

export const defaultParameters = {
timeformat: 'iso8601',
wind_speed_unit: 'kmh',
temperature_unit: 'celsius',
precipitation_unit: 'mm'
};
export const models = [
[{ value: 'best_match', label: 'Best match' }],
[
{ value: 'gfs_seamless', label: 'NCEP GFS Seamless' },
{ value: 'jma_seamless', label: 'JMA Seamless' },
{ value: 'kma_seamless', label: 'KMA Seamless' },
{ value: 'icon_seamless', label: 'DWD ICON Seamless' },
{ value: 'gem_seamless', label: 'GEM Seamless' },
{ value: 'meteofrance_seamless', label: 'Météo-France Seamless' },
{ value: 'arpae_cosmo_seamless', label: 'ARPAE Seamless' },
{ value: 'metno_seamless', label: 'MET Norway Seamless (with ECMWF)' },
{ value: 'knmi_seamless', label: 'KNMI Seamless (with ECMWF)' },
{ value: 'dmi_seamless', label: 'DMI Seamless (with ECMWF)' },
{ value: 'ukmo_seamless', label: 'UK Met Office Seamless' }
]
];
export const hourly = [
[
{ value: 'temperature_2m', label: 'Temperature 2m' },
{ value: 'relative_humidity_2m', label: 'Relative Humidity 2m' },
{ value: 'dew_point_2m', label: 'Dew Point 2m' },
{ value: 'apparent_temperature', label: 'Apparent Temperature' },
{ value: 'precipitation_probability', label: 'Precipitation Probability' }
],
[
{ value: 'precipitation', label: 'Precipitation' },
{ value: 'rain', label: 'Rain' },
{ value: 'showers', label: 'Showers' },
{ value: 'snowfall', label: 'Snowfall' },
{ value: 'weather_code', label: 'Weather Code' }
],
[
{ value: 'pressure_msl', label: 'Pressure MSL' },
{ value: 'surface_pressure', label: 'Surface Pressure' },
{ value: 'cloud_cover', label: 'Cloud Cover' },
{ value: 'cloud_cover_low', label: 'Cloud Cover Low' },
{ value: 'cloud_cover_mid', label: 'Cloud Cover Mid' },
{ value: 'cloud_cover_high', label: 'Cloud Cover High' }
],
[
{ value: 'et0_fao_evapotranspiration', label: 'Evapotranspiration' },
{ value: 'vapor_pressure_deficit', label: 'Vapor Pressure Deficit' },
{ value: 'wind_speed_10m', label: 'Wind Speed 10m' },
{ value: 'wind_speed_80m', label: 'Wind Speed 80m' },
{ value: 'wind_speed_120m', label: 'Wind Speed 120m' },
{ value: 'wind_speed_180m', label: 'Wind Speed 180m' },
{ value: 'wind_direction_10m', label: 'Wind Direction 10m' },
{ value: 'wind_direction_80m', label: 'Wind Direction 80m' },
{ value: 'wind_direction_120m', label: 'Wind Direction 120m' },
{ value: 'wind_direction_180m', label: 'Wind Direction 180m' },
{ value: 'wind_gusts_10m', label: 'Wind Gusts 10m' }
],
[
{ value: 'temperature_80m', label: 'Temperature 80m' },
{ value: 'temperature_120m', label: 'Temperature 120m' },
{ value: 'temperature_180m', label: 'Temperature 180m' }
]
];