Package Details: python-netcdf4 1.2.7-1

Git Clone URL: https://aur.archlinux.org/python-netcdf4.git (read-only)
Package Base: python-netcdf4
Description: A python3 library for reading, manpiulating and creating netcdf files
Upstream URL: https://unidata.github.io/netcdf4-python/
Licenses: MIT
Submitter: None
Maintainer: Foucault
Last Packager: Foucault
Votes: 10
Popularity: 0.654435
First Submitted: 2010-02-10 12:12
Last Updated: 2017-01-08 22:50

Dependencies (8)

Required by (4)

Sources (1)

Latest Comments

parchd commented on 2017-04-06 08:00

check() is failing for me. Various tests fail with either Permission denied or No space left on device. The first test to fail failed with RuntimeError: NetCDF: Operation not allowed in define mode.

The No space left on device failure is because the tests have filled up my /tmp directory already, which is a bit of a pain. Any advice?

Edit: just clicked over to the python2 version and saw the comments there. Disregard this comment.

Looking forward to seeing this in community :).

Foucault commented on 2017-01-08 22:50

Version 1.2.7 proper is out, so everything should work properly with python 3.6

Foucault commented on 2017-01-06 20:27

There is no easy way to extract the fix for the tests as the patch does not apply cleanly to v1.2.6rel. What I did is fetch the latest commit from the master branch into v1.2.6. This allows the package to build but it is essentially a "prerelease" for 1.2.7. Hopefully the official 1.2.7 will appear within the next days anyway so we can have a proper package again. Please do comment if you have any runtime issues.

richli commented on 2017-01-06 19:19

Note that the check() function in the PKGBUILD needs to be updated for Python 3.6. Further, there's a test case that fails. A fix has been merged, but upstream has not yet released a new version.

https://github.com/Unidata/netcdf4-python/issues/626

Foucault commented on 2016-12-25 16:11

You are right, dateutils has been dropped indeed. Curl is required for OPeNDAP [0] support but should be optional dependency instead of a hard one. I will see to moving the documentation to a separate package within the next days and drop the python2 optdep.

[0]: https://www.opendap.org/

giniu commented on 2016-12-25 14:58

Hello, I plan to move python-netcdf4 to community as a dependency of python-xarray (which is optional/recommended dependency of python-pandas).

I have a few questions/suggestions:

- is deteutil still a dependency? Looks like it was dropped around 1.1.6.
- is curl needed? it is a dependency of netcdf, it is transitive dependency so already satisfied. Same with python.
- what is libssh2 and openssl and zlib needed for? I cannot find any mentions in documentation.
- might be good to move docs and examples to separate split package - it is not good to pull in all python2 dependencies for docs and examples, especially that python 3 is default for ages now.

Polly commented on 2016-11-13 14:23

The build directory has 26M as expected. The nc files are created in /tmp. Do the tests dump temporary files there?

Foucault commented on 2016-11-13 11:56

This is very strange. In my case build directory after build is roughly 25 MB. In any case you might want to skip the tests to get it build for the time being by deleting the check() function in the PKGBUILD.

Polly commented on 2016-11-13 11:42

Something is going wrong with the tests. It creates gigaytes of temporary nc files and fills my drive until it crashes.
That's the setup:
curl 7.51.0-1
netcdf 4.4.1-2
hdf5 1.10.0_patch1-1
python 3.5.2-1
cython 0.25.1-1

Anyone else experiencing the problem?

richli commented on 2015-10-01 20:33

Note that only does the package need rebuilding for Python 3.5, but the check() function in the PKGBUILD needs to be updated to work successfully (s/-3.4/-3.5/).

All comments