atmtools / konrad

Implementation of a radiative-convective equilibrium model.
MIT License
19 stars 18 forks source link

Fix data type check for strings when writing netCDF #132

Closed lkluft closed 4 years ago

lkluft commented 4 years ago

The old implementation lead to an error when determining the str type: NumPy adds the byte length of strings to the dtype name (e.g. "str320"). This causes the netCDF library to crash.