stacker4flamingo

nawdex_analysis.plot.stacked_analysis_plots.stacker4flamingo(dv, vlist, scal=0.1, offset=0, output_stacked_vars=True)

Makes a cumulative data stack for flamingo plot.

Parameters:
  • dv (xarray dataset) – radiation flux deviations
  • vlist (list) – list of radiation variable to be stacked
  • scal (float, optional) – scaling of the x-variable (x is counter)
  • offset (float, optional) – offset of the x-variable (x is counter)
  • output_stacked_vars (bool, optional) – if True: the output is stacked (two values for each deviation)
Returns:

  • x (numpy array) – counter variable
  • y (numpy array) – cumulative deviaitons