nsrdb.all_sky.all_sky.all_sky_h5

all_sky_h5(f_source, rows=slice(None, None, None), cols=slice(None, None, None), disc_on=False)[source]

Run all-sky from .h5 files.

Parameters:
  • f_source (str) – File path to source data file containing all sky inputs. Can be a single h5 file or MultiFileResource with format: /dir/prefix*suffix.h5

  • rows (slice) – Subset of rows to run.

  • cols (slice) – Subset of columns to run.

  • disc_on (bool) – Compute cloudy sky dni with disc model or farms-dni model.

Returns:

output (dict) – Namespace of all-sky irradiance output variables with the following keys:

’clearsky_dhi’ ‘clearsky_dni’ ‘clearsky_ghi’ ‘dhi’ ‘dni’ ‘ghi’ ‘fill_flag’