-
Notifications
You must be signed in to change notification settings - Fork 22
Description
So, I am trying to download climatic data for specific location (Turin, Italy) but it gives me the following problem:
QGIS version: 3.34.11-Prizren
QGIS code revision: 2904bcec
Qt version: 5.15.13
Python version: 3.12.6
GDAL version: 3.9.2
GEOS version: 3.12.2-CAPI-1.18.2
PROJ version: Rel. 9.4.0, March 1st, 2024
PDAL version: 2.6.3 (git-version: b5523a)
Algorithm started at: 2025-05-21T13:18:27
Algorithm 'Meteorological Data: Download data (ERA5)' starting…
Input parameters:
{ 'CRS' : QgsCoordinateReferenceSystem('EPSG:32632'), 'DATEINIEND' : '2022-05-20T00:00:00', 'DATEINISTART' : '2025-05-19T00:00:00', 'DIAG_HEIGHT' : 100, 'INPUT_POINT' : '395932.912230,4991188.699612 [EPSG:32632]', 'OUTPUT_DIR' : 'TEMPORARY_OUTPUT' }
SuPy version: 2024.5.24.dev
INPUT PARAMETERS:
lat = 45.066508983254565
lon = 7.678077671417322
Start = 2025-05-19T00:00:00
End = 2022-05-20T00:00:00
Diagnostic height = 100.0
Output folder = C:/Users/Alexandra/AppData/Local/Temp/processing_NChqpH/911dfe7b2406487aa209f102bc026a48/OUTPUT_DIR
Start date is greater or equal than end date
Execution failed after 0.03 seconds
Loading resulting layers
Algorithm 'Meteorological Data: Download data (ERA5)' finished
QGIS version: 3.34.11-Prizren
QGIS code revision: 2904bcec
Qt version: 5.15.13
Python version: 3.12.6
GDAL version: 3.9.2
GEOS version: 3.12.2-CAPI-1.18.2
PROJ version: Rel. 9.4.0, March 1st, 2024
PDAL version: 2.6.3 (git-version: b5523a)
Algorithm started at: 2025-05-21T13:18:58
Algorithm 'Meteorological Data: Download data (ERA5)' starting…
Input parameters:
{ 'CRS' : QgsCoordinateReferenceSystem('EPSG:32632'), 'DATEINIEND' : '2025-05-20T00:00:00', 'DATEINISTART' : '2025-05-19T00:00:00', 'DIAG_HEIGHT' : 100, 'INPUT_POINT' : '395932.912230,4991188.699612 [EPSG:32632]', 'OUTPUT_DIR' : 'C:\Users\Alexandra\Desktop\clim data trial' }
SuPy version: 2024.5.24.dev
INPUT PARAMETERS:
lat = 45.066508983254565
lon = 7.678077671417322
Start = 2025-05-19T00:00:00
End = 2025-05-20T00:00:00
Diagnostic height = 100.0
Output folder = C:\Users\Alexandra\Desktop\clim data trial
Traceback (most recent call last):
File "C:\Users/Alexandra/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP-processing-main\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\Alexandra\AppData\Roaming\Python\Python312\site-packages\supy\util_era5.py", line 733, in gen_forcing_era5
list_fn_sfc, list_fn_ml = load_filelist_era5(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Alexandra\AppData\Roaming\Python\Python312\site-packages\supy\util_era5.py", line 627, in load_filelist_era5
download_era5(
File "C:\Users\Alexandra\AppData\Roaming\Python\Python312\site-packages\supy\util_era5.py", line 523, in download_era5
download_cds(path_dir_save / fn_sfc, dict_req)
File "C:\Users\Alexandra\AppData\Roaming\Python\Python312\site-packages\supy\util_era5.py", line 445, in download_cds
c = cdsapi.Client()
^^^^^^^^^^^^^^^
File "C:\Users\Alexandra\AppData\Roaming\Python\Python312\site-packages\cdsapi\api.py", line 281, in new
_, token, _ = get_url_key_verify(url, key, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Alexandra\AppData\Roaming\Python\Python312\site-packages\cdsapi\api.py", line 69, in get_url_key_verify
raise Exception("Missing/incomplete configuration file: %s" % (dotrc))
Exception: Missing/incomplete configuration file: C:\Users\Alexandra/.cdsapirc
Execution failed after 0.08 seconds
Loading resulting layers
Algorithm 'Meteorological Data: Download data (ERA5)' finished