@tiangong-ai/cli 0.0.51 → 0.0.55
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/AGENTS.md +22 -2
- package/README.md +171 -7
- package/dist/cli.js +10 -1
- package/dist/cli.js.map +1 -1
- package/dist/data/builtins.d.ts +1 -0
- package/dist/data/builtins.js +40 -0
- package/dist/data/builtins.js.map +1 -0
- package/dist/data/catalog.d.ts +25 -0
- package/dist/data/catalog.js +305 -0
- package/dist/data/catalog.js.map +1 -0
- package/dist/data/commands.d.ts +9 -0
- package/dist/data/commands.js +307 -0
- package/dist/data/commands.js.map +1 -0
- package/dist/data/connectors/airnow-hourly-observations.d.ts +2 -0
- package/dist/data/connectors/airnow-hourly-observations.js +522 -0
- package/dist/data/connectors/airnow-hourly-observations.js.map +1 -0
- package/dist/data/connectors/airnow-hourly-observations.schemas.d.ts +299 -0
- package/dist/data/connectors/airnow-hourly-observations.schemas.js +188 -0
- package/dist/data/connectors/airnow-hourly-observations.schemas.js.map +1 -0
- package/dist/data/connectors/bluesky-public-posts.d.ts +2 -0
- package/dist/data/connectors/bluesky-public-posts.js +705 -0
- package/dist/data/connectors/bluesky-public-posts.js.map +1 -0
- package/dist/data/connectors/bluesky-public-posts.schemas.d.ts +733 -0
- package/dist/data/connectors/bluesky-public-posts.schemas.js +422 -0
- package/dist/data/connectors/bluesky-public-posts.schemas.js.map +1 -0
- package/dist/data/connectors/epa-eis-records.d.ts +2 -0
- package/dist/data/connectors/epa-eis-records.js +566 -0
- package/dist/data/connectors/epa-eis-records.js.map +1 -0
- package/dist/data/connectors/epa-eis-records.schemas.d.ts +199 -0
- package/dist/data/connectors/epa-eis-records.schemas.js +146 -0
- package/dist/data/connectors/epa-eis-records.schemas.js.map +1 -0
- package/dist/data/connectors/federal-register-documents.d.ts +2 -0
- package/dist/data/connectors/federal-register-documents.js +517 -0
- package/dist/data/connectors/federal-register-documents.js.map +1 -0
- package/dist/data/connectors/federal-register-documents.schemas.d.ts +357 -0
- package/dist/data/connectors/federal-register-documents.schemas.js +243 -0
- package/dist/data/connectors/federal-register-documents.schemas.js.map +1 -0
- package/dist/data/connectors/gdelt-doc-search.d.ts +2 -0
- package/dist/data/connectors/gdelt-doc-search.js +658 -0
- package/dist/data/connectors/gdelt-doc-search.js.map +1 -0
- package/dist/data/connectors/gdelt-doc-search.schemas.d.ts +446 -0
- package/dist/data/connectors/gdelt-doc-search.schemas.js +330 -0
- package/dist/data/connectors/gdelt-doc-search.schemas.js.map +1 -0
- package/dist/data/connectors/gdelt-file-feeds.d.ts +4 -0
- package/dist/data/connectors/gdelt-file-feeds.js +591 -0
- package/dist/data/connectors/gdelt-file-feeds.js.map +1 -0
- package/dist/data/connectors/gdelt-file-feeds.schemas.d.ts +40 -0
- package/dist/data/connectors/gdelt-file-feeds.schemas.js +256 -0
- package/dist/data/connectors/gdelt-file-feeds.schemas.js.map +1 -0
- package/dist/data/connectors/nasa-firms-fire.d.ts +2 -0
- package/dist/data/connectors/nasa-firms-fire.js +578 -0
- package/dist/data/connectors/nasa-firms-fire.js.map +1 -0
- package/dist/data/connectors/nasa-firms-fire.schemas.d.ts +369 -0
- package/dist/data/connectors/nasa-firms-fire.schemas.js +238 -0
- package/dist/data/connectors/nasa-firms-fire.schemas.js.map +1 -0
- package/dist/data/connectors/open-meteo-air-quality.d.ts +2 -0
- package/dist/data/connectors/open-meteo-air-quality.js +401 -0
- package/dist/data/connectors/open-meteo-air-quality.js.map +1 -0
- package/dist/data/connectors/open-meteo-air-quality.schemas.d.ts +335 -0
- package/dist/data/connectors/open-meteo-air-quality.schemas.js +225 -0
- package/dist/data/connectors/open-meteo-air-quality.schemas.js.map +1 -0
- package/dist/data/connectors/open-meteo-flood.d.ts +2 -0
- package/dist/data/connectors/open-meteo-flood.js +446 -0
- package/dist/data/connectors/open-meteo-flood.js.map +1 -0
- package/dist/data/connectors/open-meteo-flood.schemas.d.ts +388 -0
- package/dist/data/connectors/open-meteo-flood.schemas.js +227 -0
- package/dist/data/connectors/open-meteo-flood.schemas.js.map +1 -0
- package/dist/data/connectors/open-meteo-historical-weather.d.ts +2 -0
- package/dist/data/connectors/open-meteo-historical-weather.js +468 -0
- package/dist/data/connectors/open-meteo-historical-weather.js.map +1 -0
- package/dist/data/connectors/open-meteo-historical-weather.schemas.d.ts +420 -0
- package/dist/data/connectors/open-meteo-historical-weather.schemas.js +282 -0
- package/dist/data/connectors/open-meteo-historical-weather.schemas.js.map +1 -0
- package/dist/data/connectors/openaq-air-quality.d.ts +2 -0
- package/dist/data/connectors/openaq-air-quality.js +734 -0
- package/dist/data/connectors/openaq-air-quality.js.map +1 -0
- package/dist/data/connectors/openaq-air-quality.schemas.d.ts +1067 -0
- package/dist/data/connectors/openaq-air-quality.schemas.js +512 -0
- package/dist/data/connectors/openaq-air-quality.schemas.js.map +1 -0
- package/dist/data/connectors/regulations-gov-attachments.d.ts +2 -0
- package/dist/data/connectors/regulations-gov-attachments.js +486 -0
- package/dist/data/connectors/regulations-gov-attachments.js.map +1 -0
- package/dist/data/connectors/regulations-gov-attachments.schemas.d.ts +270 -0
- package/dist/data/connectors/regulations-gov-attachments.schemas.js +181 -0
- package/dist/data/connectors/regulations-gov-attachments.schemas.js.map +1 -0
- package/dist/data/connectors/regulations-gov-comments.d.ts +2 -0
- package/dist/data/connectors/regulations-gov-comments.js +718 -0
- package/dist/data/connectors/regulations-gov-comments.js.map +1 -0
- package/dist/data/connectors/regulations-gov-comments.schemas.d.ts +717 -0
- package/dist/data/connectors/regulations-gov-comments.schemas.js +389 -0
- package/dist/data/connectors/regulations-gov-comments.schemas.js.map +1 -0
- package/dist/data/connectors/usbr-project-records.d.ts +2 -0
- package/dist/data/connectors/usbr-project-records.js +467 -0
- package/dist/data/connectors/usbr-project-records.js.map +1 -0
- package/dist/data/connectors/usbr-project-records.schemas.d.ts +194 -0
- package/dist/data/connectors/usbr-project-records.schemas.js +137 -0
- package/dist/data/connectors/usbr-project-records.schemas.js.map +1 -0
- package/dist/data/connectors/usbr-rise.d.ts +2 -0
- package/dist/data/connectors/usbr-rise.js +625 -0
- package/dist/data/connectors/usbr-rise.js.map +1 -0
- package/dist/data/connectors/usbr-rise.schemas.d.ts +623 -0
- package/dist/data/connectors/usbr-rise.schemas.js +407 -0
- package/dist/data/connectors/usbr-rise.schemas.js.map +1 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.d.ts +2 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.js +521 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.js.map +1 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.schemas.d.ts +496 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.schemas.js +309 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.schemas.js.map +1 -0
- package/dist/data/connectors/youtube-public-content.d.ts +2 -0
- package/dist/data/connectors/youtube-public-content.js +974 -0
- package/dist/data/connectors/youtube-public-content.js.map +1 -0
- package/dist/data/connectors/youtube-public-content.schemas.d.ts +773 -0
- package/dist/data/connectors/youtube-public-content.schemas.js +567 -0
- package/dist/data/connectors/youtube-public-content.schemas.js.map +1 -0
- package/dist/data/contracts.d.ts +374 -0
- package/dist/data/contracts.js +10 -0
- package/dist/data/contracts.js.map +1 -0
- package/dist/data/runtime/artifacts.d.ts +6 -0
- package/dist/data/runtime/artifacts.js +103 -0
- package/dist/data/runtime/artifacts.js.map +1 -0
- package/dist/data/runtime/bounded-http.d.ts +10 -0
- package/dist/data/runtime/bounded-http.js +403 -0
- package/dist/data/runtime/bounded-http.js.map +1 -0
- package/dist/data/runtime/canonical-json.d.ts +3 -0
- package/dist/data/runtime/canonical-json.js +59 -0
- package/dist/data/runtime/canonical-json.js.map +1 -0
- package/dist/data/runtime/credentials.d.ts +14 -0
- package/dist/data/runtime/credentials.js +67 -0
- package/dist/data/runtime/credentials.js.map +1 -0
- package/dist/data/runtime/csv.d.ts +4 -0
- package/dist/data/runtime/csv.js +51 -0
- package/dist/data/runtime/csv.js.map +1 -0
- package/dist/data/runtime/errors.d.ts +22 -0
- package/dist/data/runtime/errors.js +101 -0
- package/dist/data/runtime/errors.js.map +1 -0
- package/dist/data/runtime/execute.d.ts +11 -0
- package/dist/data/runtime/execute.js +358 -0
- package/dist/data/runtime/execute.js.map +1 -0
- package/dist/data/runtime/receipts.d.ts +13 -0
- package/dist/data/runtime/receipts.js +38 -0
- package/dist/data/runtime/receipts.js.map +1 -0
- package/dist/data/schemas/catalog.v1.json +73 -0
- package/dist/data/schemas/core-receipt.v1.json +117 -0
- package/dist/data/schemas/describe.v1.json +24 -0
- package/dist/data/schemas/discovery.v1.json +130 -0
- package/dist/data/schemas/doctor.v1.json +40 -0
- package/dist/data/schemas/error.v1.json +48 -0
- package/dist/data/schemas/manifest.v1.json +174 -0
- package/dist/data/schemas/run-request.v1.json +37 -0
- package/dist/data/schemas/run-result.v1.json +77 -0
- package/dist/data/schemas.d.ts +27 -0
- package/dist/data/schemas.js +69 -0
- package/dist/data/schemas.js.map +1 -0
- package/dist/env.js.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/http.js.map +1 -1
- package/dist/kb/config.js.map +1 -1
- package/dist/kb/pipeline-health.js.map +1 -1
- package/dist/research/orchestration.js +54 -7
- package/dist/research/orchestration.js.map +1 -1
- package/dist/research/workspace/acquisition.js.map +1 -1
- package/dist/research/workspace/audit-bundle.js +7 -2
- package/dist/research/workspace/audit-bundle.js.map +1 -1
- package/dist/research/workspace/broker.js.map +1 -1
- package/dist/research/workspace/constants.js.map +1 -1
- package/dist/research/workspace/credentials.d.ts +3 -0
- package/dist/research/workspace/credentials.js +20 -3
- package/dist/research/workspace/credentials.js.map +1 -1
- package/dist/research/workspace/data-evidence-adapter.d.ts +60 -0
- package/dist/research/workspace/data-evidence-adapter.js +314 -0
- package/dist/research/workspace/data-evidence-adapter.js.map +1 -0
- package/dist/research/workspace/discovery-status.js +10 -7
- package/dist/research/workspace/discovery-status.js.map +1 -1
- package/dist/research/workspace/discovery.js +12 -11
- package/dist/research/workspace/discovery.js.map +1 -1
- package/dist/research/workspace/evidence-ledger.d.ts +8 -1
- package/dist/research/workspace/evidence-ledger.js +46 -2
- package/dist/research/workspace/evidence-ledger.js.map +1 -1
- package/dist/research/workspace/evidence.d.ts +31 -0
- package/dist/research/workspace/evidence.js +77 -0
- package/dist/research/workspace/evidence.js.map +1 -1
- package/dist/research/workspace/executor.js.map +1 -1
- package/dist/research/workspace/external-skills.d.ts +49 -49
- package/dist/research/workspace/external-skills.js.map +1 -1
- package/dist/research/workspace/platform-capabilities.js.map +1 -1
- package/dist/research/workspace/preflight.d.ts +4 -4
- package/dist/research/workspace/preflight.js +33 -8
- package/dist/research/workspace/preflight.js.map +1 -1
- package/dist/research/workspace/projects.js.map +1 -1
- package/dist/research/workspace/publication.js.map +1 -1
- package/dist/research/workspace/research-policy-wizard.js.map +1 -1
- package/dist/research/workspace/research-policy.js.map +1 -1
- package/dist/research/workspace/runtime.d.ts +7 -0
- package/dist/research/workspace/runtime.js +77 -20
- package/dist/research/workspace/runtime.js.map +1 -1
- package/dist/research/workspace/sanitization.js.map +1 -1
- package/dist/research/workspace/schemas.js +1 -1
- package/dist/research/workspace/schemas.js.map +1 -1
- package/dist/research/workspace/scientific-design.js.map +1 -1
- package/dist/research/workspace/scientific-review.js.map +1 -1
- package/dist/research/workspace/setup-catalog.d.ts +9 -9
- package/dist/research/workspace/setup-catalog.js +2 -2
- package/dist/research/workspace/setup-catalog.js.map +1 -1
- package/dist/research/workspace/setup-declarative.js.map +1 -1
- package/dist/research/workspace/setup-instructions.d.ts +42 -0
- package/dist/research/workspace/setup-instructions.js +413 -0
- package/dist/research/workspace/setup-instructions.js.map +1 -0
- package/dist/research/workspace/setup-invocation.js.map +1 -1
- package/dist/research/workspace/setup-wizard.js +7 -0
- package/dist/research/workspace/setup-wizard.js.map +1 -1
- package/dist/research/workspace/setup.d.ts +18 -15
- package/dist/research/workspace/setup.js +68 -3
- package/dist/research/workspace/setup.js.map +1 -1
- package/dist/research/workspace/workspace.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
export declare const OPEN_METEO_HISTORICAL_HOURLY_VARIABLES: readonly ["cloud_cover", "precipitation", "pressure_msl", "rain", "relative_humidity_2m", "shortwave_radiation", "snowfall", "soil_moisture_0_to_7cm", "soil_temperature_0_to_7cm", "temperature_2m", "wind_direction_10m", "wind_speed_10m"];
|
|
2
|
+
export declare const OPEN_METEO_HISTORICAL_DAILY_VARIABLES: readonly ["apparent_temperature_max", "apparent_temperature_min", "et0_fao_evapotranspiration", "precipitation_hours", "precipitation_sum", "rain_sum", "snowfall_sum", "sunshine_duration", "temperature_2m_max", "temperature_2m_min", "weather_code", "wind_speed_10m_max"];
|
|
3
|
+
export declare const OPEN_METEO_HISTORICAL_MODELS: readonly ["best_match", "cerra", "ecmwf_ifs", "ecmwf_ifs_analysis_long_window", "era5", "era5_ensemble", "era5_land", "era5_seamless"];
|
|
4
|
+
export declare const OPEN_METEO_HISTORICAL_WEATHER_INPUT_SCHEMA: {
|
|
5
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
6
|
+
readonly $id: "https://schemas.tiangong.ai/data/open-meteo/historical-weather-input.v1.json";
|
|
7
|
+
readonly type: "object";
|
|
8
|
+
readonly additionalProperties: false;
|
|
9
|
+
readonly required: readonly ["locations", "startDate", "endDate", "hourlyVariables", "dailyVariables"];
|
|
10
|
+
readonly properties: {
|
|
11
|
+
readonly locations: {
|
|
12
|
+
readonly type: "array";
|
|
13
|
+
readonly minItems: 1;
|
|
14
|
+
readonly maxItems: 10;
|
|
15
|
+
readonly description: "One to ten coordinates. Results preserve request order and separately report the selected model-grid coordinate.";
|
|
16
|
+
readonly examples: readonly [readonly [{
|
|
17
|
+
readonly latitude: 52.52;
|
|
18
|
+
readonly longitude: 13.41;
|
|
19
|
+
}]];
|
|
20
|
+
readonly items: {
|
|
21
|
+
readonly type: "object";
|
|
22
|
+
readonly additionalProperties: false;
|
|
23
|
+
readonly required: readonly ["latitude", "longitude"];
|
|
24
|
+
readonly description: "One WGS84 coordinate for historical weather reanalysis grid selection.";
|
|
25
|
+
readonly examples: readonly [{
|
|
26
|
+
readonly latitude: 52.52;
|
|
27
|
+
readonly longitude: 13.41;
|
|
28
|
+
}];
|
|
29
|
+
readonly properties: {
|
|
30
|
+
readonly latitude: {
|
|
31
|
+
readonly type: "number";
|
|
32
|
+
readonly minimum: -90;
|
|
33
|
+
readonly maximum: 90;
|
|
34
|
+
readonly description: "Requested WGS84 latitude in decimal degrees.";
|
|
35
|
+
readonly examples: readonly [52.52];
|
|
36
|
+
};
|
|
37
|
+
readonly longitude: {
|
|
38
|
+
readonly type: "number";
|
|
39
|
+
readonly minimum: -180;
|
|
40
|
+
readonly maximum: 180;
|
|
41
|
+
readonly description: "Requested WGS84 longitude in decimal degrees.";
|
|
42
|
+
readonly examples: readonly [13.41];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
readonly startDate: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
50
|
+
readonly description: "Inclusive first historical date in YYYY-MM-DD form. Together with endDate, the window may contain at most 366 dates.";
|
|
51
|
+
readonly examples: readonly ["2024-01-01"];
|
|
52
|
+
};
|
|
53
|
+
readonly endDate: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
56
|
+
readonly description: "Inclusive last historical date in YYYY-MM-DD form; it must not precede startDate.";
|
|
57
|
+
readonly examples: readonly ["2024-01-31"];
|
|
58
|
+
};
|
|
59
|
+
readonly hourlyVariables: {
|
|
60
|
+
readonly type: "array";
|
|
61
|
+
readonly maxItems: 12;
|
|
62
|
+
readonly uniqueItems: true;
|
|
63
|
+
readonly description: "Zero to twelve curated Open-Meteo hourly historical-weather variable codes. Use an empty array for daily-only retrieval.";
|
|
64
|
+
readonly examples: readonly [readonly ["temperature_2m", "precipitation"]];
|
|
65
|
+
readonly items: {
|
|
66
|
+
readonly enum: readonly ["cloud_cover", "precipitation", "pressure_msl", "rain", "relative_humidity_2m", "shortwave_radiation", "snowfall", "soil_moisture_0_to_7cm", "soil_temperature_0_to_7cm", "temperature_2m", "wind_direction_10m", "wind_speed_10m"];
|
|
67
|
+
readonly description: "One documented hourly historical-weather variable code.";
|
|
68
|
+
readonly examples: readonly ["temperature_2m"];
|
|
69
|
+
};
|
|
70
|
+
readonly minItems: 0;
|
|
71
|
+
};
|
|
72
|
+
readonly dailyVariables: {
|
|
73
|
+
readonly type: "array";
|
|
74
|
+
readonly maxItems: 12;
|
|
75
|
+
readonly uniqueItems: true;
|
|
76
|
+
readonly description: "Zero to twelve curated numeric Open-Meteo daily historical-weather variable codes. Use an empty array for hourly-only retrieval.";
|
|
77
|
+
readonly examples: readonly [readonly ["temperature_2m_max", "precipitation_sum"]];
|
|
78
|
+
readonly items: {
|
|
79
|
+
readonly enum: readonly ["apparent_temperature_max", "apparent_temperature_min", "et0_fao_evapotranspiration", "precipitation_hours", "precipitation_sum", "rain_sum", "snowfall_sum", "sunshine_duration", "temperature_2m_max", "temperature_2m_min", "weather_code", "wind_speed_10m_max"];
|
|
80
|
+
readonly description: "One documented numeric daily historical-weather variable code.";
|
|
81
|
+
readonly examples: readonly ["temperature_2m_max"];
|
|
82
|
+
};
|
|
83
|
+
readonly minItems: 0;
|
|
84
|
+
};
|
|
85
|
+
readonly model: {
|
|
86
|
+
readonly enum: readonly ["best_match", "cerra", "ecmwf_ifs", "ecmwf_ifs_analysis_long_window", "era5", "era5_ensemble", "era5_land", "era5_seamless"];
|
|
87
|
+
readonly description: "One provider model. best_match favors current local detail; use ERA5 or ERA5-Land for a consistent multi-decade series.";
|
|
88
|
+
readonly examples: readonly ["era5"];
|
|
89
|
+
};
|
|
90
|
+
readonly cellSelection: {
|
|
91
|
+
readonly enum: readonly ["land", "nearest", "sea"];
|
|
92
|
+
readonly description: "Grid-cell preference around each coordinate. land is the deterministic default; nearest or sea may select a different grid cell.";
|
|
93
|
+
readonly examples: readonly ["land"];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export declare const OPEN_METEO_HISTORICAL_WEATHER_OUTPUT_SCHEMA: {
|
|
98
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
99
|
+
readonly $id: "https://schemas.tiangong.ai/data/open-meteo/historical-weather-output.v1.json";
|
|
100
|
+
readonly type: "object";
|
|
101
|
+
readonly additionalProperties: false;
|
|
102
|
+
readonly required: readonly ["source", "request", "validation", "locations", "stopReason"];
|
|
103
|
+
readonly properties: {
|
|
104
|
+
readonly source: {
|
|
105
|
+
readonly type: "object";
|
|
106
|
+
readonly additionalProperties: false;
|
|
107
|
+
readonly required: readonly ["providerId", "service", "endpoint", "model", "reanalysis", "timezone"];
|
|
108
|
+
readonly properties: {
|
|
109
|
+
readonly providerId: {
|
|
110
|
+
readonly const: "open-meteo";
|
|
111
|
+
};
|
|
112
|
+
readonly service: {
|
|
113
|
+
readonly const: "Historical Weather API";
|
|
114
|
+
};
|
|
115
|
+
readonly endpoint: {
|
|
116
|
+
readonly const: "/v1/archive";
|
|
117
|
+
};
|
|
118
|
+
readonly model: {
|
|
119
|
+
readonly enum: readonly ["best_match", "cerra", "ecmwf_ifs", "ecmwf_ifs_analysis_long_window", "era5", "era5_ensemble", "era5_land", "era5_seamless"];
|
|
120
|
+
};
|
|
121
|
+
readonly reanalysis: {
|
|
122
|
+
readonly const: true;
|
|
123
|
+
};
|
|
124
|
+
readonly timezone: {
|
|
125
|
+
readonly const: "GMT";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly request: {
|
|
130
|
+
readonly type: "object";
|
|
131
|
+
readonly additionalProperties: false;
|
|
132
|
+
readonly required: readonly ["locations", "startDate", "endDate", "hourlyVariables", "dailyVariables", "model", "cellSelection", "timezone", "temperatureUnit", "windSpeedUnit", "precipitationUnit"];
|
|
133
|
+
readonly properties: {
|
|
134
|
+
readonly locations: {
|
|
135
|
+
readonly type: "array";
|
|
136
|
+
readonly minItems: 1;
|
|
137
|
+
readonly maxItems: 10;
|
|
138
|
+
readonly description: "One to ten coordinates. Results preserve request order and separately report the selected model-grid coordinate.";
|
|
139
|
+
readonly examples: readonly [readonly [{
|
|
140
|
+
readonly latitude: 52.52;
|
|
141
|
+
readonly longitude: 13.41;
|
|
142
|
+
}]];
|
|
143
|
+
readonly items: {
|
|
144
|
+
readonly type: "object";
|
|
145
|
+
readonly additionalProperties: false;
|
|
146
|
+
readonly required: readonly ["latitude", "longitude"];
|
|
147
|
+
readonly description: "One WGS84 coordinate for historical weather reanalysis grid selection.";
|
|
148
|
+
readonly examples: readonly [{
|
|
149
|
+
readonly latitude: 52.52;
|
|
150
|
+
readonly longitude: 13.41;
|
|
151
|
+
}];
|
|
152
|
+
readonly properties: {
|
|
153
|
+
readonly latitude: {
|
|
154
|
+
readonly type: "number";
|
|
155
|
+
readonly minimum: -90;
|
|
156
|
+
readonly maximum: 90;
|
|
157
|
+
readonly description: "Requested WGS84 latitude in decimal degrees.";
|
|
158
|
+
readonly examples: readonly [52.52];
|
|
159
|
+
};
|
|
160
|
+
readonly longitude: {
|
|
161
|
+
readonly type: "number";
|
|
162
|
+
readonly minimum: -180;
|
|
163
|
+
readonly maximum: 180;
|
|
164
|
+
readonly description: "Requested WGS84 longitude in decimal degrees.";
|
|
165
|
+
readonly examples: readonly [13.41];
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
readonly startDate: {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
173
|
+
readonly description: "Inclusive first historical date in YYYY-MM-DD form. Together with endDate, the window may contain at most 366 dates.";
|
|
174
|
+
readonly examples: readonly ["2024-01-01"];
|
|
175
|
+
};
|
|
176
|
+
readonly endDate: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
179
|
+
readonly description: "Inclusive last historical date in YYYY-MM-DD form; it must not precede startDate.";
|
|
180
|
+
readonly examples: readonly ["2024-01-31"];
|
|
181
|
+
};
|
|
182
|
+
readonly hourlyVariables: {
|
|
183
|
+
readonly type: "array";
|
|
184
|
+
readonly maxItems: 12;
|
|
185
|
+
readonly uniqueItems: true;
|
|
186
|
+
readonly description: "Zero to twelve curated Open-Meteo hourly historical-weather variable codes. Use an empty array for daily-only retrieval.";
|
|
187
|
+
readonly examples: readonly [readonly ["temperature_2m", "precipitation"]];
|
|
188
|
+
readonly items: {
|
|
189
|
+
readonly enum: readonly ["cloud_cover", "precipitation", "pressure_msl", "rain", "relative_humidity_2m", "shortwave_radiation", "snowfall", "soil_moisture_0_to_7cm", "soil_temperature_0_to_7cm", "temperature_2m", "wind_direction_10m", "wind_speed_10m"];
|
|
190
|
+
readonly description: "One documented hourly historical-weather variable code.";
|
|
191
|
+
readonly examples: readonly ["temperature_2m"];
|
|
192
|
+
};
|
|
193
|
+
readonly minItems: 0;
|
|
194
|
+
};
|
|
195
|
+
readonly dailyVariables: {
|
|
196
|
+
readonly type: "array";
|
|
197
|
+
readonly maxItems: 12;
|
|
198
|
+
readonly uniqueItems: true;
|
|
199
|
+
readonly description: "Zero to twelve curated numeric Open-Meteo daily historical-weather variable codes. Use an empty array for hourly-only retrieval.";
|
|
200
|
+
readonly examples: readonly [readonly ["temperature_2m_max", "precipitation_sum"]];
|
|
201
|
+
readonly items: {
|
|
202
|
+
readonly enum: readonly ["apparent_temperature_max", "apparent_temperature_min", "et0_fao_evapotranspiration", "precipitation_hours", "precipitation_sum", "rain_sum", "snowfall_sum", "sunshine_duration", "temperature_2m_max", "temperature_2m_min", "weather_code", "wind_speed_10m_max"];
|
|
203
|
+
readonly description: "One documented numeric daily historical-weather variable code.";
|
|
204
|
+
readonly examples: readonly ["temperature_2m_max"];
|
|
205
|
+
};
|
|
206
|
+
readonly minItems: 0;
|
|
207
|
+
};
|
|
208
|
+
readonly model: {
|
|
209
|
+
readonly enum: readonly ["best_match", "cerra", "ecmwf_ifs", "ecmwf_ifs_analysis_long_window", "era5", "era5_ensemble", "era5_land", "era5_seamless"];
|
|
210
|
+
};
|
|
211
|
+
readonly cellSelection: {
|
|
212
|
+
readonly enum: readonly ["land", "nearest", "sea"];
|
|
213
|
+
};
|
|
214
|
+
readonly timezone: {
|
|
215
|
+
readonly const: "GMT";
|
|
216
|
+
};
|
|
217
|
+
readonly temperatureUnit: {
|
|
218
|
+
readonly const: "celsius";
|
|
219
|
+
};
|
|
220
|
+
readonly windSpeedUnit: {
|
|
221
|
+
readonly const: "kmh";
|
|
222
|
+
};
|
|
223
|
+
readonly precipitationUnit: {
|
|
224
|
+
readonly const: "mm";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
readonly validation: {
|
|
229
|
+
readonly type: "object";
|
|
230
|
+
readonly additionalProperties: false;
|
|
231
|
+
readonly required: readonly ["issueCount", "issues"];
|
|
232
|
+
readonly properties: {
|
|
233
|
+
readonly issueCount: {
|
|
234
|
+
readonly type: "integer";
|
|
235
|
+
readonly minimum: 0;
|
|
236
|
+
};
|
|
237
|
+
readonly issues: {
|
|
238
|
+
readonly type: "array";
|
|
239
|
+
readonly maxItems: 50;
|
|
240
|
+
readonly items: {
|
|
241
|
+
readonly type: "object";
|
|
242
|
+
readonly additionalProperties: false;
|
|
243
|
+
readonly required: readonly ["path", "message"];
|
|
244
|
+
readonly properties: {
|
|
245
|
+
readonly path: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
readonly minLength: 1;
|
|
248
|
+
};
|
|
249
|
+
readonly message: {
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
readonly minLength: 1;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
readonly locations: {
|
|
259
|
+
readonly type: "array";
|
|
260
|
+
readonly maxItems: 10;
|
|
261
|
+
readonly items: {
|
|
262
|
+
readonly type: "object";
|
|
263
|
+
readonly additionalProperties: false;
|
|
264
|
+
readonly required: readonly ["requestedLocationIndex", "requestedLocation", "gridLocation", "elevation", "timezone", "timezoneAbbreviation", "utcOffsetSeconds", "hourly", "daily"];
|
|
265
|
+
readonly properties: {
|
|
266
|
+
readonly requestedLocationIndex: {
|
|
267
|
+
readonly type: "integer";
|
|
268
|
+
readonly minimum: 0;
|
|
269
|
+
readonly maximum: 9;
|
|
270
|
+
};
|
|
271
|
+
readonly requestedLocation: {
|
|
272
|
+
readonly type: "object";
|
|
273
|
+
readonly additionalProperties: false;
|
|
274
|
+
readonly required: readonly ["latitude", "longitude"];
|
|
275
|
+
readonly description: "One WGS84 coordinate for historical weather reanalysis grid selection.";
|
|
276
|
+
readonly examples: readonly [{
|
|
277
|
+
readonly latitude: 52.52;
|
|
278
|
+
readonly longitude: 13.41;
|
|
279
|
+
}];
|
|
280
|
+
readonly properties: {
|
|
281
|
+
readonly latitude: {
|
|
282
|
+
readonly type: "number";
|
|
283
|
+
readonly minimum: -90;
|
|
284
|
+
readonly maximum: 90;
|
|
285
|
+
readonly description: "Requested WGS84 latitude in decimal degrees.";
|
|
286
|
+
readonly examples: readonly [52.52];
|
|
287
|
+
};
|
|
288
|
+
readonly longitude: {
|
|
289
|
+
readonly type: "number";
|
|
290
|
+
readonly minimum: -180;
|
|
291
|
+
readonly maximum: 180;
|
|
292
|
+
readonly description: "Requested WGS84 longitude in decimal degrees.";
|
|
293
|
+
readonly examples: readonly [13.41];
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
readonly gridLocation: {
|
|
298
|
+
readonly type: "object";
|
|
299
|
+
readonly additionalProperties: false;
|
|
300
|
+
readonly required: readonly ["latitude", "longitude"];
|
|
301
|
+
readonly description: "One WGS84 coordinate for historical weather reanalysis grid selection.";
|
|
302
|
+
readonly examples: readonly [{
|
|
303
|
+
readonly latitude: 52.52;
|
|
304
|
+
readonly longitude: 13.41;
|
|
305
|
+
}];
|
|
306
|
+
readonly properties: {
|
|
307
|
+
readonly latitude: {
|
|
308
|
+
readonly type: "number";
|
|
309
|
+
readonly minimum: -90;
|
|
310
|
+
readonly maximum: 90;
|
|
311
|
+
readonly description: "Requested WGS84 latitude in decimal degrees.";
|
|
312
|
+
readonly examples: readonly [52.52];
|
|
313
|
+
};
|
|
314
|
+
readonly longitude: {
|
|
315
|
+
readonly type: "number";
|
|
316
|
+
readonly minimum: -180;
|
|
317
|
+
readonly maximum: 180;
|
|
318
|
+
readonly description: "Requested WGS84 longitude in decimal degrees.";
|
|
319
|
+
readonly examples: readonly [13.41];
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
readonly elevation: {
|
|
324
|
+
readonly type: readonly ["number", "null"];
|
|
325
|
+
};
|
|
326
|
+
readonly timezone: {
|
|
327
|
+
readonly type: "string";
|
|
328
|
+
readonly minLength: 1;
|
|
329
|
+
};
|
|
330
|
+
readonly timezoneAbbreviation: {
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
readonly minLength: 1;
|
|
333
|
+
};
|
|
334
|
+
readonly utcOffsetSeconds: {
|
|
335
|
+
readonly type: "integer";
|
|
336
|
+
};
|
|
337
|
+
readonly hourly: {
|
|
338
|
+
readonly type: readonly ["object", "null"];
|
|
339
|
+
readonly additionalProperties: false;
|
|
340
|
+
readonly required: readonly ["timesUtc", "variables"];
|
|
341
|
+
readonly properties: {
|
|
342
|
+
readonly timesUtc: {
|
|
343
|
+
readonly type: "array";
|
|
344
|
+
readonly items: {
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$";
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
readonly variables: {
|
|
350
|
+
readonly type: "array";
|
|
351
|
+
readonly maxItems: 12;
|
|
352
|
+
readonly items: {
|
|
353
|
+
readonly type: "object";
|
|
354
|
+
readonly additionalProperties: false;
|
|
355
|
+
readonly required: readonly ["variable", "unit", "values"];
|
|
356
|
+
readonly properties: {
|
|
357
|
+
readonly variable: {
|
|
358
|
+
readonly enum: readonly ["cloud_cover", "precipitation", "pressure_msl", "rain", "relative_humidity_2m", "shortwave_radiation", "snowfall", "soil_moisture_0_to_7cm", "soil_temperature_0_to_7cm", "temperature_2m", "wind_direction_10m", "wind_speed_10m"];
|
|
359
|
+
};
|
|
360
|
+
readonly unit: {
|
|
361
|
+
readonly type: "string";
|
|
362
|
+
readonly minLength: 1;
|
|
363
|
+
};
|
|
364
|
+
readonly values: {
|
|
365
|
+
readonly type: "array";
|
|
366
|
+
readonly items: {
|
|
367
|
+
readonly type: readonly ["number", "null"];
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
readonly daily: {
|
|
376
|
+
readonly type: readonly ["object", "null"];
|
|
377
|
+
readonly additionalProperties: false;
|
|
378
|
+
readonly required: readonly ["dates", "variables"];
|
|
379
|
+
readonly properties: {
|
|
380
|
+
readonly dates: {
|
|
381
|
+
readonly type: "array";
|
|
382
|
+
readonly items: {
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
readonly variables: {
|
|
388
|
+
readonly type: "array";
|
|
389
|
+
readonly maxItems: 12;
|
|
390
|
+
readonly items: {
|
|
391
|
+
readonly type: "object";
|
|
392
|
+
readonly additionalProperties: false;
|
|
393
|
+
readonly required: readonly ["variable", "unit", "values"];
|
|
394
|
+
readonly properties: {
|
|
395
|
+
readonly variable: {
|
|
396
|
+
readonly enum: readonly ["apparent_temperature_max", "apparent_temperature_min", "et0_fao_evapotranspiration", "precipitation_hours", "precipitation_sum", "rain_sum", "snowfall_sum", "sunshine_duration", "temperature_2m_max", "temperature_2m_min", "weather_code", "wind_speed_10m_max"];
|
|
397
|
+
};
|
|
398
|
+
readonly unit: {
|
|
399
|
+
readonly type: "string";
|
|
400
|
+
readonly minLength: 1;
|
|
401
|
+
};
|
|
402
|
+
readonly values: {
|
|
403
|
+
readonly type: "array";
|
|
404
|
+
readonly items: {
|
|
405
|
+
readonly type: readonly ["number", "null"];
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
readonly stopReason: {
|
|
417
|
+
readonly enum: readonly ["completed", "max-records", "partial"];
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
};
|