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/4830#issuecomment-767170277,https://api.github.com/repos/pydata/xarray/issues/4830,767170277,MDEyOklzc3VlQ29tbWVudDc2NzE3MDI3Nw==,40218891,2021-01-25T23:06:00Z,2021-01-25T23:06:00Z,NONE,"One could always set *source* to ``str(filename_or_object)``. In this case: ``` import s3fs s3 = s3fs.S3FileSystem(anon=True) s3path = 's3://wrf-se-ak-ar5/gfdl/hist/daily/1980/WRFDS_1980-01-02.nc' fileset = s3.open(s3path) fileset fileset.path ``` prints ``` 'wrf-se-ak-ar5/gfdl/hist/daily/1980/WRFDS_1980-01-02.nc' ``` It is easy to parse the above ``fileset`` representation, but there is no guarantee that some other external file representation will be amenable to parsing. If the fix is only for *s3fs*, getting ``path`` attribute is more elegant, however this would require xarray to be aware of the module.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,789653499 https://github.com/pydata/xarray/issues/4830#issuecomment-767138190,https://api.github.com/repos/pydata/xarray/issues/4830,767138190,MDEyOklzc3VlQ29tbWVudDc2NzEzODE5MA==,2448579,2021-01-25T21:56:02Z,2021-01-25T21:56:02Z,MEMBER,"> the source attribute is available only when the fileset consists of strings or Paths. Is it possible to fix this instead?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,789653499