html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/7542#issuecomment-1439056693,https://api.github.com/repos/pydata/xarray/issues/7542,1439056693,IC_kwDOAMm_X85VxkM1,5797727,2023-02-21T20:33:29Z,2023-02-21T20:33:29Z,NONE,"It might be related to the issue, but the code below is for a different GES DISC dataset from a different server `goldsmr5` and the code also break for `parallel=True`. The same code works well for `parallel=False`.
```python
import xarray as xr
import pandas as pd
# list daily timestamps from a starting date to an end date
dts = pd.date_range(start = ""2013-01-01"", end = ""2022-12-01"", freq = ""D"")
# base url for the files
base = ""https://goldsmr5.gesdisc.eosdis.nasa.gov/opendap/MERRA2/M2I3NPASM.5.12.4/""
# prefix of the files
prefix = ""MERRA2_400.inst3_3d_asm_Np""
# function to construct the url of the files
url = lambda d: f""{base}{d.year}/{d.month:02d}/{prefix}.{d.year}{d.month:02d}{d.day:02d}.nc4""
# list of urls for the files
fnames = [url(dti) for dti in dts]
# lets try to load the first 5 files
ds = xr.open_mfdataset(fnames[:5], parallel=True)
```
The error:
```python
OSError: [Errno -51] NetCDF: Unknown file format: b'https://goldsmr5.gesdisc.eosdis.nasa.gov/opendap/MERRA2/M2I3NPASM.5.12.4/2013/01/MERRA2_400.inst3_3d_asm_Np.20130105.nc4'
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1592154849