@idm-plugin/meteo2 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1709,7 +1709,7 @@ class b0 {
|
|
|
1709
1709
|
b && p.push(b);
|
|
1710
1710
|
const O = M.find((a) => a.model === "meteofrance_currents"), W = M.find((a) => a.model === "ecmwf_wam025"), o = M.find((a) => a.model === "meteofrance_wave");
|
|
1711
1711
|
for (const a of M)
|
|
1712
|
-
["best_match", "meteofrance_currents"].includes(a.model) || (a.hourly.ocean_current_velocity = (A = O == null ? void 0 : O.hourly) == null ? void 0 : A.ocean_current_velocity, a.hourly.ocean_current_direction = (q = O == null ? void 0 : O.hourly) == null ? void 0 : q.ocean_current_direction, a.hourly.sea_level_height_msl = (d = O == null ? void 0 : O.hourly) == null ? void 0 : d.sea_level_height_msl, a.hourly.sea_surface_temperature = (n = O == null ? void 0 : O.hourly) == null ? void 0 : n.sea_surface_temperature, p.push(a)), a.model === "meteofrance_wave" && W && (a.hourly.time = W.hourly.time, a.hourly.wave_height = W.hourly.wave_height, a.hourly.wave_direction = W.hourly.wave_direction, a.hourly.wave_period = W.hourly.wave_period, a.daily.time = W.daily.time, a.daily.wave_height_max = W.daily.wave_height_max, a.daily.wave_direction_dominant = W.daily.wave_direction_dominant, a.daily.wave_period_max = W.daily.wave_period_max), a.model === "ecmwf_wam025" && o && (a.hourly.swell_wave_height = o.hourly.swell_wave_height, a.hourly.swell_wave_direction = o.hourly.swell_wave_direction, a.hourly.swell_wave_period = o.hourly.swell_wave_period, a.hourly.wind_wave_height = o.hourly.wind_wave_height, a.hourly.wind_wave_direction = o.hourly.wind_wave_direction, a.hourly.wind_wave_period = o.hourly.wind_wave_period, a.daily.swell_wave_height_max = o.daily.swell_wave_height_max, a.daily.swell_wave_period_max = o.daily.swell_wave_period_max, a.daily.swell_wave_direction_dominant = o.daily.swell_wave_direction_dominant, a.daily.wind_wave_height_max = o.daily.wind_wave_height_max, a.daily.wind_wave_direction_dominant = o.daily.wind_wave_direction_dominant, a.daily.wind_wave_period_max = o.daily.wind_wave_period_max);
|
|
1712
|
+
["best_match", "meteofrance_currents"].includes(a.model) || (a.hourly.ocean_current_velocity = (A = O == null ? void 0 : O.hourly) == null ? void 0 : A.ocean_current_velocity, a.hourly.ocean_current_direction = (q = O == null ? void 0 : O.hourly) == null ? void 0 : q.ocean_current_direction, a.hourly.sea_level_height_msl = (d = O == null ? void 0 : O.hourly) == null ? void 0 : d.sea_level_height_msl, a.hourly.sea_surface_temperature = (n = O == null ? void 0 : O.hourly) == null ? void 0 : n.sea_surface_temperature, p.push(a)), a.model === "meteofrance_wave" && W && (a.hourly.time = W.hourly.time, a.hourly.wave_height = W.hourly.wave_height, a.hourly.wave_direction = W.hourly.wave_direction, a.hourly.wave_period = W.hourly.wave_period, a.daily && W.daily && (a.daily.time = W.daily.time, a.daily.wave_height_max = W.daily.wave_height_max, a.daily.wave_direction_dominant = W.daily.wave_direction_dominant, a.daily.wave_period_max = W.daily.wave_period_max)), a.model === "ecmwf_wam025" && o && (a.hourly.swell_wave_height = o.hourly.swell_wave_height, a.hourly.swell_wave_direction = o.hourly.swell_wave_direction, a.hourly.swell_wave_period = o.hourly.swell_wave_period, a.hourly.wind_wave_height = o.hourly.wind_wave_height, a.hourly.wind_wave_direction = o.hourly.wind_wave_direction, a.hourly.wind_wave_period = o.hourly.wind_wave_period, a.daily && o.daily && (a.daily.swell_wave_height_max = o.daily.swell_wave_height_max, a.daily.swell_wave_period_max = o.daily.swell_wave_period_max, a.daily.swell_wave_direction_dominant = o.daily.swell_wave_direction_dominant, a.daily.wind_wave_height_max = o.daily.wind_wave_height_max, a.daily.wind_wave_direction_dominant = o.daily.wind_wave_direction_dominant, a.daily.wind_wave_period_max = o.daily.wind_wave_period_max));
|
|
1713
1713
|
return p;
|
|
1714
1714
|
}
|
|
1715
1715
|
pickForecastUrl(M, p, b, O = {}) {
|