pangeo-data / xESMF

Universal Regridder for Geospatial Data
http://xesmf.readthedocs.io/
MIT License
183 stars 32 forks source link

Warnings related to `esmpy` package #264

Closed tomvothecoder closed 1 year ago

tomvothecoder commented 1 year ago

Hello, I am receiving esmpy warnings (via xesmf) in my package's test suite. This issue isn't exactly rooted in xesmf, but I wasn't able to find a GitHub repository for esmpy to open an issue in. I only found this [website] (http://earthsystemmodeling.org/esmpy/). Maybe somebody here might know how to get this fixed?

../../miniconda3/envs/xcdat_ci/lib/python3.10/site-packages/esmpy/__init__.py:106
  /home/vo13/miniconda3/envs/xcdat_ci/lib/python3.10/site-packages/esmpy/__init__.py:106: DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors.
    __author__ = msg["Author"]

../../miniconda3/envs/xcdat_ci/lib/python3.10/site-packages/esmpy/__init__.py:107
  /home/vo13/miniconda3/envs/xcdat_ci/lib/python3.10/site-packages/esmpy/__init__.py:107: DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors.
    __homepage__ = msg["Home-page"]

../../miniconda3/envs/xcdat_ci/lib/python3.10/site-packages/esmpy/__init__.py:108
  /home/vo13/miniconda3/envs/xcdat_ci/lib/python3.10/site-packages/esmpy/__init__.py:108: DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors.
    __obsoletes__ = msg["obsoletes"]
huard commented 1 year ago

Hi Tom,

The esmpy repo is embedded in the esmf repo: https://github.com/esmf-org/esmf I suspect the warnings library could filter out those.

tomvothecoder commented 1 year ago

Thanks @huard, I'll close this issue and move it over there!