From 7c4e2ac83f7b4306296ff9b7b51aaf016e5ad614 Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Wed, 17 Feb 2021 19:12:34 +0100 Subject: [PATCH] Revert defaults of beckends' open_datasets to prepare the switch to APIv2 #4309 (#4899) --- xarray/backends/cfgrib_.py | 6 +++--- xarray/backends/h5netcdf_.py | 6 +++--- xarray/backends/netCDF4_.py | 6 +++--- xarray/backends/pseudonetcdf_.py | 6 +++--- xarray/backends/pydap_.py | 6 +++--- xarray/backends/pynio_.py | 6 +++--- xarray/backends/scipy_.py | 6 +++--- xarray/backends/zarr.py | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/xarray/backends/cfgrib_.py b/xarray/backends/cfgrib_.py index 65c5bc2a02b..d582af82c6e 100644 --- a/xarray/backends/cfgrib_.py +++ b/xarray/backends/cfgrib_.py @@ -99,9 +99,9 @@ def open_dataset( filename_or_obj, *, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/h5netcdf_.py b/xarray/backends/h5netcdf_.py index 5766b34d9bd..ca531af81f6 100644 --- a/xarray/backends/h5netcdf_.py +++ b/xarray/backends/h5netcdf_.py @@ -352,9 +352,9 @@ def open_dataset( filename_or_obj, *, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/netCDF4_.py b/xarray/backends/netCDF4_.py index e3d87aaf83f..78ad1a4c20f 100644 --- a/xarray/backends/netCDF4_.py +++ b/xarray/backends/netCDF4_.py @@ -526,9 +526,9 @@ def open_dataset( self, filename_or_obj, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/pseudonetcdf_.py b/xarray/backends/pseudonetcdf_.py index 80485fce459..a9d7f0bbed4 100644 --- a/xarray/backends/pseudonetcdf_.py +++ b/xarray/backends/pseudonetcdf_.py @@ -121,9 +121,9 @@ def open_dataset( self, filename_or_obj, mask_and_scale=False, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/pydap_.py b/xarray/backends/pydap_.py index 7f8622ca66e..09bff9acc1d 100644 --- a/xarray/backends/pydap_.py +++ b/xarray/backends/pydap_.py @@ -115,9 +115,9 @@ def open_dataset( self, filename_or_obj, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/pynio_.py b/xarray/backends/pynio_.py index 41c99efd076..8ace5697d09 100644 --- a/xarray/backends/pynio_.py +++ b/xarray/backends/pynio_.py @@ -101,9 +101,9 @@ class PynioBackendEntrypoint(BackendEntrypoint): def open_dataset( filename_or_obj, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/scipy_.py b/xarray/backends/scipy_.py index ddc157ed8e4..b98515c7b5b 100644 --- a/xarray/backends/scipy_.py +++ b/xarray/backends/scipy_.py @@ -249,9 +249,9 @@ def open_dataset( self, filename_or_obj, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None, diff --git a/xarray/backends/zarr.py b/xarray/backends/zarr.py index 074572169ce..d740b207e37 100644 --- a/xarray/backends/zarr.py +++ b/xarray/backends/zarr.py @@ -687,9 +687,9 @@ def open_dataset( self, filename_or_obj, mask_and_scale=True, - decode_times=None, - concat_characters=None, - decode_coords=None, + decode_times=True, + concat_characters=True, + decode_coords=True, drop_variables=None, use_cftime=None, decode_timedelta=None,