@idm-plugin/meteo2 0.2.6 → 0.2.8

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 CHANGED
@@ -1455,6 +1455,7 @@ const V0 = [
1455
1455
  length: 15,
1456
1456
  frequency: 6,
1457
1457
  models: ["ecmwf_ifs025", "ecmwf_aifs025_single"],
1458
+ categories: "ecmwf_ifs025,ecmwf_aifs025_single",
1458
1459
  variables: "temperature_2m,relative_humidity_2m,dew_point_2m,apparent_temperature,precipitation_probability,precipitation,rain,showers,snowfall_water_equivalent,snowfall,frozen_precipitation_percent,pressure_msl,cloud_cover,visibility,wind_speed_10m,wind_u_component_10m,wind_v_component_10m,wind_direction_10m,wind_gusts_10m,cape,lifted_index,weather_code"
1459
1460
  },
1460
1461
  {
@@ -1908,7 +1909,7 @@ class G0 {
1908
1909
  const p = [];
1909
1910
  for (let W = 0; W < b.length; W++) {
1910
1911
  const q = b[W];
1911
- ["ecmwf_wam025", "meteofrance_wave", "ewam", "gwam", "era5_ocean"].includes(q) ? p.push("meteofrance_currents", q) : q === "gfswave" ? p.push("meteofrance_currents", "ncep_gfswave025", "ncep_gfswave016") : p.push("best_match");
1912
+ ["ecmwf_wam025", "meteofrance_wave", "ewam", "gwam", "era5_ocean"].includes(q) ? p.push("meteofrance_currents", q) : ["gfswave", "ncep_gfswave025", "ncep_gfswave016"].includes(q) ? p.push("meteofrance_currents", "ncep_gfswave025", "ncep_gfswave016") : p.push("best_match");
1912
1913
  }
1913
1914
  const O = p.reduce((W, q) => (W.includes(q) || W.push(q), W), []), Y = ["best_match", "meteofrance_currents", "meteofrance_wave", "ecmwf_wam025", "ncep_gfswave025", "gwam", "era5_ocean", "ewam", "ncep_gfswave016"];
1914
1915
  return O.sort((W, q) => {