You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-05-16 14:37:03,253 INFO Welcome to the CDS
2024-05-16 14:37:03,253 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/cems-fire-historical
2024-05-16 14:37:03,391 INFO Request is completed
2024-05-16 14:37:03,391 INFO Downloading https://download-0005-clone.copernicus-climate.eu/cache-compute-0005/cache/data5/dataset-cems-fire-historical-0bb8bfc5-9cd8-403c-89da-c38fadc3491a.zip to fire.zip (182.5K)
2024-05-16 14:37:04,138 INFO Download rate 244.4K/s
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': concept: no match for paramId=255 [ecCodes]
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': concept: input handle edition=2, centre=ecmf [ecCodes]
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': Please check the Parameter Database 'https://codes.ecmwf.int/grib/param-db/?id=255' [ecCodes]
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': Assertion failed: h in HandleDeleter, line 66 of /home/conda/feedstock_root/build_artifacts/metview_1712857313448/work/mir/src/mir/util/Grib.h
Traceback (most recent call last):
File "/home/jmb001/jmscript/PY/ECMWF/Metview/advanced_regrid.py", line 177, in fire_1x1_target_grid = mv.regrid(target_grid,
File "/home/jmb001/.conda/envs/ecmwf/lib/python3.10/site-packages/metview/bindings.py", line 1298, in wrapped
return value_from_metview(val)
File "/home/jmb001/.conda/envs/ecmwf/lib/python3.10/site-packages/metview/bindings.py", line 1243, in value_from_metview
raise retval
Exception: Metview error: concept: no match for paramId=255 [ecCodes]
I'm new to Metview so it would be hazardous to offer an explanation. However a few lines in the log (see Relevant Log output below) seems to point towards missing metadata.
NETCDF => (nil) 0
No mapping for NetCDF standard name [] DataInputVariable[name=danger_risk,nc=danger_risk]
No mapping for NetCDF standard name [] DataInputVariable[name=danger_risk,nc=danger_risk]
Regrid - ERROR - 20240515.181123 - concept: no match for paramId=255 [ecCodes]
Regrid - ERROR - 20240515.181123 - concept: input handle edition=2, centre=ecmf [ecCodes]
Regrid - ERROR - 20240515.181123 - Please check the Parameter Database 'https://codes.ecmwf.int/grib/param-db/?id=255' [ecCodes]
grib_util_set_spec: Failed to change edition to 2: Concept no match
Assertion failed: h in HandleDeleter, line 66 of /home/conda/feedstock_root/build_artifacts/metview_1712857313448/work/mir/src/mir/util/Grib.h
The specific input variable (danger_risk) is read from a Netcdf file and might cause
a problem for the mapping to the output (GRIB) during the MIR regridding ?
Am I missing some ancillary datafiles related to grib ?
Aside: Another detail caught my attention (since I have not installed the source code for Metview)...
this reference to Grib.h include file in a (unknown to me) conda directory
'PythonScript': Assertion failed: h in HandleDeleter, line 66 of /home/conda/feedstock_root/build_artifacts/metview_17
12857313448/work/mir/src/mir/util/Grib.h
What happened?
The rendering of first few plots of the notebook is fine but I get an error message
when executing the mv.regrid command (cell 13):
fire_1x1_target_grid = mv.regrid(target_grid,
data=fire)
2024-05-16 14:37:03,253 INFO Welcome to the CDS
2024-05-16 14:37:03,253 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/cems-fire-historical
2024-05-16 14:37:03,391 INFO Request is completed
2024-05-16 14:37:03,391 INFO Downloading https://download-0005-clone.copernicus-climate.eu/cache-compute-0005/cache/data5/dataset-cems-fire-historical-0bb8bfc5-9cd8-403c-89da-c38fadc3491a.zip to fire.zip (182.5K)
2024-05-16 14:37:04,138 INFO Download rate 244.4K/s
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': concept: no match for paramId=255 [ecCodes]
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': concept: input handle edition=2, centre=ecmf [ecCodes]
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': Please check the Parameter Database 'https://codes.ecmwf.int/grib/param-db/?id=255' [ecCodes]
Python - ERROR - 20240516.143735 - Line 0 in 'PythonScript': Assertion failed: h in HandleDeleter, line 66 of /home/conda/feedstock_root/build_artifacts/metview_1712857313448/work/mir/src/mir/util/Grib.h
Traceback (most recent call last):
File "/home/jmb001/jmscript/PY/ECMWF/Metview/advanced_regrid.py", line 177, in
fire_1x1_target_grid = mv.regrid(target_grid,
File "/home/jmb001/.conda/envs/ecmwf/lib/python3.10/site-packages/metview/bindings.py", line 1298, in wrapped
return value_from_metview(val)
File "/home/jmb001/.conda/envs/ecmwf/lib/python3.10/site-packages/metview/bindings.py", line 1243, in value_from_metview
raise retval
Exception: Metview error: concept: no match for paramId=255 [ecCodes]
I'm new to Metview so it would be hazardous to offer an explanation. However a few lines in the log (see Relevant Log output below) seems to point towards missing metadata.
NETCDF => (nil) 0
No mapping for NetCDF standard name [] DataInputVariable[name=danger_risk,nc=danger_risk]
No mapping for NetCDF standard name [] DataInputVariable[name=danger_risk,nc=danger_risk]
Regrid - ERROR - 20240515.181123 - concept: no match for paramId=255 [ecCodes]
Regrid - ERROR - 20240515.181123 - concept: input handle edition=2, centre=ecmf [ecCodes]
Regrid - ERROR - 20240515.181123 - Please check the Parameter Database 'https://codes.ecmwf.int/grib/param-db/?id=255' [ecCodes]
grib_util_set_spec: Failed to change edition to 2: Concept no match
Assertion failed: h in HandleDeleter, line 66 of /home/conda/feedstock_root/build_artifacts/metview_1712857313448/work/mir/src/mir/util/Grib.h
The specific input variable (danger_risk) is read from a Netcdf file and might cause
a problem for the mapping to the output (GRIB) during the MIR regridding ?
Am I missing some ancillary datafiles related to grib ?
this reference to Grib.h include file in a (unknown to me) conda directory
'PythonScript': Assertion failed: h in HandleDeleter, line 66 of /home/conda/feedstock_root/build_artifacts/metview_17
12857313448/work/mir/src/mir/util/Grib.h
What are the steps to reproduce the bug?
I guess run the notebook on the website:
https://metview.readthedocs.io/en/latest/examples/advanced_regrid.html
Version
I've recently install Metview 5.22.0 with conda
Platform (OS and architecture)
cat /etc/os-release --> Ubuntu 22.04.4 LTS uname -a ---> Linux 4.18.0-240.el8.x86_64
Relevant log output
Accompanying data
No response
Organisation
Environment and Climate Change Canada
The text was updated successfully, but these errors were encountered: