File size: 2,861 Bytes
3cd3034
 
 
 
cf0b28d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3cd3034
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
---
language:
- en
---
# CoastalBench-preview

 \[[**Paper**](https://openreview.net/pdf?id=h3EEUJaMLu)\]  \[[**GitHub**](https://github.com/spatialdatasciencegroup/CoastalBench)\]

> This repository contains a 90-day subset of the full **CoastalBench** dataset, provided as a lightweight preview.


## Dataset Overview

- **Time span**: 2008-01-02 to 2008-04-01 
- **Duration**: 90 days  
- **Temporal resolution**: Half-hourly (48 time steps per day)  
- **Spatial resolution**: 898 × 598  
- **Vertical levels**: 12 (for 3D ocean features)  
- **Data type**: `float16` (This preview uses lower precision compared to the original NetCDF files for reduced storage)


## Variables

### Ocean and Meteorological Features
Each `.zarr` file contains 48 half-hourly time steps across 82 features, stacked along the first dimension.

The 82 features include:
- **3D variables** (each with 12 vertical levels, treated as 12 separate 2D channels):
  - `u`: horizontal velocity (east-west)
  - `v`: horizontal velocity (north-south)
  - `w`: vertical velocity
  - `temp` : temperature
  - `salt` : salinity
  - `AKs` : vertical mixing coefficient
- **2D surface variables**:
  - `zeta`: sea surface height
  - `Pair`: surface air pressure
  - `Qair`: specific humidity
  - `Tair`: air temperature
  - `rain`: rainfall rate
  - `swrad`: shortwave radiation
  - `lwrad`: longwave radiation
  - `Uwind`: u-wind component
  - `Vwind`: v-wind component
- **Land-sea mask**:
  - `mask`: binary mask (1 for ocean, 0 for land), included as the 82nd feature

All features are stacked into a single 4D tensor:  `(features=82, height=898, width=598, time=48)`

### River Inputs 
Each river Zarr file contains 48 half-hourly time steps of 25 features across 4 river locations. These features include:

- `river_transport`: river transport (1D)
- `river_temp`: temperature at 12 depth levels
- `river_salt`: salinity at 12 depth levels

All features are stored in a 3D array with shape `(features=25, rivers=4, time=48)` and are temporally aligned with the ocean and meteorological data.

## File Structure

```
CoastalBench-preview/
├── ocean_met/
│   ├── 20080102.zarr/
│   ├── 20080103.zarr/
│   ├── ...
│   └── 20080401.zarr/

├── river/
│   ├── 20080102.zarr/
│   ├── 20080103.zarr/
│   ├── ...
│   └── 20080401.zarr/
```




## Citation
Please cite our paper if you find this dataset useful for your work:
```
@inproceedings{coastalbench,
  title={CoastalBench: A Decade-Long High-Resolution Dataset to Emulate Complex Coastal Processes},
  author={Xu, Zelin and Zhang, Yupu and Xiao, Tingsong and Lizaso, Maitane Olabarrieta and Gonzalez-Ondina, Jose M and Liu, Zibo and Chen, Shigang and Jiang, Zhe},
  booktitle={Forty-second International Conference on Machine Learning},
  year={2025},
}
```