Elffuss BraidHub

kikocis/auto-code-rover public

main · 871 BRawPermalink
1Feature request: show units in dataset overview
2Here's a hypothetical dataset:
3
4```
5<xarray.Dataset>
6Dimensions: (time: 3, x: 988, y: 822)
7Coordinates:
8 * x (x) float64 ...
9 * y (y) float64 ...
10 * time (time) datetime64[ns] ...
11Data variables:
12 rainfall (time, y, x) float32 ...
13 max_temp (time, y, x) float32 ...
14```
15
16It would be really nice if the units of the coordinates and of the data variables were shown in the `Dataset` repr, for example as:
17
18```
19<xarray.Dataset>
20Dimensions: (time: 3, x: 988, y: 822)
21Coordinates:
22 * x, in metres (x) float64 ...
23 * y, in metres (y) float64 ...
24 * time (time) datetime64[ns] ...
25Data variables:
26 rainfall, in mm (time, y, x) float32 ...
27 max_temp, in deg C (time, y, x) float32 ...
28```