We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 392a614 commit 2a5686cCopy full SHA for 2a5686c
xarray/coding/variables.py
@@ -237,7 +237,7 @@ def _choose_float_dtype(dtype, has_offset):
237
# Sensitivity analysis can be tricky, so we just use a float64
238
# if there's any offset at all - better unoptimised than wrong!
239
if not has_offset:
240
- return np.float32
+ return np.float64
241
# For all other types and circumstances, we just use float64.
242
# (safe because eg. complex numbers are not supported in NetCDF)
243
return np.float64
0 commit comments