open-meteo-mcp-server 1.2.3 → 1.2.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/client.d.ts +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +20 -20
- package/dist/client.js.map +1 -1
- package/dist/index.js +36 -21
- package/dist/index.js.map +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +517 -243
- package/dist/tools.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +463 -141
- package/dist/types.js.map +1 -1
- package/package.json +5 -5
package/dist/tools.js
CHANGED
|
@@ -8,131 +8,256 @@ export const WEATHER_FORECAST_TOOL = {
|
|
|
8
8
|
type: 'number',
|
|
9
9
|
minimum: -90,
|
|
10
10
|
maximum: 90,
|
|
11
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
11
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
12
12
|
},
|
|
13
13
|
longitude: {
|
|
14
14
|
type: 'number',
|
|
15
15
|
minimum: -180,
|
|
16
16
|
maximum: 180,
|
|
17
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
17
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
18
18
|
},
|
|
19
19
|
hourly: {
|
|
20
20
|
type: 'array',
|
|
21
21
|
items: {
|
|
22
22
|
type: 'string',
|
|
23
23
|
enum: [
|
|
24
|
-
'temperature_2m',
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
|
|
24
|
+
'temperature_2m',
|
|
25
|
+
'relative_humidity_2m',
|
|
26
|
+
'dewpoint_2m',
|
|
27
|
+
'apparent_temperature',
|
|
28
|
+
'precipitation_probability',
|
|
29
|
+
'precipitation',
|
|
30
|
+
'rain',
|
|
31
|
+
'showers',
|
|
32
|
+
'snowfall',
|
|
33
|
+
'snow_depth',
|
|
34
|
+
'weather_code',
|
|
35
|
+
'pressure_msl',
|
|
36
|
+
'surface_pressure',
|
|
37
|
+
'cloud_cover',
|
|
38
|
+
'cloud_cover_low',
|
|
39
|
+
'cloud_cover_mid',
|
|
40
|
+
'cloud_cover_high',
|
|
41
|
+
'visibility',
|
|
42
|
+
'evapotranspiration',
|
|
43
|
+
'et0_fao_evapotranspiration',
|
|
44
|
+
'vapour_pressure_deficit',
|
|
45
|
+
'wind_speed_10m',
|
|
46
|
+
'wind_speed_80m',
|
|
47
|
+
'wind_speed_120m',
|
|
48
|
+
'wind_speed_180m',
|
|
49
|
+
'wind_direction_10m',
|
|
50
|
+
'wind_direction_80m',
|
|
51
|
+
'wind_direction_120m',
|
|
52
|
+
'wind_direction_180m',
|
|
53
|
+
'wind_gusts_10m',
|
|
54
|
+
'temperature_80m',
|
|
55
|
+
'temperature_120m',
|
|
56
|
+
'temperature_180m',
|
|
57
|
+
'soil_temperature_0cm',
|
|
58
|
+
'soil_temperature_6cm',
|
|
59
|
+
'soil_temperature_18cm',
|
|
60
|
+
'soil_temperature_54cm',
|
|
61
|
+
'soil_moisture_0_to_1cm',
|
|
62
|
+
'soil_moisture_1_to_3cm',
|
|
63
|
+
'soil_moisture_3_to_9cm',
|
|
64
|
+
'soil_moisture_9_to_27cm',
|
|
65
|
+
'soil_moisture_27_to_81cm',
|
|
66
|
+
'uv_index',
|
|
67
|
+
'uv_index_clear_sky',
|
|
68
|
+
'is_day',
|
|
69
|
+
'sunshine_duration',
|
|
70
|
+
'wet_bulb_temperature_2m',
|
|
71
|
+
'total_column_integrated_water_vapour',
|
|
72
|
+
'cape',
|
|
73
|
+
'lifted_index',
|
|
74
|
+
'convective_inhibition',
|
|
75
|
+
'freezing_level_height',
|
|
76
|
+
'boundary_layer_height_pbl',
|
|
77
|
+
'shortwave_radiation',
|
|
78
|
+
'direct_radiation',
|
|
79
|
+
'diffuse_radiation',
|
|
80
|
+
'direct_normal_irradiance',
|
|
81
|
+
'global_tilted_irradiance',
|
|
82
|
+
'terrestrial_radiation',
|
|
83
|
+
'shortwave_radiation_instant',
|
|
84
|
+
'direct_radiation_instant',
|
|
85
|
+
'diffuse_radiation_instant',
|
|
86
|
+
'direct_normal_irradiance_instant',
|
|
87
|
+
'global_tilted_irradiance_instant',
|
|
88
|
+
'terrestrial_radiation_instant',
|
|
89
|
+
],
|
|
42
90
|
},
|
|
43
|
-
description: 'Hourly weather variables to retrieve'
|
|
91
|
+
description: 'Hourly weather variables to retrieve',
|
|
44
92
|
},
|
|
45
93
|
daily: {
|
|
46
94
|
type: 'array',
|
|
47
95
|
items: {
|
|
48
96
|
type: 'string',
|
|
49
97
|
enum: [
|
|
50
|
-
'weather_code',
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
|
|
98
|
+
'weather_code',
|
|
99
|
+
'temperature_2m_max',
|
|
100
|
+
'temperature_2m_min',
|
|
101
|
+
'apparent_temperature_max',
|
|
102
|
+
'apparent_temperature_min',
|
|
103
|
+
'sunrise',
|
|
104
|
+
'sunset',
|
|
105
|
+
'daylight_duration',
|
|
106
|
+
'sunshine_duration',
|
|
107
|
+
'uv_index_max',
|
|
108
|
+
'uv_index_clear_sky_max',
|
|
109
|
+
'rain_sum',
|
|
110
|
+
'showers_sum',
|
|
111
|
+
'snowfall_sum',
|
|
112
|
+
'precipitation_sum',
|
|
113
|
+
'precipitation_hours',
|
|
114
|
+
'precipitation_probability_max',
|
|
115
|
+
'wind_speed_10m_max',
|
|
116
|
+
'wind_gusts_10m_max',
|
|
117
|
+
'wind_direction_10m_dominant',
|
|
118
|
+
'shortwave_radiation_sum',
|
|
119
|
+
'et0_fao_evapotranspiration',
|
|
120
|
+
'temperature_2m_mean',
|
|
121
|
+
'apparent_temperature_mean',
|
|
122
|
+
'cape_mean',
|
|
123
|
+
'cape_max',
|
|
124
|
+
'cape_min',
|
|
125
|
+
'cloud_cover_mean',
|
|
126
|
+
'cloud_cover_max',
|
|
127
|
+
'cloud_cover_min',
|
|
128
|
+
'dewpoint_2m_mean',
|
|
129
|
+
'dewpoint_2m_max',
|
|
130
|
+
'dewpoint_2m_min',
|
|
131
|
+
'et0_fao_evapotranspiration_sum',
|
|
132
|
+
'growing_degree_days_base_0_limit_50',
|
|
133
|
+
'leaf_wetness_probability_mean',
|
|
134
|
+
'leaf_wetness_probability_max',
|
|
135
|
+
'leaf_wetness_probability_min',
|
|
136
|
+
'precipitation_probability_mean',
|
|
137
|
+
'precipitation_probability_min',
|
|
138
|
+
'relative_humidity_2m_mean',
|
|
139
|
+
'relative_humidity_2m_max',
|
|
140
|
+
'relative_humidity_2m_min',
|
|
141
|
+
'snowfall_water_equivalent_sum',
|
|
142
|
+
'pressure_msl_mean',
|
|
143
|
+
'pressure_msl_max',
|
|
144
|
+
'pressure_msl_min',
|
|
145
|
+
'surface_pressure_mean',
|
|
146
|
+
'surface_pressure_max',
|
|
147
|
+
'surface_pressure_min',
|
|
148
|
+
'updraft_max',
|
|
149
|
+
'visibility_mean',
|
|
150
|
+
'visibility_max',
|
|
151
|
+
'visibility_min',
|
|
152
|
+
'wind_gusts_10m_mean',
|
|
153
|
+
'wind_gusts_10m_min',
|
|
154
|
+
'wind_speed_10m_mean',
|
|
155
|
+
'wind_speed_10m_min',
|
|
156
|
+
'wet_bulb_temperature_2m_mean',
|
|
157
|
+
'wet_bulb_temperature_2m_max',
|
|
158
|
+
'wet_bulb_temperature_2m_min',
|
|
159
|
+
'vapour_pressure_deficit_max',
|
|
160
|
+
],
|
|
68
161
|
},
|
|
69
|
-
description: 'Daily weather variables to retrieve'
|
|
162
|
+
description: 'Daily weather variables to retrieve',
|
|
70
163
|
},
|
|
71
164
|
current_weather: {
|
|
72
165
|
type: 'boolean',
|
|
73
|
-
description: 'Include current weather conditions'
|
|
166
|
+
description: 'Include current weather conditions',
|
|
74
167
|
},
|
|
75
168
|
temperature_unit: {
|
|
76
169
|
type: 'string',
|
|
77
170
|
enum: ['celsius', 'fahrenheit'],
|
|
78
171
|
default: 'celsius',
|
|
79
|
-
description: 'Temperature unit'
|
|
172
|
+
description: 'Temperature unit',
|
|
80
173
|
},
|
|
81
174
|
wind_speed_unit: {
|
|
82
175
|
type: 'string',
|
|
83
176
|
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
84
177
|
default: 'kmh',
|
|
85
|
-
description: 'Wind speed unit'
|
|
178
|
+
description: 'Wind speed unit',
|
|
86
179
|
},
|
|
87
180
|
precipitation_unit: {
|
|
88
181
|
type: 'string',
|
|
89
182
|
enum: ['mm', 'inch'],
|
|
90
183
|
default: 'mm',
|
|
91
|
-
description: 'Precipitation unit'
|
|
184
|
+
description: 'Precipitation unit',
|
|
92
185
|
},
|
|
93
186
|
timezone: {
|
|
94
187
|
type: 'string',
|
|
95
|
-
description: 'Timezone for timestamps (e.g., Europe/Paris, America/New_York)'
|
|
188
|
+
description: 'Timezone for timestamps (e.g., Europe/Paris, America/New_York)',
|
|
96
189
|
},
|
|
97
190
|
past_days: {
|
|
98
191
|
type: 'integer',
|
|
99
192
|
enum: [1, 2],
|
|
100
|
-
description: 'Include past days data'
|
|
193
|
+
description: 'Include past days data',
|
|
101
194
|
},
|
|
102
195
|
forecast_days: {
|
|
103
196
|
type: 'integer',
|
|
104
197
|
minimum: 1,
|
|
105
198
|
maximum: 16,
|
|
106
199
|
default: 7,
|
|
107
|
-
description: 'Number of forecast days'
|
|
200
|
+
description: 'Number of forecast days',
|
|
108
201
|
},
|
|
109
202
|
models: {
|
|
110
203
|
type: 'array',
|
|
111
204
|
items: {
|
|
112
205
|
type: 'string',
|
|
113
206
|
enum: [
|
|
114
|
-
'ecmwf_ifs_hres_9km',
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'
|
|
121
|
-
'
|
|
122
|
-
'
|
|
123
|
-
'
|
|
124
|
-
'
|
|
125
|
-
'
|
|
126
|
-
'
|
|
127
|
-
'
|
|
128
|
-
'
|
|
129
|
-
|
|
207
|
+
'ecmwf_ifs_hres_9km',
|
|
208
|
+
'ecmwf_ifs_025',
|
|
209
|
+
'ecmwf_aifs_025_single',
|
|
210
|
+
'cma_grapes_global',
|
|
211
|
+
'bom_access_global',
|
|
212
|
+
'ncep_gfs_seamless',
|
|
213
|
+
'ncep_gfs_global',
|
|
214
|
+
'ncep_hrrr_us_conus',
|
|
215
|
+
'ncep_nbm_us_conus',
|
|
216
|
+
'ncep_nam_us_conus',
|
|
217
|
+
'ncep_gfs_graphcast',
|
|
218
|
+
'ncep_aigfs_025',
|
|
219
|
+
'ncep_hgefs_025_ensemble_mean',
|
|
220
|
+
'jma_seamless',
|
|
221
|
+
'jma_msm',
|
|
222
|
+
'jma_gsm',
|
|
223
|
+
'kma_seamless',
|
|
224
|
+
'kma_ldps',
|
|
225
|
+
'kma_gdps',
|
|
226
|
+
'dwd_icon_seamless',
|
|
227
|
+
'dwd_icon_global',
|
|
228
|
+
'dwd_icon_eu',
|
|
229
|
+
'dwd_icon_d2',
|
|
230
|
+
'gem_seamless',
|
|
231
|
+
'gem_global',
|
|
232
|
+
'gem_regional',
|
|
233
|
+
'gem_hrdps_continental',
|
|
234
|
+
'gem_hrdps_west',
|
|
235
|
+
'meteofrance_seamless',
|
|
236
|
+
'meteofrance_arpege_world',
|
|
237
|
+
'meteofrance_arpege_europe',
|
|
238
|
+
'meteofrance_arome_france',
|
|
239
|
+
'meteofrance_arome_france_hd',
|
|
240
|
+
'italiameteo_arpae_icon_2i',
|
|
241
|
+
'met_norway_nordic_seamless',
|
|
242
|
+
'met_norway_nordic',
|
|
243
|
+
'knmi_seamless',
|
|
244
|
+
'knmi_harmonie_arome_europe',
|
|
245
|
+
'knmi_harmonie_arome_netherlands',
|
|
246
|
+
'dmi_seamless',
|
|
247
|
+
'dmi_harmonie_arome_europe',
|
|
248
|
+
'uk_met_office_seamless',
|
|
249
|
+
'uk_met_office_global_10km',
|
|
250
|
+
'uk_met_office_uk_2km',
|
|
251
|
+
'meteoswiss_icon_seamless',
|
|
252
|
+
'meteoswiss_icon_ch1',
|
|
253
|
+
'meteoswiss_icon_ch2',
|
|
254
|
+
],
|
|
130
255
|
},
|
|
131
|
-
description: 'Weather models to use. If omitted, the best model for the location is chosen automatically. Do not send an empty list.'
|
|
132
|
-
}
|
|
256
|
+
description: 'Weather models to use. If omitted, the best model for the location is chosen automatically. Do not send an empty list.',
|
|
257
|
+
},
|
|
133
258
|
},
|
|
134
|
-
required: ['latitude', 'longitude']
|
|
135
|
-
}
|
|
259
|
+
required: ['latitude', 'longitude'],
|
|
260
|
+
},
|
|
136
261
|
};
|
|
137
262
|
export const WEATHER_ARCHIVE_TOOL = {
|
|
138
263
|
name: 'weather_archive',
|
|
@@ -144,58 +269,66 @@ export const WEATHER_ARCHIVE_TOOL = {
|
|
|
144
269
|
type: 'number',
|
|
145
270
|
minimum: -90,
|
|
146
271
|
maximum: 90,
|
|
147
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
272
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
148
273
|
},
|
|
149
274
|
longitude: {
|
|
150
275
|
type: 'number',
|
|
151
276
|
minimum: -180,
|
|
152
277
|
maximum: 180,
|
|
153
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
278
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
154
279
|
},
|
|
155
280
|
start_date: {
|
|
156
281
|
type: 'string',
|
|
157
282
|
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
158
|
-
description: 'Start date in YYYY-MM-DD format'
|
|
283
|
+
description: 'Start date in YYYY-MM-DD format',
|
|
159
284
|
},
|
|
160
285
|
end_date: {
|
|
161
286
|
type: 'string',
|
|
162
287
|
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
163
|
-
description: 'End date in YYYY-MM-DD format'
|
|
288
|
+
description: 'End date in YYYY-MM-DD format',
|
|
164
289
|
},
|
|
165
290
|
hourly: {
|
|
166
291
|
type: 'array',
|
|
167
292
|
items: {
|
|
168
293
|
type: 'string',
|
|
169
294
|
enum: [
|
|
170
|
-
'temperature_2m',
|
|
171
|
-
'
|
|
172
|
-
|
|
295
|
+
'temperature_2m',
|
|
296
|
+
'relative_humidity_2m',
|
|
297
|
+
'precipitation',
|
|
298
|
+
'pressure_msl',
|
|
299
|
+
'wind_speed_10m',
|
|
300
|
+
'wind_direction_10m',
|
|
301
|
+
'shortwave_radiation',
|
|
302
|
+
],
|
|
173
303
|
},
|
|
174
|
-
description: 'Hourly weather variables to retrieve'
|
|
304
|
+
description: 'Hourly weather variables to retrieve',
|
|
175
305
|
},
|
|
176
306
|
daily: {
|
|
177
307
|
type: 'array',
|
|
178
308
|
items: {
|
|
179
309
|
type: 'string',
|
|
180
310
|
enum: [
|
|
181
|
-
'temperature_2m_max',
|
|
182
|
-
'
|
|
183
|
-
|
|
311
|
+
'temperature_2m_max',
|
|
312
|
+
'temperature_2m_min',
|
|
313
|
+
'precipitation_sum',
|
|
314
|
+
'wind_speed_10m_max',
|
|
315
|
+
'shortwave_radiation_sum',
|
|
316
|
+
],
|
|
184
317
|
},
|
|
185
|
-
description: 'Daily weather variables to retrieve'
|
|
318
|
+
description: 'Daily weather variables to retrieve',
|
|
186
319
|
},
|
|
187
320
|
temperature_unit: {
|
|
188
321
|
type: 'string',
|
|
189
322
|
enum: ['celsius', 'fahrenheit'],
|
|
190
|
-
default: 'celsius'
|
|
323
|
+
default: 'celsius',
|
|
191
324
|
},
|
|
192
325
|
timezone: {
|
|
193
326
|
type: 'string',
|
|
194
|
-
description: 'Timezone for timestamps'
|
|
195
|
-
}
|
|
327
|
+
description: 'Timezone for timestamps',
|
|
328
|
+
},
|
|
196
329
|
},
|
|
197
|
-
required: ['latitude', 'longitude', 'start_date', 'end_date']
|
|
198
|
-
}
|
|
330
|
+
required: ['latitude', 'longitude', 'start_date', 'end_date'],
|
|
331
|
+
},
|
|
199
332
|
};
|
|
200
333
|
export const AIR_QUALITY_TOOL = {
|
|
201
334
|
name: 'air_quality',
|
|
@@ -207,50 +340,75 @@ export const AIR_QUALITY_TOOL = {
|
|
|
207
340
|
type: 'number',
|
|
208
341
|
minimum: -90,
|
|
209
342
|
maximum: 90,
|
|
210
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
343
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
211
344
|
},
|
|
212
345
|
longitude: {
|
|
213
346
|
type: 'number',
|
|
214
347
|
minimum: -180,
|
|
215
348
|
maximum: 180,
|
|
216
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
349
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
217
350
|
},
|
|
218
351
|
hourly: {
|
|
219
352
|
type: 'array',
|
|
220
353
|
items: {
|
|
221
354
|
type: 'string',
|
|
222
355
|
enum: [
|
|
223
|
-
'pm10',
|
|
224
|
-
'
|
|
225
|
-
'
|
|
226
|
-
'
|
|
227
|
-
'
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
|
|
356
|
+
'pm10',
|
|
357
|
+
'pm2_5',
|
|
358
|
+
'carbon_monoxide',
|
|
359
|
+
'nitrogen_dioxide',
|
|
360
|
+
'ozone',
|
|
361
|
+
'sulphur_dioxide',
|
|
362
|
+
'ammonia',
|
|
363
|
+
'dust',
|
|
364
|
+
'aerosol_optical_depth',
|
|
365
|
+
'carbon_dioxide',
|
|
366
|
+
'methane',
|
|
367
|
+
'alder_pollen',
|
|
368
|
+
'birch_pollen',
|
|
369
|
+
'grass_pollen',
|
|
370
|
+
'mugwort_pollen',
|
|
371
|
+
'olive_pollen',
|
|
372
|
+
'ragweed_pollen',
|
|
373
|
+
'european_aqi',
|
|
374
|
+
'european_aqi_pm2_5',
|
|
375
|
+
'european_aqi_pm10',
|
|
376
|
+
'european_aqi_nitrogen_dioxide',
|
|
377
|
+
'european_aqi_ozone',
|
|
378
|
+
'european_aqi_sulphur_dioxide',
|
|
379
|
+
'us_aqi',
|
|
380
|
+
'us_aqi_pm2_5',
|
|
381
|
+
'us_aqi_pm10',
|
|
382
|
+
'us_aqi_nitrogen_dioxide',
|
|
383
|
+
'us_aqi_ozone',
|
|
384
|
+
'us_aqi_sulphur_dioxide',
|
|
385
|
+
'us_aqi_carbon_monoxide',
|
|
386
|
+
'uv_index',
|
|
387
|
+
'uv_index_clear_sky',
|
|
388
|
+
],
|
|
231
389
|
},
|
|
232
|
-
description: 'Air quality variables to retrieve'
|
|
390
|
+
description: 'Air quality variables to retrieve',
|
|
233
391
|
},
|
|
234
392
|
timezone: {
|
|
235
393
|
type: 'string',
|
|
236
|
-
description: 'Timezone for timestamps'
|
|
394
|
+
description: 'Timezone for timestamps',
|
|
237
395
|
},
|
|
238
396
|
past_days: {
|
|
239
397
|
type: 'integer',
|
|
240
398
|
minimum: 1,
|
|
241
399
|
maximum: 7,
|
|
242
|
-
description: 'Include past days data'
|
|
400
|
+
description: 'Include past days data',
|
|
243
401
|
},
|
|
244
402
|
forecast_days: {
|
|
245
403
|
type: 'integer',
|
|
246
404
|
minimum: 1,
|
|
247
405
|
maximum: 16,
|
|
248
406
|
default: 7,
|
|
249
|
-
description: 'Number of forecast days'
|
|
250
|
-
}
|
|
407
|
+
description: 'Number of forecast days',
|
|
408
|
+
},
|
|
251
409
|
},
|
|
252
|
-
required: ['latitude', 'longitude']
|
|
253
|
-
}
|
|
410
|
+
required: ['latitude', 'longitude'],
|
|
411
|
+
},
|
|
254
412
|
};
|
|
255
413
|
export const MARINE_WEATHER_TOOL = {
|
|
256
414
|
name: 'marine_weather',
|
|
@@ -262,63 +420,86 @@ export const MARINE_WEATHER_TOOL = {
|
|
|
262
420
|
type: 'number',
|
|
263
421
|
minimum: -90,
|
|
264
422
|
maximum: 90,
|
|
265
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
423
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
266
424
|
},
|
|
267
425
|
longitude: {
|
|
268
426
|
type: 'number',
|
|
269
427
|
minimum: -180,
|
|
270
428
|
maximum: 180,
|
|
271
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
429
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
272
430
|
},
|
|
273
431
|
hourly: {
|
|
274
432
|
type: 'array',
|
|
275
433
|
items: {
|
|
276
434
|
type: 'string',
|
|
277
435
|
enum: [
|
|
278
|
-
'wave_height',
|
|
279
|
-
'
|
|
280
|
-
'
|
|
281
|
-
'
|
|
282
|
-
'
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
|
|
436
|
+
'wave_height',
|
|
437
|
+
'wave_direction',
|
|
438
|
+
'wave_period',
|
|
439
|
+
'wave_peak_period',
|
|
440
|
+
'wind_wave_height',
|
|
441
|
+
'wind_wave_direction',
|
|
442
|
+
'wind_wave_period',
|
|
443
|
+
'wind_wave_peak_period',
|
|
444
|
+
'swell_wave_height',
|
|
445
|
+
'swell_wave_direction',
|
|
446
|
+
'swell_wave_period',
|
|
447
|
+
'swell_wave_peak_period',
|
|
448
|
+
'secondary_swell_wave_height',
|
|
449
|
+
'secondary_swell_wave_period',
|
|
450
|
+
'secondary_swell_wave_direction',
|
|
451
|
+
'tertiary_swell_wave_height',
|
|
452
|
+
'tertiary_swell_wave_period',
|
|
453
|
+
'tertiary_swell_wave_direction',
|
|
454
|
+
'sea_level_height_msl',
|
|
455
|
+
'sea_surface_temperature',
|
|
456
|
+
'ocean_current_velocity',
|
|
457
|
+
'ocean_current_direction',
|
|
458
|
+
'invert_barometer_height',
|
|
459
|
+
],
|
|
286
460
|
},
|
|
287
|
-
description: 'Marine weather variables to retrieve'
|
|
461
|
+
description: 'Marine weather variables to retrieve',
|
|
288
462
|
},
|
|
289
463
|
daily: {
|
|
290
464
|
type: 'array',
|
|
291
465
|
items: {
|
|
292
466
|
type: 'string',
|
|
293
467
|
enum: [
|
|
294
|
-
'wave_height_max',
|
|
295
|
-
'
|
|
296
|
-
'
|
|
297
|
-
'
|
|
298
|
-
|
|
468
|
+
'wave_height_max',
|
|
469
|
+
'wave_direction_dominant',
|
|
470
|
+
'wave_period_max',
|
|
471
|
+
'wind_wave_height_max',
|
|
472
|
+
'wind_wave_direction_dominant',
|
|
473
|
+
'wind_wave_period_max',
|
|
474
|
+
'wind_wave_peak_period_max',
|
|
475
|
+
'swell_wave_height_max',
|
|
476
|
+
'swell_wave_direction_dominant',
|
|
477
|
+
'swell_wave_period_max',
|
|
478
|
+
'swell_wave_peak_period_max',
|
|
479
|
+
],
|
|
299
480
|
},
|
|
300
|
-
description: 'Daily marine weather variables to retrieve'
|
|
481
|
+
description: 'Daily marine weather variables to retrieve',
|
|
301
482
|
},
|
|
302
483
|
timezone: {
|
|
303
484
|
type: 'string',
|
|
304
|
-
description: 'Timezone for timestamps'
|
|
485
|
+
description: 'Timezone for timestamps',
|
|
305
486
|
},
|
|
306
487
|
past_days: {
|
|
307
488
|
type: 'integer',
|
|
308
489
|
minimum: 1,
|
|
309
490
|
maximum: 7,
|
|
310
|
-
description: 'Include past days data'
|
|
491
|
+
description: 'Include past days data',
|
|
311
492
|
},
|
|
312
493
|
forecast_days: {
|
|
313
494
|
type: 'integer',
|
|
314
495
|
minimum: 1,
|
|
315
496
|
maximum: 16,
|
|
316
497
|
default: 7,
|
|
317
|
-
description: 'Number of forecast days'
|
|
318
|
-
}
|
|
498
|
+
description: 'Number of forecast days',
|
|
499
|
+
},
|
|
319
500
|
},
|
|
320
|
-
required: ['latitude', 'longitude']
|
|
321
|
-
}
|
|
501
|
+
required: ['latitude', 'longitude'],
|
|
502
|
+
},
|
|
322
503
|
};
|
|
323
504
|
export const ELEVATION_TOOL = {
|
|
324
505
|
name: 'elevation',
|
|
@@ -330,54 +511,54 @@ export const ELEVATION_TOOL = {
|
|
|
330
511
|
type: 'number',
|
|
331
512
|
minimum: -90,
|
|
332
513
|
maximum: 90,
|
|
333
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
514
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
334
515
|
},
|
|
335
516
|
longitude: {
|
|
336
517
|
type: 'number',
|
|
337
518
|
minimum: -180,
|
|
338
519
|
maximum: 180,
|
|
339
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
340
|
-
}
|
|
520
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
521
|
+
},
|
|
341
522
|
},
|
|
342
|
-
required: ['latitude', 'longitude']
|
|
343
|
-
}
|
|
523
|
+
required: ['latitude', 'longitude'],
|
|
524
|
+
},
|
|
344
525
|
};
|
|
345
526
|
export const WEATHER_MODEL_TOOLS = [
|
|
346
527
|
{
|
|
347
528
|
name: 'dwd_icon_forecast',
|
|
348
529
|
description: 'Get weather forecast from German DWD ICON model. IMPORTANT: You must specify a DWD model in the `models` parameter (e.g., "dwd_icon_global").',
|
|
349
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
530
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
350
531
|
},
|
|
351
532
|
{
|
|
352
533
|
name: 'gfs_forecast',
|
|
353
534
|
description: 'Get weather forecast from US NOAA GFS model. IMPORTANT: You must specify a GFS model in the `models` parameter (e.g., "gfs_global").',
|
|
354
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
535
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
355
536
|
},
|
|
356
537
|
{
|
|
357
538
|
name: 'meteofrance_forecast',
|
|
358
539
|
description: 'Get weather forecast from French Météo-France models. IMPORTANT: You must specify a Météo-France model in the `models` parameter (e.g., "meteofrance_arome_france").',
|
|
359
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
540
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
360
541
|
},
|
|
361
542
|
{
|
|
362
543
|
name: 'ecmwf_forecast',
|
|
363
544
|
description: 'Get weather forecast from ECMWF models. IMPORTANT: You must specify an ECMWF model in the `models` parameter (e.g., "ecmwf_ifs_025").',
|
|
364
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
545
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
365
546
|
},
|
|
366
547
|
{
|
|
367
548
|
name: 'jma_forecast',
|
|
368
549
|
description: 'Get weather forecast from Japan Meteorological Agency (JMA) models. IMPORTANT: You must specify a JMA model in the `models` parameter (e.g., "jma_msm").',
|
|
369
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
550
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
370
551
|
},
|
|
371
552
|
{
|
|
372
553
|
name: 'metno_forecast',
|
|
373
554
|
description: 'Get weather forecast from Norwegian Meteorological Institute models. IMPORTANT: You must specify a Met.no model in the `models` parameter (e.g., "met_norway_nordic").',
|
|
374
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
555
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
375
556
|
},
|
|
376
557
|
{
|
|
377
558
|
name: 'gem_forecast',
|
|
378
559
|
description: 'Get weather forecast from Canadian Meteorological Centre (GEM) models. IMPORTANT: You must specify a GEM model in the `models` parameter (e.g., "gem_global").',
|
|
379
|
-
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
380
|
-
}
|
|
560
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema,
|
|
561
|
+
},
|
|
381
562
|
];
|
|
382
563
|
export const FLOOD_FORECAST_TOOL = {
|
|
383
564
|
name: 'flood_forecast',
|
|
@@ -389,49 +570,54 @@ export const FLOOD_FORECAST_TOOL = {
|
|
|
389
570
|
type: 'number',
|
|
390
571
|
minimum: -90,
|
|
391
572
|
maximum: 90,
|
|
392
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
573
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
393
574
|
},
|
|
394
575
|
longitude: {
|
|
395
576
|
type: 'number',
|
|
396
577
|
minimum: -180,
|
|
397
578
|
maximum: 180,
|
|
398
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
579
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
399
580
|
},
|
|
400
581
|
daily: {
|
|
401
582
|
type: 'array',
|
|
402
583
|
items: {
|
|
403
584
|
type: 'string',
|
|
404
585
|
enum: [
|
|
405
|
-
'river_discharge',
|
|
406
|
-
'
|
|
407
|
-
|
|
586
|
+
'river_discharge',
|
|
587
|
+
'river_discharge_mean',
|
|
588
|
+
'river_discharge_median',
|
|
589
|
+
'river_discharge_max',
|
|
590
|
+
'river_discharge_min',
|
|
591
|
+
'river_discharge_p25',
|
|
592
|
+
'river_discharge_p75',
|
|
593
|
+
],
|
|
408
594
|
},
|
|
409
|
-
description: 'River discharge variables to retrieve'
|
|
595
|
+
description: 'River discharge variables to retrieve',
|
|
410
596
|
},
|
|
411
597
|
timezone: {
|
|
412
598
|
type: 'string',
|
|
413
|
-
description: 'Timezone for timestamps'
|
|
599
|
+
description: 'Timezone for timestamps',
|
|
414
600
|
},
|
|
415
601
|
past_days: {
|
|
416
602
|
type: 'integer',
|
|
417
603
|
minimum: 1,
|
|
418
604
|
maximum: 7,
|
|
419
|
-
description: 'Include past days data'
|
|
605
|
+
description: 'Include past days data',
|
|
420
606
|
},
|
|
421
607
|
forecast_days: {
|
|
422
608
|
type: 'integer',
|
|
423
609
|
minimum: 1,
|
|
424
610
|
maximum: 210,
|
|
425
611
|
default: 92,
|
|
426
|
-
description: 'Number of forecast days (up to 210 days possible)'
|
|
612
|
+
description: 'Number of forecast days (up to 210 days possible)',
|
|
427
613
|
},
|
|
428
614
|
ensemble: {
|
|
429
615
|
type: 'boolean',
|
|
430
|
-
description: 'If true, all forecast ensemble members will be returned'
|
|
431
|
-
}
|
|
616
|
+
description: 'If true, all forecast ensemble members will be returned',
|
|
617
|
+
},
|
|
432
618
|
},
|
|
433
|
-
required: ['latitude', 'longitude']
|
|
434
|
-
}
|
|
619
|
+
required: ['latitude', 'longitude'],
|
|
620
|
+
},
|
|
435
621
|
};
|
|
436
622
|
export const SEASONAL_FORECAST_TOOL = {
|
|
437
623
|
name: 'seasonal_forecast',
|
|
@@ -443,83 +629,100 @@ export const SEASONAL_FORECAST_TOOL = {
|
|
|
443
629
|
type: 'number',
|
|
444
630
|
minimum: -90,
|
|
445
631
|
maximum: 90,
|
|
446
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
632
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
447
633
|
},
|
|
448
634
|
longitude: {
|
|
449
635
|
type: 'number',
|
|
450
636
|
minimum: -180,
|
|
451
637
|
maximum: 180,
|
|
452
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
638
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
453
639
|
},
|
|
454
640
|
hourly: {
|
|
455
641
|
type: 'array',
|
|
456
642
|
items: {
|
|
457
643
|
type: 'string',
|
|
458
644
|
enum: [
|
|
459
|
-
'pressure_msl',
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'
|
|
463
|
-
|
|
645
|
+
'pressure_msl',
|
|
646
|
+
'temperature_2m',
|
|
647
|
+
'temperature_2m_max',
|
|
648
|
+
'temperature_2m_min',
|
|
649
|
+
'shortwave_radiation',
|
|
650
|
+
'cloud_cover',
|
|
651
|
+
'precipitation',
|
|
652
|
+
'showers',
|
|
653
|
+
'wind_speed_10m',
|
|
654
|
+
'wind_direction_10m',
|
|
655
|
+
'relative_humidity_2m',
|
|
656
|
+
'soil_temperature_0_to_10cm',
|
|
657
|
+
'soil_moisture_0_to_10cm',
|
|
658
|
+
'soil_moisture_10_to_40cm',
|
|
659
|
+
'soil_moisture_40_to_100cm',
|
|
660
|
+
'soil_moisture_100_to_200cm',
|
|
661
|
+
],
|
|
464
662
|
},
|
|
465
|
-
description: '6-hourly weather variables to retrieve'
|
|
663
|
+
description: '6-hourly weather variables to retrieve',
|
|
466
664
|
},
|
|
467
665
|
daily: {
|
|
468
666
|
type: 'array',
|
|
469
667
|
items: {
|
|
470
668
|
type: 'string',
|
|
471
669
|
enum: [
|
|
472
|
-
'temperature_2m_max',
|
|
473
|
-
'
|
|
474
|
-
'
|
|
475
|
-
|
|
670
|
+
'temperature_2m_max',
|
|
671
|
+
'temperature_2m_min',
|
|
672
|
+
'shortwave_radiation_sum',
|
|
673
|
+
'precipitation_sum',
|
|
674
|
+
'rain_sum',
|
|
675
|
+
'precipitation_hours',
|
|
676
|
+
'wind_speed_10m_max',
|
|
677
|
+
'wind_direction_10m_dominant',
|
|
678
|
+
],
|
|
476
679
|
},
|
|
477
|
-
description: 'Daily weather variables to retrieve'
|
|
680
|
+
description: 'Daily weather variables to retrieve',
|
|
478
681
|
},
|
|
479
682
|
forecast_days: {
|
|
480
683
|
type: 'integer',
|
|
481
684
|
enum: [45, 92, 183, 274],
|
|
482
685
|
default: 92,
|
|
483
|
-
description: 'Number of forecast days: 45 days, 3 months (default), 6 months, or 9 months'
|
|
686
|
+
description: 'Number of forecast days: 45 days, 3 months (default), 6 months, or 9 months',
|
|
484
687
|
},
|
|
485
688
|
past_days: {
|
|
486
689
|
type: 'integer',
|
|
487
690
|
minimum: 0,
|
|
488
691
|
maximum: 92,
|
|
489
|
-
description: 'Include past days data'
|
|
692
|
+
description: 'Include past days data',
|
|
490
693
|
},
|
|
491
694
|
start_date: {
|
|
492
695
|
type: 'string',
|
|
493
696
|
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
494
|
-
description: 'Start date in YYYY-MM-DD format'
|
|
697
|
+
description: 'Start date in YYYY-MM-DD format',
|
|
495
698
|
},
|
|
496
699
|
end_date: {
|
|
497
700
|
type: 'string',
|
|
498
701
|
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
499
|
-
description: 'End date in YYYY-MM-DD format'
|
|
702
|
+
description: 'End date in YYYY-MM-DD format',
|
|
500
703
|
},
|
|
501
704
|
temperature_unit: {
|
|
502
705
|
type: 'string',
|
|
503
706
|
enum: ['celsius', 'fahrenheit'],
|
|
504
|
-
default: 'celsius'
|
|
707
|
+
default: 'celsius',
|
|
505
708
|
},
|
|
506
709
|
wind_speed_unit: {
|
|
507
710
|
type: 'string',
|
|
508
711
|
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
509
|
-
default: 'kmh'
|
|
712
|
+
default: 'kmh',
|
|
510
713
|
},
|
|
511
714
|
precipitation_unit: {
|
|
512
715
|
type: 'string',
|
|
513
716
|
enum: ['mm', 'inch'],
|
|
514
|
-
default: 'mm'
|
|
717
|
+
default: 'mm',
|
|
515
718
|
},
|
|
516
719
|
timezone: {
|
|
517
720
|
type: 'string',
|
|
518
|
-
description: 'Timezone for timestamps'
|
|
519
|
-
}
|
|
721
|
+
description: 'Timezone for timestamps',
|
|
722
|
+
},
|
|
520
723
|
},
|
|
521
|
-
required: ['latitude', 'longitude']
|
|
522
|
-
}
|
|
724
|
+
required: ['latitude', 'longitude'],
|
|
725
|
+
},
|
|
523
726
|
};
|
|
524
727
|
export const CLIMATE_PROJECTION_TOOL = {
|
|
525
728
|
name: 'climate_projection',
|
|
@@ -531,72 +734,87 @@ export const CLIMATE_PROJECTION_TOOL = {
|
|
|
531
734
|
type: 'number',
|
|
532
735
|
minimum: -90,
|
|
533
736
|
maximum: 90,
|
|
534
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
737
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
535
738
|
},
|
|
536
739
|
longitude: {
|
|
537
740
|
type: 'number',
|
|
538
741
|
minimum: -180,
|
|
539
742
|
maximum: 180,
|
|
540
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
743
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
541
744
|
},
|
|
542
745
|
daily: {
|
|
543
746
|
type: 'array',
|
|
544
747
|
items: {
|
|
545
748
|
type: 'string',
|
|
546
749
|
enum: [
|
|
547
|
-
'temperature_2m_max',
|
|
548
|
-
'
|
|
549
|
-
'
|
|
550
|
-
'
|
|
551
|
-
'
|
|
552
|
-
|
|
750
|
+
'temperature_2m_max',
|
|
751
|
+
'temperature_2m_min',
|
|
752
|
+
'temperature_2m_mean',
|
|
753
|
+
'cloud_cover_mean',
|
|
754
|
+
'relative_humidity_2m_max',
|
|
755
|
+
'relative_humidity_2m_min',
|
|
756
|
+
'relative_humidity_2m_mean',
|
|
757
|
+
'soil_moisture_0_to_10cm_mean',
|
|
758
|
+
'precipitation_sum',
|
|
759
|
+
'rain_sum',
|
|
760
|
+
'snowfall_sum',
|
|
761
|
+
'wind_speed_10m_mean',
|
|
762
|
+
'wind_speed_10m_max',
|
|
763
|
+
'pressure_msl_mean',
|
|
764
|
+
'shortwave_radiation_sum',
|
|
765
|
+
],
|
|
553
766
|
},
|
|
554
|
-
description: 'Climate projection variables to retrieve'
|
|
767
|
+
description: 'Climate projection variables to retrieve',
|
|
555
768
|
},
|
|
556
769
|
start_date: {
|
|
557
770
|
type: 'string',
|
|
558
771
|
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
559
|
-
description: 'Start date in YYYY-MM-DD format'
|
|
772
|
+
description: 'Start date in YYYY-MM-DD format',
|
|
560
773
|
},
|
|
561
774
|
end_date: {
|
|
562
775
|
type: 'string',
|
|
563
776
|
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
564
|
-
description: 'End date in YYYY-MM-DD format'
|
|
777
|
+
description: 'End date in YYYY-MM-DD format',
|
|
565
778
|
},
|
|
566
779
|
models: {
|
|
567
780
|
type: 'array',
|
|
568
781
|
items: {
|
|
569
782
|
type: 'string',
|
|
570
783
|
enum: [
|
|
571
|
-
'CMCC_CM2_VHR4',
|
|
572
|
-
'
|
|
573
|
-
|
|
784
|
+
'CMCC_CM2_VHR4',
|
|
785
|
+
'FGOALS_f3_H',
|
|
786
|
+
'HiRAM_SIT_HR',
|
|
787
|
+
'MRI_AGCM3_2_S',
|
|
788
|
+
'EC_Earth3P_HR',
|
|
789
|
+
'MPI_ESM1_2_XR',
|
|
790
|
+
'NICAM16_8S',
|
|
791
|
+
],
|
|
574
792
|
},
|
|
575
|
-
description: 'CMIP6 climate models to use'
|
|
793
|
+
description: 'CMIP6 climate models to use',
|
|
576
794
|
},
|
|
577
795
|
temperature_unit: {
|
|
578
796
|
type: 'string',
|
|
579
797
|
enum: ['celsius', 'fahrenheit'],
|
|
580
|
-
default: 'celsius'
|
|
798
|
+
default: 'celsius',
|
|
581
799
|
},
|
|
582
800
|
wind_speed_unit: {
|
|
583
801
|
type: 'string',
|
|
584
802
|
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
585
|
-
default: 'kmh'
|
|
803
|
+
default: 'kmh',
|
|
586
804
|
},
|
|
587
805
|
precipitation_unit: {
|
|
588
806
|
type: 'string',
|
|
589
807
|
enum: ['mm', 'inch'],
|
|
590
|
-
default: 'mm'
|
|
808
|
+
default: 'mm',
|
|
591
809
|
},
|
|
592
810
|
disable_bias_correction: {
|
|
593
811
|
type: 'boolean',
|
|
594
812
|
default: false,
|
|
595
|
-
description: 'Disable statistical downscaling and bias correction'
|
|
596
|
-
}
|
|
813
|
+
description: 'Disable statistical downscaling and bias correction',
|
|
814
|
+
},
|
|
597
815
|
},
|
|
598
|
-
required: ['latitude', 'longitude', 'start_date', 'end_date', 'models', 'daily']
|
|
599
|
-
}
|
|
816
|
+
required: ['latitude', 'longitude', 'start_date', 'end_date', 'models', 'daily'],
|
|
817
|
+
},
|
|
600
818
|
};
|
|
601
819
|
export const ENSEMBLE_FORECAST_TOOL = {
|
|
602
820
|
name: 'ensemble_forecast',
|
|
@@ -608,13 +826,13 @@ export const ENSEMBLE_FORECAST_TOOL = {
|
|
|
608
826
|
type: 'number',
|
|
609
827
|
minimum: -90,
|
|
610
828
|
maximum: 90,
|
|
611
|
-
description: 'Latitude in WGS84 coordinate system'
|
|
829
|
+
description: 'Latitude in WGS84 coordinate system',
|
|
612
830
|
},
|
|
613
831
|
longitude: {
|
|
614
832
|
type: 'number',
|
|
615
833
|
minimum: -180,
|
|
616
834
|
maximum: 180,
|
|
617
|
-
description: 'Longitude in WGS84 coordinate system'
|
|
835
|
+
description: 'Longitude in WGS84 coordinate system',
|
|
618
836
|
},
|
|
619
837
|
models: {
|
|
620
838
|
type: 'array',
|
|
@@ -636,79 +854,135 @@ export const ENSEMBLE_FORECAST_TOOL = {
|
|
|
636
854
|
'ukmo_global_20km',
|
|
637
855
|
'ukmo_uk_2km',
|
|
638
856
|
'meteoswiss_icon_ch1',
|
|
639
|
-
'meteoswiss_icon_ch2'
|
|
640
|
-
]
|
|
857
|
+
'meteoswiss_icon_ch2',
|
|
858
|
+
],
|
|
641
859
|
},
|
|
642
|
-
description: 'Ensemble models to use'
|
|
860
|
+
description: 'Ensemble models to use',
|
|
643
861
|
},
|
|
644
862
|
hourly: {
|
|
645
863
|
type: 'array',
|
|
646
864
|
items: {
|
|
647
865
|
type: 'string',
|
|
648
866
|
enum: [
|
|
649
|
-
'temperature_2m',
|
|
650
|
-
'
|
|
651
|
-
'
|
|
652
|
-
'
|
|
653
|
-
'
|
|
654
|
-
'
|
|
655
|
-
'
|
|
656
|
-
'
|
|
657
|
-
'
|
|
658
|
-
|
|
867
|
+
'temperature_2m',
|
|
868
|
+
'relative_humidity_2m',
|
|
869
|
+
'dew_point_2m',
|
|
870
|
+
'apparent_temperature',
|
|
871
|
+
'precipitation',
|
|
872
|
+
'rain',
|
|
873
|
+
'snowfall',
|
|
874
|
+
'snow_depth',
|
|
875
|
+
'weather_code',
|
|
876
|
+
'pressure_msl',
|
|
877
|
+
'surface_pressure',
|
|
878
|
+
'cloud_cover',
|
|
879
|
+
'visibility',
|
|
880
|
+
'wind_speed_10m',
|
|
881
|
+
'wind_direction_10m',
|
|
882
|
+
'wind_gusts_10m',
|
|
883
|
+
'wind_speed_80m',
|
|
884
|
+
'wind_direction_80m',
|
|
885
|
+
'wind_speed_100m',
|
|
886
|
+
'wind_direction_100m',
|
|
887
|
+
'surface_temperature',
|
|
888
|
+
'soil_temperature_0_to_10cm',
|
|
889
|
+
'cape',
|
|
890
|
+
'et0_fao_evapotranspiration',
|
|
891
|
+
'vapour_pressure_deficit',
|
|
892
|
+
'shortwave_radiation',
|
|
893
|
+
'uv_index',
|
|
894
|
+
'uv_index_clear_sky',
|
|
895
|
+
'temperature_3h_min_2m',
|
|
896
|
+
'temperature_3h_max_2m',
|
|
897
|
+
'wet_bulb_temperature_2m',
|
|
898
|
+
'convective_inhibition',
|
|
899
|
+
'freezing_level_height',
|
|
900
|
+
'snowfall_height',
|
|
901
|
+
'sunshine_duration',
|
|
902
|
+
'snowfall_water_equivalent',
|
|
903
|
+
'snow_depth_water_equivalent',
|
|
904
|
+
],
|
|
659
905
|
},
|
|
660
|
-
description: 'Hourly weather variables to retrieve'
|
|
906
|
+
description: 'Hourly weather variables to retrieve',
|
|
661
907
|
},
|
|
662
908
|
daily: {
|
|
663
909
|
type: 'array',
|
|
664
910
|
items: {
|
|
665
911
|
type: 'string',
|
|
666
912
|
enum: [
|
|
667
|
-
'temperature_2m_mean',
|
|
668
|
-
'
|
|
669
|
-
'
|
|
670
|
-
'
|
|
671
|
-
'
|
|
672
|
-
'
|
|
673
|
-
'
|
|
674
|
-
'
|
|
675
|
-
'
|
|
676
|
-
'
|
|
677
|
-
'
|
|
678
|
-
'
|
|
679
|
-
|
|
913
|
+
'temperature_2m_mean',
|
|
914
|
+
'temperature_2m_min',
|
|
915
|
+
'temperature_2m_max',
|
|
916
|
+
'apparent_temperature_mean',
|
|
917
|
+
'apparent_temperature_min',
|
|
918
|
+
'apparent_temperature_max',
|
|
919
|
+
'wind_speed_10m_mean',
|
|
920
|
+
'wind_speed_10m_min',
|
|
921
|
+
'wind_speed_10m_max',
|
|
922
|
+
'wind_direction_10m_dominant',
|
|
923
|
+
'wind_gusts_10m_mean',
|
|
924
|
+
'wind_gusts_10m_min',
|
|
925
|
+
'wind_gusts_10m_max',
|
|
926
|
+
'wind_speed_100m_mean',
|
|
927
|
+
'wind_speed_100m_min',
|
|
928
|
+
'wind_speed_100m_max',
|
|
929
|
+
'wind_direction_100m_dominant',
|
|
930
|
+
'precipitation_sum',
|
|
931
|
+
'precipitation_hours',
|
|
932
|
+
'rain_sum',
|
|
933
|
+
'snowfall_sum',
|
|
934
|
+
'pressure_msl_mean',
|
|
935
|
+
'pressure_msl_min',
|
|
936
|
+
'pressure_msl_max',
|
|
937
|
+
'surface_pressure_mean',
|
|
938
|
+
'surface_pressure_min',
|
|
939
|
+
'surface_pressure_max',
|
|
940
|
+
'cloud_cover_mean',
|
|
941
|
+
'cloud_cover_min',
|
|
942
|
+
'cloud_cover_max',
|
|
943
|
+
'relative_humidity_2m_mean',
|
|
944
|
+
'relative_humidity_2m_min',
|
|
945
|
+
'relative_humidity_2m_max',
|
|
946
|
+
'dew_point_2m_mean',
|
|
947
|
+
'dew_point_2m_min',
|
|
948
|
+
'dew_point_2m_max',
|
|
949
|
+
'cape_mean',
|
|
950
|
+
'cape_min',
|
|
951
|
+
'cape_max',
|
|
952
|
+
'shortwave_radiation_sum',
|
|
953
|
+
],
|
|
680
954
|
},
|
|
681
|
-
description: 'Daily weather variables to retrieve'
|
|
955
|
+
description: 'Daily weather variables to retrieve',
|
|
682
956
|
},
|
|
683
957
|
forecast_days: {
|
|
684
958
|
type: 'integer',
|
|
685
959
|
minimum: 1,
|
|
686
960
|
maximum: 35,
|
|
687
961
|
default: 7,
|
|
688
|
-
description: 'Number of forecast days'
|
|
962
|
+
description: 'Number of forecast days',
|
|
689
963
|
},
|
|
690
964
|
temperature_unit: {
|
|
691
965
|
type: 'string',
|
|
692
966
|
enum: ['celsius', 'fahrenheit'],
|
|
693
|
-
default: 'celsius'
|
|
967
|
+
default: 'celsius',
|
|
694
968
|
},
|
|
695
969
|
wind_speed_unit: {
|
|
696
970
|
type: 'string',
|
|
697
971
|
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
698
|
-
default: 'kmh'
|
|
972
|
+
default: 'kmh',
|
|
699
973
|
},
|
|
700
974
|
precipitation_unit: {
|
|
701
975
|
type: 'string',
|
|
702
976
|
enum: ['mm', 'inch'],
|
|
703
|
-
default: 'mm'
|
|
977
|
+
default: 'mm',
|
|
704
978
|
},
|
|
705
979
|
timezone: {
|
|
706
980
|
type: 'string',
|
|
707
|
-
description: 'Timezone for timestamps'
|
|
708
|
-
}
|
|
981
|
+
description: 'Timezone for timestamps',
|
|
982
|
+
},
|
|
709
983
|
},
|
|
710
|
-
required: ['latitude', 'longitude', 'models']
|
|
711
|
-
}
|
|
984
|
+
required: ['latitude', 'longitude', 'models'],
|
|
985
|
+
},
|
|
712
986
|
};
|
|
713
987
|
export const GEOCODING_TOOL = {
|
|
714
988
|
name: 'geocoding',
|
|
@@ -719,33 +993,33 @@ export const GEOCODING_TOOL = {
|
|
|
719
993
|
name: {
|
|
720
994
|
type: 'string',
|
|
721
995
|
minLength: 2,
|
|
722
|
-
description: 'Place name or postal code to search for. Minimum 2 characters required. Examples: "Paris", "Berlin", "75001", "10967"'
|
|
996
|
+
description: 'Place name or postal code to search for. Minimum 2 characters required. Examples: "Paris", "Berlin", "75001", "10967"',
|
|
723
997
|
},
|
|
724
998
|
count: {
|
|
725
999
|
type: 'integer',
|
|
726
1000
|
minimum: 1,
|
|
727
1001
|
maximum: 100,
|
|
728
1002
|
default: 10,
|
|
729
|
-
description: 'Number of search results to return (maximum 100)'
|
|
1003
|
+
description: 'Number of search results to return (maximum 100)',
|
|
730
1004
|
},
|
|
731
1005
|
language: {
|
|
732
1006
|
type: 'string',
|
|
733
|
-
description: 'Language code for translated results (e.g., "fr", "en", "de"). Returns translated results if available, otherwise in English or native language.'
|
|
1007
|
+
description: 'Language code for translated results (e.g., "fr", "en", "de"). Returns translated results if available, otherwise in English or native language.',
|
|
734
1008
|
},
|
|
735
1009
|
countryCode: {
|
|
736
1010
|
type: 'string',
|
|
737
1011
|
pattern: '^[A-Z]{2}$',
|
|
738
|
-
description: 'ISO-3166-1 alpha2 country code to filter results (e.g., "FR", "DE", "US"). Limits search to a specific country.'
|
|
1012
|
+
description: 'ISO-3166-1 alpha2 country code to filter results (e.g., "FR", "DE", "US"). Limits search to a specific country.',
|
|
739
1013
|
},
|
|
740
1014
|
format: {
|
|
741
1015
|
type: 'string',
|
|
742
1016
|
enum: ['json', 'protobuf'],
|
|
743
1017
|
default: 'json',
|
|
744
|
-
description: 'Return format for results'
|
|
745
|
-
}
|
|
1018
|
+
description: 'Return format for results',
|
|
1019
|
+
},
|
|
746
1020
|
},
|
|
747
|
-
required: ['name']
|
|
748
|
-
}
|
|
1021
|
+
required: ['name'],
|
|
1022
|
+
},
|
|
749
1023
|
};
|
|
750
1024
|
export const ALL_TOOLS = [
|
|
751
1025
|
WEATHER_FORECAST_TOOL,
|
|
@@ -758,6 +1032,6 @@ export const ALL_TOOLS = [
|
|
|
758
1032
|
CLIMATE_PROJECTION_TOOL,
|
|
759
1033
|
ENSEMBLE_FORECAST_TOOL,
|
|
760
1034
|
GEOCODING_TOOL,
|
|
761
|
-
...WEATHER_MODEL_TOOLS
|
|
1035
|
+
...WEATHER_MODEL_TOOLS,
|
|
762
1036
|
];
|
|
763
1037
|
//# sourceMappingURL=tools.js.map
|