argopy.utils.GreenCoding.footprint_baseline#
- GreenCoding.footprint_baseline(start_date: str | Timestamp | None = None, end_date: str | Timestamp | None = None, errors='ignore')[source]#
Compute the ‘baseline’ footprint
The ‘baseline’ footprint is from PRs that are not merged. PRs status can be ‘open’ or ‘closed’. All details are available on the documentation page.
- Parameters:
start_date (str,
pandas.Timestamp, default=None) – Measurements starting date, default to start of measurementsend_date (str,
pandas.Timestamp, default=None) – Measurements ending date, default to todayerrors (Literal, default:
ignore) –- Define how to handle errors raised during data fetching:
raise(default): Raise any error encounteredignore: Do not stop processing, simply issue a debug message in logging consolesilent: Do not stop processing and do not issue log message
- Returns:
Total carbon footprint in gCO2eq, considering all workflows
- Return type:
See also
GreenCoding.for_release,GreenCoding.total_measurements