Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: include rate type in header for csv export #279

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

frodehk
Copy link
Contributor

@frodehk frodehk commented Nov 13, 2023

Why is this pull request needed?

It is currently not possible to see if time series rates are calendar day- or stream day rates in the csv export file. This can make it difficult for user to know if regularity is included or not in the results.

What does this pull request change?

  • Add sd/cd instead of d in csv-header, to indicate STREAM_DAY or CALENDAR_DAY
  • Potentially (?): Add description for power variables, to make it clear that it is stream day - e.g. MW (sd)
  • Potentially (?): Add description to all cumulative volumes, to make it clear that it is calendar day - e.g. Sm3 (cd)
  • Update snapshots

Issues related to this change:

https://equinor-ecalc.atlassian.net/browse/ECALC-444?atlOrigin=eyJpIjoiMDRiMGI4NTY5M2Y1NDUzOGI3OTY3NzFiM2MwOTJiZmYiLCJwIjoiaiJ9

@frodehk frodehk added the enhancement New feature or request label Nov 13, 2023
@frodehk frodehk self-assigned this Nov 13, 2023
@frodehk frodehk requested a review from a team as a code owner November 13, 2023 15:13
src/libecalc/dto/result/tabular_time_series.py Outdated Show resolved Hide resolved
src/libecalc/dto/result/tabular_time_series.py Outdated Show resolved Hide resolved
src/libecalc/dto/result/tabular_time_series.py Outdated Show resolved Hide resolved
@frodehk frodehk merged commit 5edd0cc into main Nov 14, 2023
6 checks passed
@frodehk frodehk deleted the ECALC-444-include-rate-type-in-header-for-csv-export branch November 14, 2023 09:00
equinor-schen pushed a commit that referenced this pull request Nov 22, 2023
* feat: include rate type in header for csv export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants