issue_comments: 296756057
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/1383#issuecomment-296756057 | https://api.github.com/repos/pydata/xarray/issues/1383 | 296756057 | MDEyOklzc3VlQ29tbWVudDI5Njc1NjA1Nw== | 8699967 | 2017-04-24T17:22:46Z | 2017-04-24T17:24:40Z | CONTRIBUTOR | Found a solution: ```python import xarray as xr lsm_input_folder_path = '/path/to/files*.nc' def define_coords(ds): if 'lat' not in ds.coords: ds.coords['lat'] = ds['lat'] if 'lon' not in ds.coords: ds.coords['lon'] = ds['lon'] return ds with xr.open_mfdataset(lsm_input_folder_path, preprocess=define_coords, concat_dim='time') as xd: print(xd) ``` |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
223891484 |