AOD55 float64 0.03 2.76 ⌀ | ALPHA float64 0.16 1.97 ⌀ | ALBEDO float64 0.05 0.64 ⌀ | TQV float64 1.64 68.3 ⌀ | TO3 float64 232 558 ⌀ | PS float64 96.1k 103k ⌀ | time timestamp[ns, tz=UTC]date 2021-03-01 00:30:00 2024-07-31 23:30:00 ⌀ |
|---|---|---|---|---|---|---|
0.073227 | 0.673417 | 0.274527 | 2.279307 | 470.29504 | 99,604.695 | 2022-01-01T00:30:00 |
0.082643 | 0.617108 | 0.268058 | 2.426839 | 469.6049 | 99,640.484 | 2022-01-01T01:30:00 |
0.103896 | 0.521759 | 0.265372 | 2.628273 | 468.00647 | 99,645.53 | 2022-01-01T02:30:00 |
0.084356 | 0.585418 | 0.265495 | 2.719589 | 465.42953 | 99,670.1 | 2022-01-01T03:30:00 |
0.08312 | 0.57985 | 0.272574 | 2.766477 | 461.8271 | 99,729.92 | 2022-01-01T04:30:00 |
0.073707 | 0.633788 | 0.283315 | 2.784741 | 456.96762 | 99,818.3 | 2022-01-01T05:30:00 |
0.065818 | 0.688138 | 0.305897 | 2.805462 | 450.34958 | 99,928.72 | 2022-01-01T06:30:00 |
0.055911 | 0.744999 | null | 2.768931 | 443.02322 | 100,054.84 | 2022-01-01T07:30:00 |
0.046411 | 0.816118 | null | 2.622273 | 435.10126 | 100,183.49 | 2022-01-01T08:30:00 |
0.041345 | 0.877398 | null | 2.43096 | 425.64145 | 100,294.56 | 2022-01-01T09:30:00 |
0.040591 | 0.943182 | null | 2.271001 | 412.53864 | 100,394.41 | 2022-01-01T10:30:00 |
0.043195 | 0.988796 | null | 2.225372 | 398.84216 | 100,483.36 | 2022-01-01T11:30:00 |
0.048266 | 1.063124 | null | 2.212722 | 391.53943 | 100,569.984 | 2022-01-01T12:30:00 |
0.053914 | 1.144244 | null | 2.19047 | 388.1232 | 100,615.6 | 2022-01-01T13:30:00 |
0.054371 | 1.134815 | null | 2.263659 | 385.99658 | 100,627.3 | 2022-01-01T14:30:00 |
0.051305 | 1.058204 | null | 2.406338 | 385.02356 | 100,633.34 | 2022-01-01T15:30:00 |
0.052185 | 1.012918 | null | 2.603025 | 384.01245 | 100,650.86 | 2022-01-01T16:30:00 |
0.055108 | 0.977999 | null | 2.901623 | 384.62234 | 100,646.984 | 2022-01-01T17:30:00 |
0.05902 | 0.961351 | null | 3.29891 | 382.52014 | 100,633.414 | 2022-01-01T18:30:00 |
0.063895 | 0.961215 | null | 3.677086 | 376.4734 | 100,616.305 | 2022-01-01T19:30:00 |
0.069643 | 0.932091 | null | 3.915493 | 369.59174 | 100,607.53 | 2022-01-01T20:30:00 |
0.078136 | 0.883737 | 0.283557 | 4.045269 | 364.73938 | 100,591.13 | 2022-01-01T21:30:00 |
0.095144 | 0.87041 | 0.317615 | 4.171121 | 361.76154 | 100,587.52 | 2022-01-01T22:30:00 |
0.112916 | 0.894312 | 0.296862 | 4.357507 | 361.50027 | 100,571.164 | 2022-01-01T23:30:00 |
0.104846 | 0.893765 | 0.284288 | 4.622017 | 359.54425 | 100,518.305 | 2022-01-02T00:30:00 |
0.105524 | 0.900767 | 0.27965 | 4.921535 | 356.8985 | 100,394.08 | 2022-01-02T01:30:00 |
0.111637 | 0.908387 | 0.277149 | 5.210896 | 356.4128 | 100,239.555 | 2022-01-02T02:30:00 |
0.126229 | 0.923164 | 0.277941 | 5.390794 | 358.90042 | 100,114.95 | 2022-01-02T03:30:00 |
0.158432 | 0.961997 | 0.27904 | 5.479904 | 363.29633 | 100,035.55 | 2022-01-02T04:30:00 |
0.222413 | 1.027152 | 0.28197 | 5.564166 | 364.70682 | 99,980.28 | 2022-01-02T05:30:00 |
0.271645 | 1.142369 | 0.282092 | 5.614025 | 363.1792 | 99,898.8 | 2022-01-02T06:30:00 |
0.226421 | 1.235598 | null | 5.544831 | 363.2685 | 99,790.73 | 2022-01-02T07:30:00 |
0.22179 | 1.247 | null | 5.66585 | 365.16382 | 99,647.65 | 2022-01-02T08:30:00 |
0.235386 | 1.188585 | null | 5.9947 | 369.01593 | 99,480.88 | 2022-01-02T09:30:00 |
0.232879 | 1.148491 | null | 6.536062 | 373.27573 | 99,301.4 | 2022-01-02T10:30:00 |
0.224788 | 1.126276 | null | 7.162365 | 376.29575 | 99,120.18 | 2022-01-02T11:30:00 |
0.194464 | 1.074024 | null | 7.706317 | 379.94138 | 98,882.98 | 2022-01-02T12:30:00 |
0.190784 | 0.972458 | null | 8.398706 | 382.54944 | 98,681.664 | 2022-01-02T13:30:00 |
0.191879 | 0.932236 | null | 7.490832 | 382.4289 | 98,664.88 | 2022-01-02T14:30:00 |
0.167108 | 0.990243 | null | 4.903208 | 379.74765 | 98,850.02 | 2022-01-02T15:30:00 |
0.141975 | 0.928706 | null | 3.654415 | 378.9708 | 98,980.625 | 2022-01-02T16:30:00 |
0.106087 | 0.843293 | null | 2.870601 | 381.9419 | 99,098.91 | 2022-01-02T17:30:00 |
0.082289 | 0.750464 | null | 2.432182 | 387.37363 | 99,177.336 | 2022-01-02T18:30:00 |
0.084687 | 0.716693 | null | 2.399616 | 393.6927 | 99,252.94 | 2022-01-02T19:30:00 |
0.088138 | 0.75912 | null | 2.270972 | 400.45374 | 99,344.33 | 2022-01-02T20:30:00 |
0.094593 | 0.802267 | 0.319446 | 2.195349 | 406.1548 | 99,414.42 | 2022-01-02T21:30:00 |
0.111777 | 0.836247 | 0.349597 | 2.244526 | 408.88806 | 99,477.6 | 2022-01-02T22:30:00 |
0.135855 | 0.853748 | 0.334217 | 2.323144 | 411.67258 | 99,496.82 | 2022-01-02T23:30:00 |
0.170697 | 0.802395 | 0.317371 | 2.435998 | 414.11185 | 99,490.18 | 2022-01-03T00:30:00 |
0.193983 | 0.742148 | 0.308826 | 2.47344 | 415.69046 | 99,448.23 | 2022-01-03T01:30:00 |
0.190557 | 0.719122 | 0.307571 | 2.456682 | 415.89612 | 99,402.1 | 2022-01-03T02:30:00 |
0.165035 | 0.715487 | 0.307727 | 2.431661 | 415.31598 | 99,369.445 | 2022-01-03T03:30:00 |
0.161512 | 0.676173 | 0.311266 | 2.419767 | 415.7902 | 99,385.28 | 2022-01-03T04:30:00 |
0.161625 | 0.643915 | 0.319323 | 2.414601 | 417.1426 | 99,422.836 | 2022-01-03T05:30:00 |
0.16287 | 0.621529 | 0.310289 | 2.371892 | 418.1586 | 99,463.164 | 2022-01-03T06:30:00 |
0.156126 | 0.615654 | null | 2.315147 | 420.35904 | 99,504.98 | 2022-01-03T07:30:00 |
0.152835 | 0.632511 | null | 2.271508 | 422.93027 | 99,545.5 | 2022-01-03T08:30:00 |
0.144858 | 0.641323 | null | 2.260057 | 424.24283 | 99,570.66 | 2022-01-03T09:30:00 |
0.135444 | 0.648125 | null | 2.280405 | 422.79178 | 99,570.65 | 2022-01-03T10:30:00 |
0.132638 | 0.657458 | null | 2.324827 | 419.5174 | 99,551.45 | 2022-01-03T11:30:00 |
0.137815 | 0.6598 | null | 2.409534 | 416.1248 | 99,533.01 | 2022-01-03T12:30:00 |
0.148911 | 0.652823 | null | 2.492258 | 414.25958 | 99,490.15 | 2022-01-03T13:30:00 |
0.158221 | 0.657856 | null | 2.551557 | 414.3213 | 99,426.97 | 2022-01-03T14:30:00 |
0.156553 | 0.662064 | null | 2.586462 | 415.79532 | 99,369.07 | 2022-01-03T15:30:00 |
0.148191 | 0.664037 | null | 2.600162 | 418.50052 | 99,334.48 | 2022-01-03T16:30:00 |
0.146435 | 0.682143 | null | 2.597571 | 419.68634 | 99,285.96 | 2022-01-03T17:30:00 |
0.148862 | 0.684737 | null | 2.58368 | 418.7709 | 99,239.945 | 2022-01-03T18:30:00 |
0.15376 | 0.681777 | null | 2.555569 | 417.9207 | 99,203.914 | 2022-01-03T19:30:00 |
0.162396 | 0.701924 | null | 2.599591 | 416.47275 | 99,193.43 | 2022-01-03T20:30:00 |
0.166913 | 0.722552 | 0.298817 | 2.706817 | 415.86197 | 99,174.52 | 2022-01-03T21:30:00 |
0.16152 | 0.731261 | 0.337391 | 2.877214 | 416.62943 | 99,179.54 | 2022-01-03T22:30:00 |
0.185712 | 0.666837 | 0.324695 | 3.193397 | 418.36984 | 99,174.2 | 2022-01-03T23:30:00 |
0.195641 | 0.591827 | 0.314807 | 3.437507 | 419.3902 | 99,153.76 | 2022-01-04T00:30:00 |
0.21859 | 0.498103 | 0.311999 | 3.646655 | 419.50757 | 99,104.21 | 2022-01-04T01:30:00 |
0.242767 | 0.434285 | 0.311999 | 3.838304 | 420.06592 | 99,048.85 | 2022-01-04T02:30:00 |
0.238243 | 0.471887 | 0.312976 | 4.01422 | 421.14862 | 99,024.734 | 2022-01-04T03:30:00 |
0.252216 | 0.436672 | 0.314807 | 4.206825 | 422.25052 | 99,044.36 | 2022-01-04T04:30:00 |
0.264725 | 0.417392 | 0.31676 | 4.407859 | 423.10587 | 99,093.15 | 2022-01-04T05:30:00 |
0.274537 | 0.423045 | 0.316272 | 4.573792 | 424.00656 | 99,152.99 | 2022-01-04T06:30:00 |
0.266986 | 0.453314 | null | 4.688852 | 425.3099 | 99,239.57 | 2022-01-04T07:30:00 |
0.26251 | 0.48942 | null | 4.792737 | 424.79797 | 99,321.16 | 2022-01-04T08:30:00 |
0.260879 | 0.538073 | null | 4.850213 | 422.7933 | 99,396.72 | 2022-01-04T09:30:00 |
0.259044 | 0.562344 | null | 4.845063 | 420.42755 | 99,447.28 | 2022-01-04T10:30:00 |
0.244688 | 0.574415 | null | 4.825749 | 418.36722 | 99,486.15 | 2022-01-04T11:30:00 |
0.229986 | 0.589331 | null | 4.804199 | 416.57562 | 99,534.07 | 2022-01-04T12:30:00 |
0.211136 | 0.573741 | null | 4.781808 | 415.08148 | 99,564.52 | 2022-01-04T13:30:00 |
0.206367 | 0.560851 | null | 4.76446 | 413.9499 | 99,600.29 | 2022-01-04T14:30:00 |
0.208028 | 0.561523 | null | 4.768714 | 413.549 | 99,637.97 | 2022-01-04T15:30:00 |
0.212809 | 0.549934 | null | 4.777009 | 413.94214 | 99,692.56 | 2022-01-04T16:30:00 |
0.216381 | 0.538261 | null | 4.765054 | 414.38513 | 99,735.56 | 2022-01-04T17:30:00 |
0.220455 | 0.540669 | null | 4.746342 | 414.70743 | 99,785.984 | 2022-01-04T18:30:00 |
0.227389 | 0.535933 | null | 4.7443 | 414.48697 | 99,864.69 | 2022-01-04T19:30:00 |
0.229305 | 0.542584 | null | 4.753186 | 413.4853 | 99,952 | 2022-01-04T20:30:00 |
0.246218 | 0.572446 | 0.322377 | 4.709813 | 412.3204 | 100,054.7 | 2022-01-04T21:30:00 |
0.242474 | 0.588956 | 0.356068 | 4.595986 | 410.76736 | 100,157.016 | 2022-01-04T22:30:00 |
0.220522 | 0.605184 | 0.354725 | 4.420013 | 410.2145 | 100,248.52 | 2022-01-04T23:30:00 |
0.179483 | 0.75217 | 0.343739 | 4.184226 | 410.11063 | 100,316.94 | 2022-01-05T00:30:00 |
0.170488 | 0.767027 | 0.337635 | 3.921611 | 410.4726 | 100,349.695 | 2022-01-05T01:30:00 |
0.157568 | 0.74867 | 0.335193 | 3.683042 | 410.5496 | 100,347.75 | 2022-01-05T02:30:00 |
0.183476 | 0.62963 | 0.33446 | 3.502758 | 410.09232 | 100,368.08 | 2022-01-05T03:30:00 |
BSRN MERRA-2 Atmospheric Inputs
Point-extracted MERRA-2 reanalysis data for Baseline Surface Radiation Network (BSRN) stations. These parquet files provide atmospheric and aerosol inputs for the REST2 clear-sky radiation model [2].
Dataset Description
Each file contains hourly MERRA-2 variables [1] at a single BSRN station location. Extraction is performed via Google Earth Engine (GEE) from NASA's 0.5° × 0.625° global grid. Data are aligned to the MERRA-2 grid cell nearest the station coordinates.
File Structure
Station folders use the lowercase BSRN three-letter code (e.g. qiq, ber, bil, bon).
{station}/
{station}{MM}{YY}_merra2.parquet # One file per month
Examples:
qiq/qiq0124_merra2.parquet— QIQ, January 2024ber/ber0325_merra2.parquet— BER, March 2025
Variables
| Column | Description | MERRA-2 Source | Units (raw) |
|---|---|---|---|
| AOD55 | Aerosol optical depth at 550 nm | TOTEXTTAU | dimensionless |
| ALPHA | Ångström exponent | TOTANGSTR | dimensionless |
| ALBEDO | Surface albedo | ALBEDO | [0–1] |
| TQV | Total column precipitable water vapor | TQV | kg/m² |
| TO3 | Total column ozone | TO3 | Dobson |
| PS | Surface pressure | PS | Pa |
- Index: UTC
DatetimeIndex(hourly, MERRA-2 native resolution). - Time coverage: MERRA-2 spans 1980–present; files are generated only for months with BSRN station-to-archive data on the FTP.
Use with REST2
These parquet files are designed for the REST2 clear-sky model [2]. The bsrn Python package fetches MERRA-2 from this dataset into RAM (no disk cache) and provides:
fetch_rest2(index, station_code)— fetch from HF into RAM, reindex to 1-min target, interpolate, derive BETA, and convert units for REST2- Raw parquet: use
pandas.read_parqueton a path fromhuggingface_hub(see below)
REST2 expects: PS (hPa), ALBEDO, ALPHA, BETA (derived from AOD55 and ALPHA), TO3 (atm·cm), TQV (atm·cm).
Conversion tips (raw → REST2):
| Variable | Raw unit | REST2 unit | Conversion |
|---|---|---|---|
| PS | Pa | hPa | ÷ 100 |
| ALBEDO | [0–1] | [0–1] | no conversion |
| ALPHA | dimensionless | dimensionless | no conversion |
| BETA | — | — | AOD55 × 0.55^ALPHA (use 0.001 if AOD55=0) |
| TO3 | Dobson | atm·cm | ÷ 1000 |
| TQV | kg/m² | atm·cm | ÷ 10 |
Usage
Load from Hugging Face
from huggingface_hub import hf_hub_download
import pandas as pd
# Download a single file; path is {station}/{station}{MM}{YY}_merra2.parquet
path = hf_hub_download(
repo_id="dazhiyang/bsrn-merra2",
filename="qiq/qiq0124_merra2.parquet",
repo_type="dataset",
)
df = pd.read_parquet(path)
# df has DatetimeIndex (UTC) and columns: AOD55, ALPHA, ALBEDO, TQV, TO3, PS
Use with bsrn package
The bsrn package fetches MERRA-2 from Hugging Face into RAM (no disk cache). You will see Fetching MERRA-2 from Hugging Face: {filename} when it runs.
from bsrn.modeling.clear_sky import add_clearsky_columns
# Option 1: Load raw parquet (from path, e.g. after hf_hub_download)
df = load_merra2_parquet(path)
# Option 2: REST2-ready inputs (fetches from HF into RAM, interpolated to 1-min, units converted)
# target_index = your BSRN 1-min DatetimeIndex
rest2_inputs = fetch_rest2(target_index, station_code="QIQ")
# Option 3: Add clear-sky columns to BSRN data (fetches MERRA-2 from HF into RAM automatically)
df = add_clearsky_columns(df, station_code="QIQ", model="rest2")
Data Sources
- MERRA-2: NASA GMAO, GES DISC
- Extraction: Google Earth Engine (GEE) — this dataset uses GEE; NCSS is an alternative source.
- Station inventory: BSRN FTP (months with
.dat.gzfiles only)
GEE extraction and validation
The data in this dataset is extracted via Google Earth Engine (GEE). GEE's MERRA-2 pixel boundaries are offset by half a cell in latitude relative to raw NetCDF. To correct this, a −0.25° latitude shift is applied when querying GEE so that the returned pixel aligns with the MERRA-2 grid cell used by raw MERRA-2 and NASA GESDISC NCSS.
The dataset creator has confirmed the correctness of the GEE extraction by comparing it against raw MERRA-2 data from NASA and point extractions from NASA GESDISC THREDDS NCSS.
References
Gelaro, R., McCarty, W., Suárez, M. J., Todling, R., Molod, A., Takacs, L., ... & Zhao, B. (2017). The modern-era retrospective analysis for research and applications, version 2 (MERRA-2). Journal of Climate, 30(14), 5419–5454.
Gueymard, C. A. (2008). REST2: High-performance solar radiation model for cloudless-sky irradiance, illuminance, and photosynthetically active radiation—Validation with a benchmark dataset. Solar Energy, 82(3), 272–285.
Sun, X., Bright, J. M., Gueymard, C. A., Acord, B., Wang, P., & Engerer, N. A. (2019). Worldwide performance assessment of 75 global clear-sky irradiance models using principal component analysis. Renewable and Sustainable Energy Reviews, 111, 550–570.
Citation
If you use this dataset, please cite the references above and the bsrn package: dazhiyang/bsrn.
License
This dataset mirrors publicly available MERRA-2 reanalysis data. MERRA-2 is produced by NASA and is freely available. See NASA's data use policy for terms of use.
- Downloads last month
- 35