ave_radfluxes_from_radname

nawdex_analysis.analysis.ave_cre.ave_radfluxes_from_radname(radname, itime, **kwargs)

Calculate average radiation fluxes for different cloud types.

Parameters:
  • radname (str) – name of toa allsky radiation file
  • itime (int) – time index of data fields (‘swf_net’ and ‘lwf’) in radname
  • factor (float) – factor used to convert direction conversion (outward vs. inward)
  • filepart (str, optional, default = '-scaled') – part in the file that gives information about scaling of clear-sky fields either ‘-scaled’ or ‘-not_scaled’
Returns:

outset – dataset containing average longwave, short-wave CRE and area fractions depending on cloud type

Return type:

xarray Dataset