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

Diag_manager: Leap day fix #1479

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

uramirez8707
Copy link
Contributor

@uramirez8707 uramirez8707 commented Mar 18, 2024

Description

implement a hack for when starting with 2/29 and outputting yearly data

This solves the problem for both the old and the new diag_manager. The PR is for dmUpdate because diag_time_inc was moved to the new module fms_diag_time_utils_mod

Fixes #1471

How Has This Been Tested?
CI

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

Comment on lines +192 to +194
!! TODO this is a hack, the leap year issue should be fixed inside increment_date instead
!! increment_date should also be updated to work in cases like when the frequency is 1 month and you
!! are starting from 1/31
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rem1776 rem1776 merged commit f0fa012 into NOAA-GFDL:dmUpdate Mar 18, 2024
17 of 19 checks passed
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants