boutproject / BOUT-dev

BOUT++: Plasma fluid finite-difference simulation code in curvilinear coordinate systems
http://boutproject.github.io/
GNU Lesser General Public License v3.0
185 stars 95 forks source link

Python `DataFile` wrapper doesn't know about unlimited dimensions #459

Open ZedThree opened 7 years ago

ZedThree commented 7 years ago

This is important to writing time arrays to file

bendudson commented 7 years ago

Is this necessary? I agree it would be nice, but it would also complicate things quite a bit.

dschwoerer commented 7 years ago

Dataset is aware of the unlimited dimension. Maybe use that directly: from netCDF4 import Dataset

d7919 commented 7 years ago

Is there an equivalent for the other supported netcdf modules?