File size: 2,533 Bytes
ecc3cef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c1cb04e
ecc3cef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8674147
 
ecc3cef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8674147
ecc3cef
 
8674147
ecc3cef
 
 
 
 
 
 
 
 
8674147
ecc3cef
 
 
 
 
 
 
 
 
 
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
license: mit
language: en
pretty_name: "Koopman DA Benchmark Dataset"
size_categories:
- n<1K
tags:
- numpy
- hdf5
---

# Koopman Data Assimilation Dataset

Dataset accompanying the benchmark for Data Assimilation (DA) tasks with Koopman-inspired models.

Code repository: [github.com/Wenxuan52/KoopmanDABench](https://github.com/Wenxuan52/KoopmanDABench) (Currently private, will release codebase when paper finished)

## What Is Hosted Where

The project is split across two locations:

- **GitHub repo** — source code, plus a few small files under `data/` (e.g. data-generation scripts, small reference files, configs).
- **This Hugging Face dataset** — the large pre-computed `.npy` / `.h5` files that are too big to track in Git.

On a new machine, cloning the GitHub repo and then downloading this dataset into the same `data/` folder gives you the complete setup. The two sets of files do not overlap.

## Final `data/` Layout

After both `git clone` and `hf download`, the `data/` folder should look like:

```
data/
├── kol_generate_data/            # from GitHub
├── ERA5_High/
│   ├── process_weatherbench.py   # from GitHub
│   ├── test.py                   # from GitHub
│   └── raw_data/                 # from Hugging Face
├── ERA5/                         # from Hugging Face
├── dam/                          # from Hugging Face
├── cylinder/                     # from Hugging Face
└── kol/                          # from Hugging Face
```

---

## Quick Start on a New Machine

### 1. Clone the code from GitHub

```bash
git clone https://github.com/Wenxuan52/KoopmanDA.git
cd KoopmanDA
```

This already populates `data/` with the small files tracked in Git (e.g. generation scripts).

### 2. Set up the Python environment

```bash
conda create -n koopmanda python=3.10 -y
conda activate koopmanda
pip install -r requirements.txt        # or: pip install -e .
pip install -U huggingface_hub
```

### 3. Pull the large data files from Hugging Face into `data/`

Download into the existing `data/` folder — files from GitHub are not affected:

```bash
hf download BruceYuan/KoopmanDA \
    --repo-type dataset \
    --local-dir ./data
```

Equivalent Python call:

```python
from huggingface_hub import snapshot_download
snapshot_download(
    repo_id="BruceYuan/KoopmanDA",
    repo_type="dataset",
    local_dir="./data",
)
```

The project should now run exactly as it did on the original machine.

## License

Released under the MIT License.