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

FIX: Many warning fixes for ACT. #822

Merged
merged 6 commits into from
Apr 15, 2024
Merged

Conversation

zssherman
Copy link
Collaborator

@zssherman zssherman commented Apr 11, 2024

These fixes include datetime utc changes, missing images, xarray.dims to sizes changes and more.

Note I did a PR for icartt as well to fix there warnings, which will then suppress ours and will be doing one for PySP2 as well.

  • Documentation reflects changes
  • PEP8 Standards or use of linter

These fixes include datetime utc changes, missing images, xarray.dims to sizes changes and more.
@zssherman
Copy link
Collaborator Author

For more on timezone fun, see here:
Unidata/MetPy#3298

Copy link
Collaborator

@AdamTheisen AdamTheisen left a comment

Choose a reason for hiding this comment

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

@zssherman are those barb baseline plots what we're producing now? Seems like there's not a lot there... No actual barbs. Thoughts?

@zssherman
Copy link
Collaborator Author

@AdamTheisen Originally the plots u_v 3, 4 and5 were not producing plots and had a warning of future errors because of it, so I added the plot comparison plot. In terms of the small amounts of data in them, compared to u_v_1 I'm seeing the use of a real dataset, were the rest use a small fake ds, which could be the reason for that? Also the bins are set low it looks like. So i'm not 100% if because they are test ds that there is barely any data because its np.linspace fake data? But that was my assumption when I saw the plots.

Copy link
Collaborator

@AdamTheisen AdamTheisen left a comment

Choose a reason for hiding this comment

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

@zssherman interesting. It looks like we just did it as a quick and easy way to test the plots which is fine. I may update these in the future to have something more than just 1 point though. Otherwise, I think this is good to go!

@zssherman
Copy link
Collaborator Author

@AdamTheisen Sounds good!

@zssherman zssherman merged commit 60b86f4 into ARM-DOE:main Apr 15, 2024
19 checks passed
@zssherman zssherman deleted the warning_fixes branch May 2, 2024 14:57
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.

None yet

2 participants