barronh / pseudonetcdf

PseudoNetCDF like NetCDF except for many scientific format backends
GNU Lesser General Public License v3.0
76 stars 35 forks source link

insertDimension inplace returns empty variable #120

Closed barronh closed 2 years ago

barronh commented 2 years ago

Using insertDimension with inplace=True, returns all variables with 0s for data. This is due to a typo where the variable is copied without data and then used as its own data sources. Instead, it should use the old variable as its data source.