home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1187922418

This data as json

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/6805#issuecomment-1187922418 https://api.github.com/repos/pydata/xarray/issues/6805 1187922418 IC_kwDOAMm_X85GzkHy 13301940 2022-07-18T17:47:18Z 2022-07-18T17:47:18Z MEMBER

@lassiterdc, in your example above, f_in_ncs is just a string and you are passing this string to xr.open_mfdataset() which i don't think knows what to do with it.

python f_in_ncs = "data/"

have you tried retrieving the list of all files under "data/" via the glob module?

```python import glob f_in_ncs = sorted(glob.glob("data/*.nc"))

mf_ds = xr.open_mfdataset(f_in_ncs, concat_dim = "time", chunks={'outlat':3500, 'outlon':7000, 'time':50}, combine = "nested", engine = 'netcdf4') ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1308176241
Powered by Datasette · Queries took 0.846ms · About: xarray-datasette