Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
pretty_name: Combined Equation Dataset
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Advection Equation Dataset (wave-varying-boundary)
|
| 9 |
+
|
| 10 |
+
This dataset contains HDF5 files for Wave equation simulations with varying boundary conditions.
|
| 11 |
+
|
| 12 |
+
## Files
|
| 13 |
+
|
| 14 |
+
- for training: `for_training`
|
| 15 |
+
- Additional directories: `ood`, `oodhard`
|
| 16 |
+
|
| 17 |
+
## Usage
|
| 18 |
+
|
| 19 |
+
To load the data:
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from huggingface_hub import hf_hub_download
|
| 23 |
+
import h5py
|
| 24 |
+
|
| 25 |
+
# Download a specific file
|
| 26 |
+
file_path = hf_hub_download(
|
| 27 |
+
repo_id="sogeeking/wave-varying-boundary",
|
| 28 |
+
filename="CE_train_E4.h5",
|
| 29 |
+
repo_type="dataset"
|
| 30 |
+
)
|
| 31 |
+
|
| 32 |
+
# Load with h5py
|
| 33 |
+
with h5py.File(file_path, 'r') as f:
|
| 34 |
+
# Explore the structure
|
| 35 |
+
print(list(f.keys()))
|
| 36 |
+
# Load your data
|
| 37 |
+
data = f['your_key'][:]
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Citation
|
| 41 |
+
|
| 42 |
+
Please cite this dataset if you use it in your research.
|