Error when running pcp_combine with IMERG data #1979
-
Hi! I am currently trying to run pcp_combine with IMERG data (currently working on hera). I am using python embedding with the sum_IMERG_V06_HDF5.py script in /contrib/METplus/METplus-4.1.4/parm/use_cases/met_tool_wrapper/PCPCombine/sum_IMERG_V06_HDF5.py. When I try to run METplus, I am getting the following error: Warning! HDF5 library version mismatched error General Information:
Compiling Options:
Statically Linked Executables: no Languages:
Features:
With Deprecated Public Symbols: yes If I am understanding the error correctly, it looks like the IMERG files were created with a newer version of HDF5 than is being used with METplus. Is that correct? If so, how can I use this data with METplus? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @briannen, the error you are seeing is a conflict between 2 versions of the HDF5 library that are used by MET. There is a specific version of the HDF5 library needed to install the MET tools that conflicts with the version of HDF5 that is used by Python to run the Python Embedding script in that use case to read the data into MET. To prevent this error, you can set the MET_PYTHON_EXE environment variable to the full path of a version of Python that has the hdf5 library available. You can set this variable in a few ways:
I was able to get the use case example to work on Hera after setting this variable. Please let me know if this does not work for you or if you have any other issues. |
Beta Was this translation helpful? Give feedback.
Hi @briannen, the error you are seeing is a conflict between 2 versions of the HDF5 library that are used by MET. There is a specific version of the HDF5 library needed to install the MET tools that conflicts with the version of HDF5 that is used by Python to run the Python Embedding script in that use case to read the data into MET. To prevent this error, you can set the MET_PYTHON_EXE environment variable to the full path of a version of Python that has the hdf5 library available. You can set this variable in a few ways:
MET_PYTHON_EXE=/contrib/anaconda/anaconda3/latest/bin/python3