Skip to content

Commit 093a338

Browse files
author
Daoud Jahdou
committed
updated documentation pydata#2304
1 parent fef5fe7 commit 093a338

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

xarray/backends/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ def open_dataset(filename_or_obj, group=None, decode_cf=True,
230230
dataset. This may be useful to drop variables with problems or
231231
inconsistent values.
232232
force_promote_float64: bool
233-
If True force int variables to be promoted to float64 instead of
234-
float32
233+
If True force int variables with scale factorto be promoted to
234+
float64 instead of float32
235235
backend_kwargs: dictionary, optional
236236
A dictionary of keyword arguments to pass on to the backend. This
237237
may be useful when backend options would improve performance or
@@ -432,8 +432,8 @@ def open_dataarray(filename_or_obj, group=None, decode_cf=True,
432432
dataset. This may be useful to drop variables with problems or
433433
inconsistent values.
434434
force_promote_float64: bool
435-
If True force int variables to be promoted to float64 instead of
436-
float32
435+
If True force int variables with scale factor to be promoted to
436+
float64 instead of float32
437437
backend_kwargs: dictionary, optional
438438
A dictionary of keyword arguments to pass on to the backend. This
439439
may be useful when backend options would improve performance or

xarray/core/dtypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def __eq__(self, other):
3030
INF = AlwaysGreaterThan()
3131
NINF = AlwaysLessThan()
3232

33-
# Constant that indicates that we
34-
# must switch to float64 instead of
33+
# Constant that indicates if we
34+
# want to promote to float64 instead of
3535
# float32 even if dtype.itemsize <= 2
3636
FORCE_PROMOTE_FLOAT64 = False
3737

0 commit comments

Comments
 (0)