@@ -330,7 +330,7 @@ class ScipyBackendEntrypoint(BackendEntrypoint):
330
330
"""
331
331
Backend for netCDF files based on the scipy package.
332
332
333
- It can open ".nc", ".nc4 ", ".cdf" and ".gz" files but will only be
333
+ It can open ".nc", ".cdf ", and "nc. .gz" files but will only be
334
334
selected as the default if the "netcdf4" and "h5netcdf" engines are
335
335
not available. It has the advantage that is is a lightweight engine
336
336
that has no system requirements (unlike netcdf4 and h5netcdf).
@@ -347,7 +347,7 @@ class ScipyBackendEntrypoint(BackendEntrypoint):
347
347
backends.H5netcdfBackendEntrypoint
348
348
"""
349
349
350
- description = "Open netCDF files (.nc, .nc4, . cdf and .gz) using scipy in Xarray"
350
+ description = "Open netCDF files (.nc, .cdf and .nc .gz) using scipy in Xarray"
351
351
url = "https://docs.xarray.dev/en/stable/generated/xarray.backends.ScipyBackendEntrypoint.html"
352
352
353
353
def guess_can_open (
@@ -364,7 +364,7 @@ def guess_can_open(
364
364
365
365
if isinstance (filename_or_obj , str | os .PathLike ):
366
366
_ , ext = os .path .splitext (filename_or_obj )
367
- return ext in {".nc" , ".nc4" , ". cdf" , ".gz" }
367
+ return ext in {".nc" , ".cdf" , "nc .gz" }
368
368
369
369
return False
370
370
0 commit comments