Open szwang1990 opened 6 months ago
I am also getting the same PIO Missing error
============================================================================================ short test summary info ============================================================================================= FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_backend.py::test_regrid - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_backend.py::test_read_weights - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf_nans - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. ======================================================================== 4 failed, 125 passed, 1 skipped, 42 warnings in 82.25s (0:01:22) ========================================================================
Hi, I am new to xESMF and when I installed xESMF using conda on my PC following this tutorial, pytest reported 5 failed tests. I read about this issue, but in my case
mpi
,mpi4py
andmpich
packages are all there, then why does the PIO error still occur?I put my
conda list
and the output ofpytest -v --pyargs xesmf
in the attachment. conda_list.txt output_of_pytest.txt=============================================================================================================================== short test summary info =============================================================================================================================== FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_backend.py::test_regrid - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_backend.py::test_read_weights - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf_nans - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO. FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py::test_regrid_dataarray[True] - ValueError: dataset must include lon/lat or be CF-compliant =============================================================================================================== 5 failed, 111 passed, 1 skipped, 300 warnings in 18.81s ===============================================================================================================
Thanks in advance.