bsrn.io.merra2.fetch_rest2#

bsrn.io.merra2.fetch_rest2(index, station_code)[source]#

Fetch MERRA-2 from Hugging Face and return REST2-ready inputs aligned to target index. Parallel to fetch_mcclear; both return aligned clear-sky inputs.

Parameters:
  • index (pd.DatetimeIndex) – Target time index to align REST2 outputs to.

  • station_code (str) – BSRN station code (e.g. “QIQ”).

Returns:

aligned – REST2 inputs reindexed to index with columns PS, ALBEDO, ALPHA, BETA, TO3, TQV.

Return type:

pd.DataFrame

Raises: