From 5541df20e1f4e2bf7f0004ab150329166a87ba24 Mon Sep 17 00:00:00 2001 From: terraputix Date: Sun, 2 Aug 2026 22:42:38 +0200 Subject: [PATCH] add aladin models --- src/lib/utils/maps-domain.ts | 3 +++ src/routes/weather/options.ts | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/src/lib/utils/maps-domain.ts b/src/lib/utils/maps-domain.ts index 5fa9c3b..c6dbc38 100644 --- a/src/lib/utils/maps-domain.ts +++ b/src/lib/utils/maps-domain.ts @@ -46,6 +46,9 @@ const modelDomainCandidates: Record = { // MeteoSwiss (CH2 covers a wider area than CH1) meteoswiss_icon_seamless: ['meteoswiss_icon_ch2'], + // CHMI Czech Republic (Central Europe is the widest native domain) + chmi_aladin_seamless: ['chmi_aladin_seamless', 'chmi_aladin_central_europe_2km'], + // JMA Japan jma_seamless: ['jma_seamless', 'jma_gsm'], diff --git a/src/routes/weather/options.ts b/src/routes/weather/options.ts index 79cfa4f..361ea08 100644 --- a/src/routes/weather/options.ts +++ b/src/routes/weather/options.ts @@ -69,6 +69,12 @@ export const modelGroups: WeatherModelGroup[] = [ resolution: '1-2 km', update: 'every 3 h' }, + { + value: 'chmi_aladin_seamless', + label: 'CHMI Aladin Seamless', + resolution: '1-2.3 km', + update: 'every 6 h' + }, { value: 'jma_seamless', label: 'JMA Seamless', resolution: '5-55 km', update: 'every 3 h' }, { value: 'gem_seamless', label: 'GEM Seamless', resolution: '1-15 km', update: 'every 6 h' } ] @@ -252,6 +258,24 @@ export const modelGroups: WeatherModelGroup[] = [ } ] }, + { + value: 'chmi', + label: 'CHMI Czech Republic', + models: [ + { + value: 'chmi_aladin_central_europe_2km', + label: 'CHMI Aladin Central Europe 2km', + resolution: '2.3 km', + update: 'every 6 h' + }, + { + value: 'chmi_aladin_cz_1km', + label: 'CHMI Aladin CZ 1km', + resolution: '1 km', + update: 'every 6 h' + } + ] + }, { value: 'cmc_gem', label: 'GEM Canada',