Your message dated Tue, 23 Aug 2022 15:07:55 +0000 with message-id <[email protected]> and subject line Bug#955015: fixed in python-xarray 2022.06.0-4 has caused the Debian Bug report #955015, regarding python3-xarray: Backend api engine grib broken to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 955015: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955015 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-xarray Version: 0.15.0-3 Severity: important Dear Maintainer, I was trying to use to_netcdf() located in /usr/lib/python3/dist-packages/xarray/backends/api.py on a grib file without specifying the engine and it appears that the default engine selection end up on grib engine. So _get_default_engine calls _get_default_engine_grib as we have a grib file but this function always raise a ValueError even if cfgrib import succeed but anyway, there is a real issue with this function as it is returning nothing while _get_default_engine is expecting an engine. If we try to, somehow, makes _get_default_engine_grib return cfdisk as engine, it will still fail as cfgrib is absent of the WRITEABLE_STORES bellow but even if it would have been present, cfgrib does not implement a writeable store. WRITEABLE_STORES: Dict[str, Callable] = { "netcdf4": backends.NetCDF4DataStore.open, "scipy": backends.ScipyDataStore, "h5netcdf": backends.H5NetCDFStore.open, } I'm quite new dealing with xarray but I think grib engine seems to be on work in progress or something and doesn't look ready yet. In order to get the job done, I tryed to make _get_default_engine_grib returning "netcdf4" based on observation on an older implementation of xarray (0.10.2-1). This "hack" worked but it is really dirty. Could you please dig a bit more and fix this issue? Best regards, and thank you for all job done maintaining theses packages. -- System Information: Debian Release: bullseye/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/1 CPU core) Kernel taint flags: TAINT_CRAP Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-xarray depends on: ii python3 3.8.2-2 ii python3-numpy 1:1.17.4-5 ii python3-pandas 0.25.3+dfsg-7 Versions of packages python3-xarray recommends: ii python3-bottleneck 1.2.1+ds1-2+b1 ii python3-dask 2.11.0+dfsg-1 ii python3-h5netcdf 0.7.1-1 ii python3-netcdf4 1.5.3-1+b2 ii python3-zarr 2.4.0+ds-1 Versions of packages python3-xarray suggests: pn python-xarray-doc <none> pn python3-cartopy <none> ii python3-matplotlib 3.2.1-1 pn python3-pydap <none> pn python3-rasterio <none> ii python3-scipy 1.3.3-3 pn python3-seaborn <none> ii python3-toolz 0.9.0-1 -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-xarray Source-Version: 2022.06.0-4 Done: Alastair McKinstry <[email protected]> We believe that the bug you reported is fixed in the latest version of python-xarray, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <[email protected]> (supplier of updated python-xarray package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 23 Aug 2022 15:10:22 +0100 Source: python-xarray Architecture: source Version: 2022.06.0-4 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Alastair McKinstry <[email protected]> Closes: 955015 1013939 Changes: python-xarray (2022.06.0-4) unstable; urgency=medium . * Ack closed bug. Closes: #955015 * Ignore (xfail) on test that fails depending on random seed. Closes: #1013939 Checksums-Sha1: dc3be1b3982a588e0c362e3b57c993db86fa82b5 3358 python-xarray_2022.06.0-4.dsc 5c28bd16a4effd8222453bef66522e5c35f6fc45 14100 python-xarray_2022.06.0-4.debian.tar.xz Checksums-Sha256: bfc6c3d14b2b1acb401187aaf21a79099b3ddad5ec5f9a3e3d3dfa2a6ff68ec9 3358 python-xarray_2022.06.0-4.dsc 457912c06cd29eba9dad7824b5d6e283fa518d56301c7f2cff3937dce317b26e 14100 python-xarray_2022.06.0-4.debian.tar.xz Files: 5f5f78f18e0626b5afc30f1bb15900e9 3358 python optional python-xarray_2022.06.0-4.dsc 8f7998bdc82b9ff4126f9f9d7651b456 14100 python optional python-xarray_2022.06.0-4.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmME5IUACgkQy+a7Tl2a 06VNaw/9FCMtOcvY6pRkjc994hMBGsYukkJeCtiyg+cPC1ITNaHvr1MKPn387Kq3 fUFcRbtjkFu6jdny22dWdP6OX94o9eOi7J/pfA8lMzf5PDBsK3p5Ep/upQ5JosgA ye6xqN8hOp/v/z4Q8bsBv+PzPPFRgK20J4D0NqSro+zbyz04W0W79GFR2E59nqYY CawaGYXGI0NkIWRYdC3VyQ8kUHNKEReXXT7ahpPG/L1R5aHUvhuCkAApsahQBwaa FKMOg3h5O+u2j7eS9O6npGZPCWaJzLDwJNwjl9pPjMA6atJ3pd7NO4Lg9OAVde5m 5X4BlNInPyMioVXXiT7LsbDeW63eWKKj8L1A9ZUISHONTgXh+FGBa1Mcn6jzsLPD EVFL5D4Cm0+69GNsHIHyPkli2KcQaCkzrtmd+jwDtBL5GdAPe61E9gSrtxZtQATU BGXDJf6Wi2BCi4nM7iRPIhhmnRVpTSylLkZ+HOnEMXBCFdXMnQZul9qN4kkI+8Uj 8OYegHtDaCO3q4/tFPm818R8urtnuirVX7Mfqq48uowcrsYnZymRHJWVc6/zYzg9 nOVuThszenXhMC4qhvax3Kkf7c/s2RgmWu93SqLDkKkWibqDyvPHixKoQbIYez1K ALLO1wohpTZorFG1wyjfKLXNmId4g+Xuba5xE3pbiCBoFhvSack= =85Pg -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
