LenghuSky-8: An 8-Year All-Sky Cloud Dataset with Star-Aware Masks and Alt-Az Calibration for Segmentation and Nowcasting
Organizations: State Key Laboratory of Dark Matter Physics, Tsung-Dao Lee Institute & School of Physics and Astronomy, Shanghai Jiao Tong University, Shanghai 201210, China · National Astronomical Observatories, Chinese Academy of Sciences, Beijing 100101, China · School of Computer Technology and Application, Qinghai University, Xining 810016, China
Abstract
Ground-based time-domain observatories require minute-by-minute, site-scale awareness of cloud cover, yet existing all-sky datasets are short, daylight-biased, or lack astrometric calibration. We present LenghuSky-8, an eight-year (2018-2025) all-sky imaging dataset from a premier astronomical site, comprising 429,620 frames with 81.2% night-time coverage, star-aware cloud masks, background masks, and per-pixel altitude-azimuth (Alt-Az) calibration. For robust cloud segmentation across day, night, and lunar phases, we train a linear probe on DINOv3 local features and obtain 93.3% 1.1% overall accuracy on a balanced, manually labeled set of 1,111 images. Using stellar astrometry, we map each pixel to local alt-az coordinates and measure calibration uncertainties of approximately 0.37 deg at zenith and approximately 1.34 deg at 30 deg altitude, sufficient for integration with telescope schedulers. Beyond segmentation, we introduce a short-horizon nowcasting benchmark over per-pixel three-class logits (sky/cloud/contamination) with four baselines: persistence (copying the last frame), optical flow, ConvLSTM, and VideoGPT. ConvLSTM performs best but yields only limited gains over persistence, underscoring the difficulty of near-term cloud evolution. We release the dataset, calibrations, and an open-source toolkit for loading, evaluation, and scheduler-ready alt-az maps to boost research in segmentation, nowcasting, and autonomous observatory operations.
Figures & tables
| Duration of persistence [days] | Total time (days) | Total number of frames | Proportion of time | Proportion of frames |
|---|---|---|---|---|
| 5 | 2176.20 | 388586 | 0.7996 | 0.9045 |
| 10 | 1540.03 | 273491 | 0.5658 | 0.6366 |
| 30 | 1000.95 | 179256 | 0.3678 | 0.4172 |
| 60 | 625.85 | 117792 | 0.2300 | 0.2742 |
| Start | End | Duration (days) | Num Frames |
|---|---|---|---|
| 2018-12-10 13:32:44 | 2019-04-19 10:02:24 | 129.85 | 24747 |
| 2020-12-06 07:22:28 | 2021-03-04 01:50:38 | 87.77 | 18034 |
| 2020-01-26 19:52:42 | 2020-04-12 06:07:00 | 76.43 | 14002 |
| 2021-05-31 22:22:44 | 2021-08-14 16:32:27 | 74.76 | 12206 |
| 2023-01-20 06:53:42 | 2023-03-27 16:43:51 | 66.41 | 12267 |
| 2019-11-20 17:12:31 | 2020-01-25 17:26:05 | 66.01 | 13083 |
| Start time (UTC+8) | New astrometry | Roof position | Number of images | Duration [day] | Background proportion |
|---|---|---|---|---|---|
| 2018-05-01 00:02:44 | Yes | – | 22300 | 140.7 | 0.1917 |
| 2018-09-27 19:19:49 | Yes | – | 34772 | 203.6 | 0.1357 |
| 2019-04-24 15:39:36 | Yes | – | 9493 | 60.9 | 0.1702 |
| 2019-06-26 18:23:18 | Yes | – | 1343 | 8.7 | 0.1875 |
| 2019-07-05 11:59:14 | Yes | – | 70477 | 418.2 | 0.1902 |
| 2020-08-26 17:24:23 | No | – | 3124 | 20.9 | 0.2093 |
| Start time (UTC+8) | [deg] | [pixel] |
|---|---|---|
| 2018-05-01 00:02:44 | 0.569 | 4.494 |
| 2018-09-27 19:19:49 | 1.382 | 9.016 |
| 2019-04-24 15:39:36 | 0.774 | 4.298 |
| 2019-06-26 18:23:18 | 0.814 | 5.239 |
| 2019-07-05 11:59:14 | 1.978 | 5.958 |
| 2023-09-27 18:09:48 | 2.256 | 15.086 |
| Baseline | Accuracy | Macro Precision | Macro Recall | Macro F1-score |
|---|---|---|---|---|
| DINOv3 local | ||||
| DINOv3 local + CLS | ||||
| DINOv3 local + CLS + register | ||||
| DINOv3 local + mean( CLS + register) | ||||
| Encoder-decoder | ||||
| U-Net |
| Baseline | Accuracy | Precision | Recall | F1-score |
|---|---|---|---|---|
| Trivial | 0.888 | 0.859 | 0.858 | 0.858 |
| Optical Flow | 0.888 | 0.858 | 0.860 | 0.859 |
| ConvLSTM | 0.890 | 0.871 | 0.849 | 0.859 |
| VideoGPT-1 | 0.871 | 0.841 | 0.823 | 0.831 |
| VideoGPT-2 | 0.872 | 0.840 | 0.825 | 0.831 |
| VideoGPT-7 | 0.870 | 0.841 | 0.818 | 0.827 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Reason | # occur | # frame | Down time [days] |
|---|---|---|---|
| cover | 181 | 30111 | 169.79 |
| stronglight | 388 | 5275 | 23.54 |
| cameradown | 56 | 2167 | 20.75 |
| object | 40 | 735 | 4.66 |
| Total | 665 | 38288 | 218.75 |
| Name | Formula |
|---|---|
| Gnomonic projection | |
| Stereographic projection | |
| Equidistant projection | |
| Equisolid angle projection | |
| Orthographic projection |
| Stage | Layer (in out) | Operation | k/s/p | Channel out | Size (H W) |
|---|---|---|---|---|---|
| Enc-1 | 3 64 | Conv2d + ReLU + BN | 3/1/1 | 64 | |
| Enc-1 | 64 64 | Conv2d + ReLU + BN | 3/1/1 | 64 | |
| Enc-1 | – | MaxPool2d | 2/2/0 | 64 | |
| Enc-2 | 64 128 | Conv2d + ReLU + BN | 3/1/1 | 128 | |
| Enc-2 | 128 128 | Conv2d + ReLU + BN | 3/1/1 | 128 | |
| Enc-2 | – | MaxPool2d | 2/2/0 | 128 |
| Stage | Layer (in out) | Operation | k/s/p | Ch. out | Size (H W) |
| Enc-0 | 3 64 | Conv2d + ReLU + BN | 3/1/1 | 64 | |
| Enc-0 | 64 64 | Conv2d + ReLU + BN | 3/1/1 | 64 | |
| Down-1 | – | MaxPool2d | 2/2/0 | 64 | |
| Down-1 | 64 128 | Conv2d + ReLU + BN | 3/1/1 | 128 | |
| Down-1 | 128 128 | Conv2d + ReLU + BN | 3/1/1 | 128 | |
| Down-2 | – | MaxPool2d | 2/2/0 | 128 |
| Stage | Layer (in out) | Operation | k/s/p | Ch. out | Size (H W) |
|---|---|---|---|---|---|
| LSTM-1 | 3 64 | ConvLSTM2D + Dropout | 3/1/1 | 64 | |
| LSTM-2 | 64 64 | ConvLSTM2D + Dropout | 3/1/1 | 64 | |
| Head | 64 3 | Conv2d (readout) | 1/1/0 | 3 |
| VQ-VAE Encoder | |||||
| Enc-1 | 3 64 | Conv2d + BN + ReLU + ResidualBlock | 4/2/1 | 64 | |
| Enc-2 | 64 128 | Conv2d + BN + ReLU + ResidualBlock | 4/2/1 | 128 | |
| Enc-3 | 128 256 | Conv2d + BN + ReLU + ResidualBlock | 4/2/1 | 256 | |
| Bottleneck | 256 256 | Conv2d + BN + ReLU | 3/1/1 | 256 | |
| Vector Quantiser | |||||
| VQ | 256 | VectorQuantizer ( , ) | – | ||
| Class | Baseline | Precision | Recall | F1-score |
|---|---|---|---|---|
| Sky | Trivial | 0.914 | 0.913 | 0.914 |
| Optica lFlow | 0.913 | 0.913 | 0.913 | |
| ConvLSTM | 0.922 | 0.905 | 0.913 | |
| VideoGPT-1 | 0.920 | 0.882 | 0.900 | |
| VideoGPT-2 | 0.915 | 0.887 | 0.901 | |
| VideoGPT-7 | 0.919 | 0.883 | 0.900 |
| Class | Baseline | Precision | Recall | F1-score |
|---|---|---|---|---|
| Sky | DINOv3 local | |||
| DINOv3 local + CLS | ||||
| DINOv3 local + CLS + register | ||||
| DINOv3 local + mean(CLS + register) | ||||
| Encoder-Decoder | ||||
| U-Net |
Image Segmentation
Image segmentation assigns pixels or voxels to objects and regions, supporting measurement, scene understanding, and decisions across image domains.
See all 399 papers