oafuncs 0.0.98.35__py3-none-any.whl → 0.0.98.36__py3-none-any.whl
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.
- oafuncs/oa_down/hycom_3hourly.py +24 -4
- {oafuncs-0.0.98.35.dist-info → oafuncs-0.0.98.36.dist-info}/METADATA +1 -1
- {oafuncs-0.0.98.35.dist-info → oafuncs-0.0.98.36.dist-info}/RECORD +6 -6
- {oafuncs-0.0.98.35.dist-info → oafuncs-0.0.98.36.dist-info}/WHEEL +0 -0
- {oafuncs-0.0.98.35.dist-info → oafuncs-0.0.98.36.dist-info}/licenses/LICENSE.txt +0 -0
- {oafuncs-0.0.98.35.dist-info → oafuncs-0.0.98.36.dist-info}/top_level.txt +0 -0
oafuncs/oa_down/hycom_3hourly.py
CHANGED
@@ -98,6 +98,18 @@ def _get_initial_data():
|
|
98
98
|
data_info["hourly"]["dataset"]["GLBu0.08"]["version"]["93.0"]["classification"] = "var_different"
|
99
99
|
data_info["hourly"]["dataset"]["GLBy0.08"]["version"]["93.0"]["classification"] = "var_year_different"
|
100
100
|
data_info["hourly"]["dataset"]["ESPC_D"]["version"]["V02"]["classification"] = "single_var_year_different"
|
101
|
+
|
102
|
+
# lon lat
|
103
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["53.X"]["lonlat"] = {'lon_min': -180.00, 'lon_max': 179.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
104
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["56.3"]["lonlat"] = {'lon_min': -180.00, 'lon_max': 179.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
105
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["57.2"]["lonlat"] = {'lon_min': -180.00, 'lon_max': 179.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
106
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["92.8"]["lonlat"] = {'lon_min': 0.00, 'lon_max': 359.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
107
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["57.7"]["lonlat"] = {'lon_min': -180.00, 'lon_max': 179.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
108
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["92.9"]["lonlat"] = {'lon_min': 0.00, 'lon_max': 359.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
109
|
+
data_info["hourly"]["dataset"]["GLBv0.08"]["version"]["93.0"]["lonlat"] = {'lon_min': 0.00, 'lon_max': 359.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
110
|
+
data_info["hourly"]["dataset"]["GLBu0.08"]["version"]["93.0"]["lonlat"] = {'lon_min': 0.00, 'lon_max': 359.92, 'lat_min': -80.0, 'lat_max': 80.0}
|
111
|
+
data_info["hourly"]["dataset"]["GLBy0.08"]["version"]["93.0"]["lonlat"] = {'lon_min': 0.00, 'lon_max': 359.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
112
|
+
data_info["hourly"]["dataset"]["ESPC_D"]["version"]["V02"]["lonlat"] = {'lon_min': 0.00, 'lon_max': 359.92, 'lat_min': -80.0, 'lat_max': 90.0}
|
101
113
|
|
102
114
|
# download info
|
103
115
|
# base url
|
@@ -851,6 +863,14 @@ def _get_submit_url_var(var, depth, level_num, lon_min, lon_max, lat_min, lat_ma
|
|
851
863
|
which_mode = "level"
|
852
864
|
else:
|
853
865
|
which_mode = "full"
|
866
|
+
if lon_min == 0.0:
|
867
|
+
lon_min = data_info["hourly"]["dataset"][dataset_name]["version"][version_name]["lonlat"]["lon_min"]
|
868
|
+
if lon_max == 359.92:
|
869
|
+
lon_max = data_info["hourly"]["dataset"][dataset_name]["version"][version_name]["lonlat"]["lon_max"]
|
870
|
+
if lat_min == -80.0:
|
871
|
+
lat_min = data_info["hourly"]["dataset"][dataset_name]["version"][version_name]["lonlat"]["lat_min"]
|
872
|
+
if lat_max == 90.0:
|
873
|
+
lat_max = data_info["hourly"]["dataset"][dataset_name]["version"][version_name]["lonlat"]["lat_max"]
|
854
874
|
query_dict = _get_query_dict(var, lon_min, lon_max, lat_min, lat_max, download_time, download_time_end, which_mode, depth, level_num)
|
855
875
|
submit_url = _get_submit_url(dataset_name, version_name, var, ymdh_str, query_dict)
|
856
876
|
return submit_url
|
@@ -1194,10 +1214,10 @@ if __name__ == "__main__":
|
|
1194
1214
|
"start_time": "2018010100",
|
1195
1215
|
"end_time": "2019063000",
|
1196
1216
|
"output_dir": r"G:\Data\HYCOM\china_sea\hourly_24",
|
1197
|
-
"lon_min": 105,
|
1198
|
-
"lon_max": 135,
|
1199
|
-
"lat_min": 10,
|
1200
|
-
"lat_max": 45,
|
1217
|
+
# "lon_min": 105,
|
1218
|
+
# "lon_max": 135,
|
1219
|
+
# "lat_min": 10,
|
1220
|
+
# "lat_max": 45,
|
1201
1221
|
"workers": 1,
|
1202
1222
|
"overwrite": False,
|
1203
1223
|
"depth": None,
|
@@ -22,7 +22,7 @@ oafuncs/_script/plot_dataset.py,sha256=QrA4vOCzWbAJp3hf5YYzgIRUZdJB5_ugepgyT_Yfn
|
|
22
22
|
oafuncs/_script/replace_file_content.py,sha256=wIwvaISFNYWG58BLZHZP9ZgbC5OhoZ-cpR3y25U1EUM,5601
|
23
23
|
oafuncs/oa_down/User_Agent-list.txt,sha256=pHaMlElMvZ8TG4vf4BqkZYKqe0JIGkr4kCN0lM1Y9FQ,514295
|
24
24
|
oafuncs/oa_down/__init__.py,sha256=IT6oTqaxuV_mC6AwBut0HtkmnVtEu1MyX0x0oS7TKoA,218
|
25
|
-
oafuncs/oa_down/hycom_3hourly.py,sha256=
|
25
|
+
oafuncs/oa_down/hycom_3hourly.py,sha256=dFXSC_5o-Dic616KrLXir4tEHvCiZt8vGKPEYpXFMmA,57356
|
26
26
|
oafuncs/oa_down/idm.py,sha256=vAhRjt_Sb-rKhzFShmSf29QcFTqsHpHXCvTSD1uSXyQ,1455
|
27
27
|
oafuncs/oa_down/literature.py,sha256=7Qy5OphcjdRwY2uZ5hmmgK36U_QtVmEUSW0vQaxihC8,10960
|
28
28
|
oafuncs/oa_down/read_proxy.py,sha256=HQpr-Mwn0Z8ICAuf63NUUY9p05E_uNWyWmOK46-73Ec,2866
|
@@ -37,8 +37,8 @@ oafuncs/oa_sign/__init__.py,sha256=JSx1fcWpmNhQBvX_Bmq3xysfSkkFMrjbJASxV_V6aqE,1
|
|
37
37
|
oafuncs/oa_sign/meteorological.py,sha256=3MSjy7HTcvz2zsITkjUMr_0Y027Gas1LFE9pk99990k,6110
|
38
38
|
oafuncs/oa_sign/ocean.py,sha256=3uYEzaq-27yVy23IQoqy-clhWu1I_fhPFBAQyT-OF4M,5562
|
39
39
|
oafuncs/oa_sign/scientific.py,sha256=moIl2MEY4uitbXoD596JmXookXGQtQsS-8_1NBBTx84,4689
|
40
|
-
oafuncs-0.0.98.
|
41
|
-
oafuncs-0.0.98.
|
42
|
-
oafuncs-0.0.98.
|
43
|
-
oafuncs-0.0.98.
|
44
|
-
oafuncs-0.0.98.
|
40
|
+
oafuncs-0.0.98.36.dist-info/licenses/LICENSE.txt,sha256=rMtLpVg8sKiSlwClfR9w_Dd_5WubTQgoOzE2PDFxzs4,1074
|
41
|
+
oafuncs-0.0.98.36.dist-info/METADATA,sha256=N3OWTsj1i-CBXIdbbgy7WZJvEb5mNsHUl2SkoilJ3Oo,4326
|
42
|
+
oafuncs-0.0.98.36.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
43
|
+
oafuncs-0.0.98.36.dist-info/top_level.txt,sha256=bgC35QkXbN4EmPHEveg_xGIZ5i9NNPYWqtJqaKqTPsQ,8
|
44
|
+
oafuncs-0.0.98.36.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|