Skip to content

Commit

Permalink
updated documentation pydata#2304
Browse files Browse the repository at this point in the history
  • Loading branch information
Daoud Jahdou committed Feb 7, 2019
1 parent fef5fe7 commit 093a338
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def open_dataset(filename_or_obj, group=None, decode_cf=True,
dataset. This may be useful to drop variables with problems or
inconsistent values.
force_promote_float64: bool
If True force int variables to be promoted to float64 instead of
float32
If True force int variables with scale factorto be promoted to
float64 instead of float32
backend_kwargs: dictionary, optional
A dictionary of keyword arguments to pass on to the backend. This
may be useful when backend options would improve performance or
Expand Down Expand Up @@ -432,8 +432,8 @@ def open_dataarray(filename_or_obj, group=None, decode_cf=True,
dataset. This may be useful to drop variables with problems or
inconsistent values.
force_promote_float64: bool
If True force int variables to be promoted to float64 instead of
float32
If True force int variables with scale factor to be promoted to
float64 instead of float32
backend_kwargs: dictionary, optional
A dictionary of keyword arguments to pass on to the backend. This
may be useful when backend options would improve performance or
Expand Down
4 changes: 2 additions & 2 deletions xarray/core/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def __eq__(self, other):
INF = AlwaysGreaterThan()
NINF = AlwaysLessThan()

# Constant that indicates that we
# must switch to float64 instead of
# Constant that indicates if we
# want to promote to float64 instead of
# float32 even if dtype.itemsize <= 2
FORCE_PROMOTE_FLOAT64 = False

Expand Down

0 comments on commit 093a338

Please sign in to comment.