mirrorearth-sdk 0.1.0__tar.gz
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.
- mirrorearth_sdk-0.1.0/LICENSE +21 -0
- mirrorearth_sdk-0.1.0/MANIFEST.in +3 -0
- mirrorearth_sdk-0.1.0/PKG-INFO +138 -0
- mirrorearth_sdk-0.1.0/README.md +107 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/Aggregation.py +17 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/Model.py +99 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/Unit.py +47 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/Variable.py +146 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/VariableWithValues.py +245 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/VariablesWithTime.py +113 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/WeatherApiResponse.py +256 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/__init__.py +82 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/demo.py +0 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/hisroty_vars.py +413 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/parse.py +377 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk/variable_mapping.py +84 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk.egg-info/PKG-INFO +138 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk.egg-info/SOURCES.txt +22 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk.egg-info/dependency_links.txt +1 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk.egg-info/requires.txt +4 -0
- mirrorearth_sdk-0.1.0/mirrorearth_sdk.egg-info/top_level.txt +1 -0
- mirrorearth_sdk-0.1.0/pyproject.toml +35 -0
- mirrorearth_sdk-0.1.0/setup.cfg +4 -0
- mirrorearth_sdk-0.1.0/setup.py +32 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 MirrorEarth
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mirrorearth_sdk
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python SDK for MirrorEarth Weather API
|
|
5
|
+
Home-page: https://open.mirror-earth.com/docs/get-started/1-start
|
|
6
|
+
Author: MirrorEarth
|
|
7
|
+
Author-email: MirrorEarth <info@mirrorearth.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Homepage, https://open.mirror-earth.com/docs/get-started/1-start
|
|
10
|
+
Project-URL: Repository, https://open.mirror-earth.com/docs/get-started/1-start
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: numpy
|
|
24
|
+
Requires-Dist: pandas
|
|
25
|
+
Requires-Dist: flatbuffers
|
|
26
|
+
Requires-Dist: requests
|
|
27
|
+
Dynamic: author
|
|
28
|
+
Dynamic: home-page
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
Dynamic: requires-python
|
|
31
|
+
|
|
32
|
+
# MirrorEarth SDK
|
|
33
|
+
|
|
34
|
+
Python SDK for accessing Open Mirror Earth API data.
|
|
35
|
+
|
|
36
|
+
## Installation
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
pip install .
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Quick Start
|
|
43
|
+
|
|
44
|
+
**使用前必备**
|
|
45
|
+
|
|
46
|
+
登录[镜像地球开放平台](https://open.mirror-earth.com),个人中心中获取apikey
|
|
47
|
+
|
|
48
|
+
### 使用预报数据API
|
|
49
|
+
|
|
50
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/2-forecast-api)
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from mirrorearth_sdk import forecast_api
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
elements = [
|
|
57
|
+
'temperature_2m', 'dew_point_2m', 'surface_temperature', 'temperature_80m', 'temperature_100m',
|
|
58
|
+
'wet_bulb_temperature_2m', 'wind_gusts_10m', 'wind_speed_10m', 'wind_direction_10m', 'wind_speed_20m',
|
|
59
|
+
'cloud_cover', 'cloud_cover_low', 'cloud_cover_mid', 'cloud_cover_high',
|
|
60
|
+
'shortwave_radiation', 'longwave_radiation_downward', 'shortwave_radiation_upward', 'longwave_radiation_upward', 'soil_temperature_0_to_10cm',
|
|
61
|
+
'soil_temperature_10_to_40cm', 'soil_temperature_40_to_100cm', 'soil_temperature_100_to_200cm', 'soil_moisture_0_to_10cm', 'soil_moisture_10_to_40cm',
|
|
62
|
+
'soil_moisture_40_to_100cm', 'soil_moisture_100_to_200cm', 'precipitation', 'snow_depth', 'pressure_msl',
|
|
63
|
+
'surface_pressure', 'visibility', 'relative_humidity_2m', 'vapour_pressure_deficit'
|
|
64
|
+
]
|
|
65
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
66
|
+
|
|
67
|
+
resp = forecast_api(lon='118', lat='32', apikey=apikey, hourly=','.join(elements), daily='temperature_2m_max', models='ecmwf', forecast_days=15)
|
|
68
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
69
|
+
print(point1.metedata) # 打印元数据
|
|
70
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
71
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
72
|
+
|
|
73
|
+
>>> output:
|
|
74
|
+
Metadata(location: 0, coords: (32.0, 118.0), model: gfs025)
|
|
75
|
+
|
|
76
|
+
temperature_2m_°C dew_point_2m_°C ... visibility_m relative_humidity_2m_%
|
|
77
|
+
2025-05-15 08:00:00 22.450001 18.423653 ... 24135.0 78.000000
|
|
78
|
+
2025-05-15 09:00:00 23.150000 18.686502 ... 24135.0 76.000000
|
|
79
|
+
2025-05-15 10:00:00 23.049999 18.798883 ... 24135.0 77.000000
|
|
80
|
+
2025-05-15 11:00:00 23.900000 18.983398 ... 24135.0 74.000000
|
|
81
|
+
2025-05-15 12:00:00 23.150000 19.307074 ... 24135.0 79.000000
|
|
82
|
+
... ... ... ... ... ...
|
|
83
|
+
2025-05-31 04:00:00 19.448149 11.189207 ... 24135.0 58.851852
|
|
84
|
+
2025-05-31 05:00:00 19.299999 11.088128 ... 24135.0 59.000000
|
|
85
|
+
2025-05-31 06:00:00 19.322222 11.259768 ... 24135.0 59.592594
|
|
86
|
+
2025-05-31 07:00:00 19.449999 11.585191 ... 24135.0 60.407406
|
|
87
|
+
2025-05-31 08:00:00 19.549999 11.827236 ... 24135.0 61.000000
|
|
88
|
+
|
|
89
|
+
[385 rows x 44 columns]
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### 使用历史数据API
|
|
94
|
+
|
|
95
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/4-history-api)
|
|
96
|
+
|
|
97
|
+
```python
|
|
98
|
+
from mirrorearth_sdk import forecast_api
|
|
99
|
+
|
|
100
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
101
|
+
resp = forecast_api(lon='118', lat='32', apikey=apikey, hourly='temperature_2m', daily='temperature_2m_max', start_date='2023-01-01', end_date='2023-12-31')
|
|
102
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
103
|
+
print(point1.metedata) # 打印元数据
|
|
104
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
105
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 使用历史预报数据API
|
|
109
|
+
|
|
110
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/3-archive-forecast-api)
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
from mirrorearth_sdk import archive_forecast_api
|
|
114
|
+
|
|
115
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
116
|
+
resp = archive_forecast_api(lon='118', lat='32', apikey=apikey, hourly='temperature_2m', start_hour='2025-07-01T00:00', models='archive_ifs')
|
|
117
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
118
|
+
print(point1.metedata) # 打印元数据
|
|
119
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
120
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 使用无缝数据API
|
|
124
|
+
|
|
125
|
+
无缝数据指的是从历史数据到未来预报数据无缝衔接。使用ERA5+ECMWF预报,可以覆盖1940年~未来15天,让数据不间断!
|
|
126
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/5-seamless-data)
|
|
127
|
+
|
|
128
|
+
```python
|
|
129
|
+
from mirrorearth_sdk import seamless_api
|
|
130
|
+
|
|
131
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
132
|
+
resp = archive_forecast_api(lon='118', lat='32', apikey=apikey, hourly='temperature_2m', forecast_days=15, past_days=15)
|
|
133
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
134
|
+
print(point1.metedata) # 打印元数据
|
|
135
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
136
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
137
|
+
```
|
|
138
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# MirrorEarth SDK
|
|
2
|
+
|
|
3
|
+
Python SDK for accessing Open Mirror Earth API data.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
pip install .
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
**使用前必备**
|
|
14
|
+
|
|
15
|
+
登录[镜像地球开放平台](https://open.mirror-earth.com),个人中心中获取apikey
|
|
16
|
+
|
|
17
|
+
### 使用预报数据API
|
|
18
|
+
|
|
19
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/2-forecast-api)
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
from mirrorearth_sdk import forecast_api
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
elements = [
|
|
26
|
+
'temperature_2m', 'dew_point_2m', 'surface_temperature', 'temperature_80m', 'temperature_100m',
|
|
27
|
+
'wet_bulb_temperature_2m', 'wind_gusts_10m', 'wind_speed_10m', 'wind_direction_10m', 'wind_speed_20m',
|
|
28
|
+
'cloud_cover', 'cloud_cover_low', 'cloud_cover_mid', 'cloud_cover_high',
|
|
29
|
+
'shortwave_radiation', 'longwave_radiation_downward', 'shortwave_radiation_upward', 'longwave_radiation_upward', 'soil_temperature_0_to_10cm',
|
|
30
|
+
'soil_temperature_10_to_40cm', 'soil_temperature_40_to_100cm', 'soil_temperature_100_to_200cm', 'soil_moisture_0_to_10cm', 'soil_moisture_10_to_40cm',
|
|
31
|
+
'soil_moisture_40_to_100cm', 'soil_moisture_100_to_200cm', 'precipitation', 'snow_depth', 'pressure_msl',
|
|
32
|
+
'surface_pressure', 'visibility', 'relative_humidity_2m', 'vapour_pressure_deficit'
|
|
33
|
+
]
|
|
34
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
35
|
+
|
|
36
|
+
resp = forecast_api(lon='118', lat='32', apikey=apikey, hourly=','.join(elements), daily='temperature_2m_max', models='ecmwf', forecast_days=15)
|
|
37
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
38
|
+
print(point1.metedata) # 打印元数据
|
|
39
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
40
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
41
|
+
|
|
42
|
+
>>> output:
|
|
43
|
+
Metadata(location: 0, coords: (32.0, 118.0), model: gfs025)
|
|
44
|
+
|
|
45
|
+
temperature_2m_°C dew_point_2m_°C ... visibility_m relative_humidity_2m_%
|
|
46
|
+
2025-05-15 08:00:00 22.450001 18.423653 ... 24135.0 78.000000
|
|
47
|
+
2025-05-15 09:00:00 23.150000 18.686502 ... 24135.0 76.000000
|
|
48
|
+
2025-05-15 10:00:00 23.049999 18.798883 ... 24135.0 77.000000
|
|
49
|
+
2025-05-15 11:00:00 23.900000 18.983398 ... 24135.0 74.000000
|
|
50
|
+
2025-05-15 12:00:00 23.150000 19.307074 ... 24135.0 79.000000
|
|
51
|
+
... ... ... ... ... ...
|
|
52
|
+
2025-05-31 04:00:00 19.448149 11.189207 ... 24135.0 58.851852
|
|
53
|
+
2025-05-31 05:00:00 19.299999 11.088128 ... 24135.0 59.000000
|
|
54
|
+
2025-05-31 06:00:00 19.322222 11.259768 ... 24135.0 59.592594
|
|
55
|
+
2025-05-31 07:00:00 19.449999 11.585191 ... 24135.0 60.407406
|
|
56
|
+
2025-05-31 08:00:00 19.549999 11.827236 ... 24135.0 61.000000
|
|
57
|
+
|
|
58
|
+
[385 rows x 44 columns]
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 使用历史数据API
|
|
63
|
+
|
|
64
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/4-history-api)
|
|
65
|
+
|
|
66
|
+
```python
|
|
67
|
+
from mirrorearth_sdk import forecast_api
|
|
68
|
+
|
|
69
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
70
|
+
resp = forecast_api(lon='118', lat='32', apikey=apikey, hourly='temperature_2m', daily='temperature_2m_max', start_date='2023-01-01', end_date='2023-12-31')
|
|
71
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
72
|
+
print(point1.metedata) # 打印元数据
|
|
73
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
74
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### 使用历史预报数据API
|
|
78
|
+
|
|
79
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/3-archive-forecast-api)
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
from mirrorearth_sdk import archive_forecast_api
|
|
83
|
+
|
|
84
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
85
|
+
resp = archive_forecast_api(lon='118', lat='32', apikey=apikey, hourly='temperature_2m', start_hour='2025-07-01T00:00', models='archive_ifs')
|
|
86
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
87
|
+
print(point1.metedata) # 打印元数据
|
|
88
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
89
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### 使用无缝数据API
|
|
93
|
+
|
|
94
|
+
无缝数据指的是从历史数据到未来预报数据无缝衔接。使用ERA5+ECMWF预报,可以覆盖1940年~未来15天,让数据不间断!
|
|
95
|
+
文档: [链接](https://open.mirror-earth.com/docs/get-started/5-seamless-data)
|
|
96
|
+
|
|
97
|
+
```python
|
|
98
|
+
from mirrorearth_sdk import seamless_api
|
|
99
|
+
|
|
100
|
+
apikey = '请在镜像地球开放平台,个人中心获取'
|
|
101
|
+
resp = archive_forecast_api(lon='118', lat='32', apikey=apikey, hourly='temperature_2m', forecast_days=15, past_days=15)
|
|
102
|
+
point1 = resp[0] # 通过下标获取第一个坐标点的数据,如果传入了多个坐标,可以循环获得数据
|
|
103
|
+
print(point1.metedata) # 打印元数据
|
|
104
|
+
print(point1.hourly_df()) # 获取hourly小时级(或者是分钟级)数据,是一个DataFrame
|
|
105
|
+
print(point1.daily_df()) # 获取daily逐日数据
|
|
106
|
+
```
|
|
107
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
|
|
3
|
+
# namespace: mirrorearth_sdk
|
|
4
|
+
|
|
5
|
+
class Aggregation(object):
|
|
6
|
+
none = 0
|
|
7
|
+
minimum = 1
|
|
8
|
+
maximum = 2
|
|
9
|
+
mean = 3
|
|
10
|
+
p10 = 4
|
|
11
|
+
p25 = 5
|
|
12
|
+
median = 6
|
|
13
|
+
p75 = 7
|
|
14
|
+
p90 = 8
|
|
15
|
+
dominant = 9
|
|
16
|
+
sum = 10
|
|
17
|
+
spread = 11
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
|
|
3
|
+
# namespace: mirrorearth_sdk
|
|
4
|
+
|
|
5
|
+
class Model(object):
|
|
6
|
+
undefined = 0
|
|
7
|
+
best_match = 1
|
|
8
|
+
gfs_seamless = 2
|
|
9
|
+
gfs_global = 3
|
|
10
|
+
gfs_hrrr = 4
|
|
11
|
+
meteofrance_seamless = 5
|
|
12
|
+
meteofrance_arpege_seamless = 6
|
|
13
|
+
meteofrance_arpege_world = 7
|
|
14
|
+
meteofrance_arpege_europe = 8
|
|
15
|
+
meteofrance_arome_seamless = 9
|
|
16
|
+
meteofrance_arome_france = 10
|
|
17
|
+
meteofrance_arome_france_hd = 11
|
|
18
|
+
jma_seamless = 12
|
|
19
|
+
jma_msm = 13
|
|
20
|
+
jms_gsm = 14
|
|
21
|
+
jma_gsm = 15
|
|
22
|
+
gem_seamless = 16
|
|
23
|
+
gem_global = 17
|
|
24
|
+
gem_regional = 18
|
|
25
|
+
gem_hrdps_continental = 19
|
|
26
|
+
icon_seamless = 20
|
|
27
|
+
icon_global = 21
|
|
28
|
+
icon_eu = 22
|
|
29
|
+
icon_d2 = 23
|
|
30
|
+
ecmwf_ifs04 = 24
|
|
31
|
+
metno_nordic = 25
|
|
32
|
+
era5_seamless = 26
|
|
33
|
+
era5 = 27
|
|
34
|
+
cerra = 28
|
|
35
|
+
era5_land = 29
|
|
36
|
+
ecmwf_ifs = 30
|
|
37
|
+
gwam = 31
|
|
38
|
+
ewam = 32
|
|
39
|
+
glofas_seamless_v3 = 33
|
|
40
|
+
glofas_forecast_v3 = 34
|
|
41
|
+
glofas_consolidated_v3 = 35
|
|
42
|
+
glofas_seamless_v4 = 36
|
|
43
|
+
glofas_forecast_v4 = 37
|
|
44
|
+
glofas_consolidated_v4 = 38
|
|
45
|
+
gfs025 = 39
|
|
46
|
+
gfs05 = 40
|
|
47
|
+
CMCC_CM2_VHR4 = 41
|
|
48
|
+
FGOALS_f3_H_highresSST = 42
|
|
49
|
+
FGOALS_f3_H = 43
|
|
50
|
+
HiRAM_SIT_HR = 44
|
|
51
|
+
MRI_AGCM3_2_S = 45
|
|
52
|
+
EC_Earth3P_HR = 46
|
|
53
|
+
MPI_ESM1_2_XR = 47
|
|
54
|
+
NICAM16_8S = 48
|
|
55
|
+
cams_europe = 49
|
|
56
|
+
cams_global = 50
|
|
57
|
+
cfsv2 = 51
|
|
58
|
+
era5_ocean = 52
|
|
59
|
+
cma_grapes_global = 53
|
|
60
|
+
bom_access_global = 54
|
|
61
|
+
bom_access_global_ensemble = 55
|
|
62
|
+
arpae_cosmo_seamless = 56
|
|
63
|
+
arpae_cosmo_2i = 57
|
|
64
|
+
arpae_cosmo_2i_ruc = 58
|
|
65
|
+
arpae_cosmo_5m = 59
|
|
66
|
+
ecmwf_ifs025 = 60
|
|
67
|
+
ecmwf_aifs025 = 61
|
|
68
|
+
gfs013 = 62
|
|
69
|
+
gfs_graphcast025 = 63
|
|
70
|
+
ecmwf_wam025 = 64
|
|
71
|
+
meteofrance_wave = 65
|
|
72
|
+
meteofrance_currents = 66
|
|
73
|
+
ecmwf_wam025_ensemble = 67
|
|
74
|
+
ncep_gfswave025 = 68
|
|
75
|
+
ncep_gefswave025 = 69
|
|
76
|
+
knmi_seamless = 70
|
|
77
|
+
knmi_harmonie_arome_europe = 71
|
|
78
|
+
knmi_harmonie_arome_netherlands = 72
|
|
79
|
+
dmi_seamless = 73
|
|
80
|
+
dmi_harmonie_arome_europe = 74
|
|
81
|
+
metno_seamless = 75
|
|
82
|
+
era5_ensemble = 76
|
|
83
|
+
ecmwf_ifs_analysis = 77
|
|
84
|
+
ecmwf_ifs_long_window = 78
|
|
85
|
+
ecmwf_ifs_analysis_long_window = 79
|
|
86
|
+
ukmo_global_deterministic_10km = 80
|
|
87
|
+
ukmo_uk_deterministic_2km = 81
|
|
88
|
+
ukmo_seamless = 82
|
|
89
|
+
ncep_gfswave016 = 83
|
|
90
|
+
ncep_nbm_conus = 84
|
|
91
|
+
ukmo_global_ensemble_20km = 85
|
|
92
|
+
ecmwf_aifs025_single = 86
|
|
93
|
+
jma_jaxa_himawari = 87
|
|
94
|
+
eumetsat_sarah3 = 88
|
|
95
|
+
eumetsat_lsa_saf_msg = 89
|
|
96
|
+
eumetsat_lsa_saf_iodc = 90
|
|
97
|
+
satellite_radiation_seamless = 91
|
|
98
|
+
kma_gdps = 92
|
|
99
|
+
kma_ldps = 93
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
|
|
3
|
+
# namespace: mirrorearth_sdk
|
|
4
|
+
|
|
5
|
+
class Unit(object):
|
|
6
|
+
undefined = 0
|
|
7
|
+
celsius = 1
|
|
8
|
+
centimetre = 2
|
|
9
|
+
cubic_metre_per_cubic_metre = 3
|
|
10
|
+
cubic_metre_per_second = 4
|
|
11
|
+
degree_direction = 5
|
|
12
|
+
dimensionless_integer = 6
|
|
13
|
+
dimensionless = 7
|
|
14
|
+
european_air_quality_index = 8
|
|
15
|
+
fahrenheit = 9
|
|
16
|
+
feet = 10
|
|
17
|
+
fraction = 11
|
|
18
|
+
gdd_celsius = 12
|
|
19
|
+
geopotential_metre = 13
|
|
20
|
+
grains_per_cubic_metre = 14
|
|
21
|
+
gram_per_kilogram = 15
|
|
22
|
+
hectopascal = 16
|
|
23
|
+
hours = 17
|
|
24
|
+
inch = 18
|
|
25
|
+
iso8601 = 19
|
|
26
|
+
joule_per_kilogram = 20
|
|
27
|
+
kelvin = 21
|
|
28
|
+
kilopascal = 22
|
|
29
|
+
kilogram_per_square_metre = 23
|
|
30
|
+
kilometres_per_hour = 24
|
|
31
|
+
knots = 25
|
|
32
|
+
megajoule_per_square_metre = 26
|
|
33
|
+
metre_per_second_not_unit_converted = 27
|
|
34
|
+
metre_per_second = 28
|
|
35
|
+
metre = 29
|
|
36
|
+
micrograms_per_cubic_metre = 30
|
|
37
|
+
miles_per_hour = 31
|
|
38
|
+
millimetre = 32
|
|
39
|
+
pascal = 33
|
|
40
|
+
per_second = 34
|
|
41
|
+
percentage = 35
|
|
42
|
+
seconds = 36
|
|
43
|
+
unix_time = 37
|
|
44
|
+
us_air_quality_index = 38
|
|
45
|
+
watt_per_square_metre = 39
|
|
46
|
+
wmo_code = 40
|
|
47
|
+
parts_per_million = 41
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
|
|
3
|
+
# namespace: mirrorearth_sdk
|
|
4
|
+
|
|
5
|
+
class Variable(object):
|
|
6
|
+
undefined = 0
|
|
7
|
+
apparent_temperature = 1
|
|
8
|
+
cape = 2
|
|
9
|
+
cloud_cover = 3
|
|
10
|
+
cloud_cover_high = 4
|
|
11
|
+
cloud_cover_low = 5
|
|
12
|
+
cloud_cover_mid = 6
|
|
13
|
+
daylight_duration = 7
|
|
14
|
+
dew_point = 8
|
|
15
|
+
diffuse_radiation = 9
|
|
16
|
+
diffuse_radiation_instant = 10
|
|
17
|
+
direct_normal_irradiance = 11
|
|
18
|
+
direct_normal_irradiance_instant = 12
|
|
19
|
+
direct_radiation = 13
|
|
20
|
+
direct_radiation_instant = 14
|
|
21
|
+
et0_fao_evapotranspiration = 15
|
|
22
|
+
evapotranspiration = 16
|
|
23
|
+
freezing_level_height = 17
|
|
24
|
+
growing_degree_days = 18
|
|
25
|
+
is_day = 19
|
|
26
|
+
latent_heat_flux = 20
|
|
27
|
+
leaf_wetness_probability = 21
|
|
28
|
+
lifted_index = 22
|
|
29
|
+
lightning_potential = 23
|
|
30
|
+
precipitation = 24
|
|
31
|
+
precipitation_hours = 25
|
|
32
|
+
precipitation_probability = 26
|
|
33
|
+
pressure_msl = 27
|
|
34
|
+
rain = 28
|
|
35
|
+
relative_humidity = 29
|
|
36
|
+
runoff = 30
|
|
37
|
+
sensible_heat_flux = 31
|
|
38
|
+
shortwave_radiation = 32
|
|
39
|
+
shortwave_radiation_instant = 33
|
|
40
|
+
showers = 34
|
|
41
|
+
snow_depth = 35
|
|
42
|
+
snow_height = 36
|
|
43
|
+
snowfall = 37
|
|
44
|
+
snowfall_height = 38
|
|
45
|
+
snowfall_water_equivalent = 39
|
|
46
|
+
sunrise = 40
|
|
47
|
+
sunset = 41
|
|
48
|
+
soil_moisture = 42
|
|
49
|
+
soil_moisture_index = 43
|
|
50
|
+
soil_temperature = 44
|
|
51
|
+
surface_pressure = 45
|
|
52
|
+
surface_temperature = 46
|
|
53
|
+
temperature = 47
|
|
54
|
+
terrestrial_radiation = 48
|
|
55
|
+
terrestrial_radiation_instant = 49
|
|
56
|
+
total_column_integrated_water_vapour = 50
|
|
57
|
+
updraft = 51
|
|
58
|
+
uv_index = 52
|
|
59
|
+
uv_index_clear_sky = 53
|
|
60
|
+
vapour_pressure_deficit = 54
|
|
61
|
+
visibility = 55
|
|
62
|
+
weather_code = 56
|
|
63
|
+
wind_direction = 57
|
|
64
|
+
wind_gusts = 58
|
|
65
|
+
wind_speed = 59
|
|
66
|
+
vertical_velocity = 60
|
|
67
|
+
geopotential_height = 61
|
|
68
|
+
wet_bulb_temperature = 62
|
|
69
|
+
river_discharge = 63
|
|
70
|
+
wave_height = 64
|
|
71
|
+
wave_period = 65
|
|
72
|
+
wave_direction = 66
|
|
73
|
+
wind_wave_height = 67
|
|
74
|
+
wind_wave_period = 68
|
|
75
|
+
wind_wave_peak_period = 69
|
|
76
|
+
wind_wave_direction = 70
|
|
77
|
+
swell_wave_height = 71
|
|
78
|
+
swell_wave_period = 72
|
|
79
|
+
swell_wave_peak_period = 73
|
|
80
|
+
swell_wave_direction = 74
|
|
81
|
+
pm10 = 75
|
|
82
|
+
pm2p5 = 76
|
|
83
|
+
dust = 77
|
|
84
|
+
aerosol_optical_depth = 78
|
|
85
|
+
carbon_monoxide = 79
|
|
86
|
+
nitrogen_dioxide = 80
|
|
87
|
+
ammonia = 81
|
|
88
|
+
ozone = 82
|
|
89
|
+
sulphur_dioxide = 83
|
|
90
|
+
alder_pollen = 84
|
|
91
|
+
birch_pollen = 85
|
|
92
|
+
grass_pollen = 86
|
|
93
|
+
mugwort_pollen = 87
|
|
94
|
+
olive_pollen = 88
|
|
95
|
+
ragweed_pollen = 89
|
|
96
|
+
european_aqi = 90
|
|
97
|
+
european_aqi_pm2p5 = 91
|
|
98
|
+
european_aqi_pm10 = 92
|
|
99
|
+
european_aqi_nitrogen_dioxide = 93
|
|
100
|
+
european_aqi_ozone = 94
|
|
101
|
+
european_aqi_sulphur_dioxide = 95
|
|
102
|
+
us_aqi = 96
|
|
103
|
+
us_aqi_pm2p5 = 97
|
|
104
|
+
us_aqi_pm10 = 98
|
|
105
|
+
us_aqi_nitrogen_dioxide = 99
|
|
106
|
+
us_aqi_ozone = 100
|
|
107
|
+
us_aqi_sulphur_dioxide = 101
|
|
108
|
+
us_aqi_carbon_monoxide = 102
|
|
109
|
+
sunshine_duration = 103
|
|
110
|
+
convective_inhibition = 104
|
|
111
|
+
shortwave_radiation_clear_sky = 105
|
|
112
|
+
global_tilted_irradiance = 106
|
|
113
|
+
global_tilted_irradiance_instant = 107
|
|
114
|
+
ocean_current_velocity = 108
|
|
115
|
+
ocean_current_direction = 109
|
|
116
|
+
cloud_base = 110
|
|
117
|
+
cloud_top = 111
|
|
118
|
+
mass_density = 112
|
|
119
|
+
boundary_layer_height = 113
|
|
120
|
+
formaldehyde = 114
|
|
121
|
+
glyoxal = 115
|
|
122
|
+
non_methane_volatile_organic_compounds = 116
|
|
123
|
+
pm10_wildfires = 117
|
|
124
|
+
peroxyacyl_nitrates = 118
|
|
125
|
+
secondary_inorganic_aerosol = 119
|
|
126
|
+
residential_elementary_carbon = 120
|
|
127
|
+
total_elementary_carbon = 121
|
|
128
|
+
pm2_5_total_organic_matter = 122
|
|
129
|
+
sea_salt_aerosol = 123
|
|
130
|
+
nitrogen_monoxide = 124
|
|
131
|
+
thunderstorm_probability = 125
|
|
132
|
+
rain_probability = 126
|
|
133
|
+
freezing_rain_probability = 127
|
|
134
|
+
ice_pellets_probability = 128
|
|
135
|
+
snowfall_probability = 129
|
|
136
|
+
carbon_dioxide = 130
|
|
137
|
+
methane = 131
|
|
138
|
+
sea_level_height_msl = 132
|
|
139
|
+
sea_surface_temperature = 133
|
|
140
|
+
invert_barometer_height = 134
|
|
141
|
+
hail = 135
|
|
142
|
+
albedo = 136
|
|
143
|
+
precipitation_type = 137
|
|
144
|
+
convective_cloud_base = 138
|
|
145
|
+
convective_cloud_top = 139
|
|
146
|
+
snow_depth_water_equivalent = 140
|