About 'Meteorological Data: Download data (ERA5)' #531
xiaoenli4816
started this conversation in
General
Replies: 1 comment 2 replies
-
Based on traffic, it can take a loooong time to downlaod. If you open your python console, you can see some info on the progress. If you are interested in Europe I can recommend to have a look at https://www.shinyweatherdata.com/. Here, someone made an interface which is much more effective. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear All,
When I try to download the Meteorological Data using the tool in QGIS3.
It showed task failed and the log was below:
AttributeError: 'NoneType' object has no attribute 'write'
Do you have any idea about this issue? Thank you very much.
QGIS version: 3.30.3-'s-Hertogenbosch
QGIS code revision: 2411cec1
Qt version: 5.15.3
Python version: 3.9.5
GDAL version: 3.7.0
GEOS version: 3.11.2-CAPI-1.17.2
PROJ version: Rel. 9.2.0, March 1st, 2023
PDAL version: 2.5.3 (git-version: 7ec4e6)
Algorithm started at: 2023-06-23T10:22:46
Algorithm 'Meteorological Data: Download data (ERA5)' starting…
Input parameters:
{ 'CRS' : QgsCoordinateReferenceSystem('EPSG:4326'), 'DATEINIEND' : '2000-01-02T00:00:00', 'DATEINISTART' : '2000-01-01T00:00:00', 'DIAG_HEIGHT' : 100, 'INPUT_POINT' : '39.0177,98.8923', 'OUTPUT_DIR' : 'I:\DEM' }
SuPy version: 2023.5.26.dev0
INPUT PARAMETERS:
lat = 39.0177
lon = 98.8923
Start = 2000-01-01T00:00:00
End = 2000-01-02T00:00:00
Diagnostic height = 100.0
Output folder = I:\DEM
File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\preprocessor\copernicusera5_algorithm.py", line 182, in processAlgorithm
sp.util.gen_forcing_era5(lat, lon, startDate, endDate, hgt_agl_diag=diagHeight, dir_save=Path(outputDir))
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\supy\util_era5.py", line 733, in gen_forcing_era5
list_fn_sfc, list_fn_ml = load_filelist_era5(
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\supy\util_era5.py", line 627, in load_filelist_era5
download_era5(
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\supy\util_era5.py", line 523, in download_era5
download_cds(path_dir_save / fn_sfc, dict_req)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\supy\util_era5.py", line 455, in download_cds
c.retrieve(**dict_req)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\cdsapi\api.py", line 366, in retrieve
result.download(target)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\cdsapi\api.py", line 171, in download
return self._download(self.location, self.content_length, target)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\cdsapi\api.py", line 121, in _download
with tqdm(
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 1095, in init
self.refresh(lock_args=self.lock_args)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 1344, in refresh
self.display()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 1492, in display
self.sp(self.str() if msg is None else msg)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 347, in print_status
fp_write('\r' + s + (' ' * max(last_len[0] - len_s, 0)))
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 340, in fp_write
fp.write(str(s))
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tqdm\utils.py", line 71, in getattr
return getattr(self._wrapped, name)
AttributeError: 'NoneType' object has no attribute 'write'
Beta Was this translation helpful? Give feedback.
All reactions