File size: 941 Bytes
225858f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
license: mit
task_categories:
  - other
tags:
  - weather
  - physics
  - hdf5
  - the-well
  - shallow-water-equations
size_categories:
  - 1K<n<10K
---

# PlanetSWE Mini

A downsampled subset of the [PlanetSWE](https://github.com/PolymathicAI/the_well)
dataset from [The Well](https://github.com/PolymathicAI/the_well) benchmark.

## Dataset structure

```
data/
  train/   # HDF5 trajectories
  valid/
  test/
stats.yaml # per-field mean / std / rms statistics
```

## Loading

```python
from huggingface_hub import snapshot_download
from the_well.data.datasets import WellDataset

base_path = snapshot_download("rradev/planetswe-mini", repo_type="dataset")

dataset = WellDataset(
    well_base_path=base_path,
    well_dataset_name="planetswe_mini",
    well_split_name="train",   # "valid" | "test"
    n_steps_input=4,
    n_steps_output=1,
    use_normalization=True,
)
sample = dataset[0]
```

## Requirements

```
the-well
```