Dataset Viewer issue for openclimatefix/nimrod-uk-1km
{'login': 'ZYMXIXI', 'id': 32382826, 'node_id': 'MDQ6VXNlcjMyMzgyODI2', 'avatar_url': 'https://avatars.githubusercontent.com/u/32382826?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ZYMXIXI', 'html_url': 'https://github.com/ZYMXIXI', 'followers_url': 'https://api.github.com/users/ZYMXIXI/followers', 'following_url': 'https://api.github.com/users/ZYMXIXI/following{/other_user}', 'gists_url': 'https://api.github.com/users/ZYMXIXI/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/ZYMXIXI/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ZYMXIXI/subscriptions', 'organizations_url': 'https://api.github.com/users/ZYMXIXI/orgs', 'repos_url': 'https://api.github.com/users/ZYMXIXI/repos', 'events_url': 'https://api.github.com/users/ZYMXIXI/events{/privacy}', 'received_events_url': 'https://api.github.com/users/ZYMXIXI/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['If I understand correctly, this is due to the key `split` missing in the line https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/blob/main/nimrod-uk-1km.py#L41 of the script.\r\nMaybe @albertvillanova could confirm.'
 "I'm having a look."
 'Indeed there are several issues in this dataset loading script.\r\n\r\nThe one pointed out by @severo: for the default configuration "crops": https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/blob/main/nimrod-uk-1km.py#L244\r\n- The download manager downloads `_URL`\r\n- But `_URL` is not defined:  https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/blob/main/nimrod-uk-1km.py#L41\r\n  ```python\r\n  _URL = {\'train\': []}\r\n  ```\r\n- Afterwards, for each split, a different key in `_ULR` is used, but it only contains one key: "train"\r\n  - "valid" key: https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/blob/main/nimrod-uk-1km.py#L260\r\n  - "test key: https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/blob/main/nimrod-uk-1km.py#L269\r\n  \r\nThese keys do not exist inside `_URL`, thus the error message reported in the viewer: \r\n```\r\nException:     KeyError\r\nMessage:       \'valid\'\r\n```'
 'Would anyone want to submit a Hub PR (or open a Discussion for the authors to be aware) to this dataset? https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km'
 "Hi, I'm the main author for that dataset, so I'll work on updating it! I was working on debugging some stuff awhile ago, which is what broke it. "
 "I've opened a Discussion page, so that we can ask/answer and propose fixes until the script works properly: https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km/discussions/1\r\n\r\nCC: @julien-c @jacobbieker "]
### Link

_No response_

### Description

_No response_

### Owner

_No response_
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/4443/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}