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

Combine bugfix #153

Merged
merged 11 commits into from
Oct 21, 2024
Merged

Combine bugfix #153

merged 11 commits into from
Oct 21, 2024

Conversation

aburrell
Copy link
Member

@aburrell aburrell commented Oct 2, 2024

Description

Addresses bugs found when fixing an issue in the operational workflow.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Ran locally with operational code and added unit test.

Test Configuration

  • Operating system: OS X Sonoma
  • Version number: Python 3.10
  • Any details about your local setup that are relevant: develop branch of pysat

Checklist:

  • Make sure you are merging into the develop (not main) branch
  • 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
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • Add a note to CHANGELOG.md, summarizing the changes

If this is a release PR, replace the first item of the above checklist with the
release checklist on the pysat wiki:
https://github.com/pysat/pysat/wiki/Checklist-for-Release

aburrell and others added 11 commits October 1, 2024 18:12
Ensure fill value evaluation works for NaN.
Added a function to evaluate fill values for normal and special values (e.g., NaN and Inf).
Ensure mock downloads test for both versions of potential F10.7 prelim file names.
Partial fix for combine_kp bugs.
Fixed boolean True/False swap.
Fixed the boolean swap logic and removed debug statements.
Fixed the `is_fill_val` implementation for string types.
Fixed under-indented line.
Added unit test for `is_fill_val`.
Added summary of changes to the changelog.
Moved up the time evaluation for the forecast F10.7 data in the combine function.  Also removed a duplicate definition of  a date range variable.
@aburrell aburrell requested a review from jklenzing October 2, 2024 17:32
Comment on lines -270 to -271
date_range = pds.date_range(start=start, end=end_date, freq=freq)

Copy link
Member Author

Choose a reason for hiding this comment

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

This was already identically defined on line 265

@aburrell
Copy link
Member Author

aburrell commented Oct 2, 2024

Tests are failing because:

  1. Coveralls broke their Linux distribution
  2. NASA's website is down.

@aburrell aburrell added this to the v0.2.1 milestone Oct 2, 2024
@aburrell aburrell added the bug Something isn't working label Oct 2, 2024
Copy link
Member

@jklenzing jklenzing 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. Whatever was up with the ubuntu runs the other day is now fixed (reran the jobs).

@aburrell aburrell merged commit 7c81e46 into develop Oct 21, 2024
22 of 31 checks passed
@aburrell aburrell deleted the combine_bugfix branch October 29, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants