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

Add standard variable names for EMAC #1853

Merged
merged 5 commits into from
Dec 14, 2022

Conversation

FranziskaWinterstein
Copy link
Contributor

@FranziskaWinterstein FranziskaWinterstein commented Dec 8, 2022

Description

The applied changes add the default variable name of EMAC to the derived variables included in _fixes/emac/emac.py (without the _ave).

I decided to put the default variable name (without _ave) last, since the _ave is most often used to derive monthly means. If both variable are available, the monthly average calculated by the model itself is used instead of the average of the instantaneous output produced by post-processing. Although there should not be a difference in most cases.

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

@FranziskaWinterstein FranziskaWinterstein added bug Something isn't working fix for dataset Related to dataset-specific fix files EMAC labels Dec 8, 2022
@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

Merging #1853 (20b86c0) into main (8834c69) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1853   +/-   ##
=======================================
  Coverage   91.51%   91.51%           
=======================================
  Files         209      209           
  Lines       11336    11336           
=======================================
  Hits        10374    10374           
  Misses        962      962           
Impacted Files Coverage Δ
esmvalcore/cmor/_fixes/emac/emac.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@schlunma schlunma self-requested a review December 9, 2022 10:47
Copy link
Contributor

@schlunma schlunma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for adding those 😊

@remi-kazeroni would you be able to do a final check and merge, please? Thanks!!

@remi-kazeroni remi-kazeroni added this to the v2.8.0 milestone Dec 9, 2022
@remi-kazeroni
Copy link
Contributor

Thanks for your contribution @FranziskaWinterstein and for the review @schlunma! That looks good to me as well 👍

@remi-kazeroni remi-kazeroni changed the title Add standard var names pr emac Add standard variable names for EMAC Dec 14, 2022
@remi-kazeroni remi-kazeroni merged commit b0c5321 into main Dec 14, 2022
@remi-kazeroni remi-kazeroni deleted the add_standard_var_names_pr_EMAC branch December 14, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EMAC fix for dataset Related to dataset-specific fix files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants