@idm-plugin/meteo2 0.2.7 → 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 +1 -1
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1909,7 +1909,7 @@ class G0 {
|
|
|
1909
1909
|
const p = [];
|
|
1910
1910
|
for (let W = 0; W < b.length; W++) {
|
|
1911
1911
|
const q = b[W];
|
|
1912
|
-
["ecmwf_wam025", "meteofrance_wave", "ewam", "gwam", "era5_ocean"].includes(q) ? p.push("meteofrance_currents", q) :
|
|
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");
|
|
1913
1913
|
}
|
|
1914
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"];
|
|
1915
1915
|
return O.sort((W, q) => {
|