netcdf4-python icon indicating copy to clipboard operation
netcdf4-python copied to clipboard

netcdf4-python: python/numpy interface to the netCDF C library

Results 155 netcdf4-python issues
Sort by recently updated
recently updated
newest added

Hello, I have found it impossible (at v1.6.5) to get netCDF4 to write out a file with the default chunking strategy - it either writes contiguous, or with explicitly set...

To create a minimal reproducer (I used Python 3.11.9): ``` python -m venv test_nc4 source test_nc4/bin/activate pip install netcdf4 python -c "import numpy;import warnings;warnings.filterwarnings('error');import netCDF4" ``` This will raise an...

Hello, I encountered a problem when trying to save a string variable. The goal is to update part of a dataset, so I am using a slice to select relevant...

Hello, I'm trying to build netcdf4 -python in for Mageia Cauldron. I get this errors: ``` gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64...

* netcdf version 1.6.5 * Windows 10 Based on https://github.com/Unidata/netcdf4-python/issues/817, but with the rename ordering switched just to be safe. There seems to be a bug in `renameDimension`: ```python import...

There are a number of footguns, inconsistencies, and suspicious behaviors in how `_StartCountStride` handles various keys for `__getitem__` and `__setitem__`. I found these when working on the type stubs. I...

The following minimal example fails: ```python import netCDF4 import numpy as np with netCDF4.Dataset("test_dim_autocomplex.nc", "w", auto_complex=True) as f: f.createDimension("x", size=2) f.createDimension("complex", size=2) c_dim = f.createVariable("data_dim", np.float64, ("x", "complex")) c_dim[:] =...

Fixes test_tocdl on Windows. The expected output is: ``` netcdf ubyte { dimensions: d = 2 ; variables: byte ub(d) ; ub:_Unsigned = "true" ; byte sb(d) ; byte sb2(d)...

Version: 1.5.8 System: A Cray with SLES 15.3, but I expect this problem will occur on any system Description of problem: The netcdf4-python installer auto-detects mpi4py by trying to load...

When I write a dataset to the same file twice (even with `clobber=True`), I get an OS error: ```python import os from netCDF4 import Dataset try: os.remove('example.nc') except FileNotFoundError: pass...