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

Bugfix: Bathymetry regridding and B grid velocity regridding. #80

Merged
merged 4 commits into from
Nov 15, 2023

Conversation

ashjbarnes
Copy link
Collaborator

at this step the intermediate 'topog_raw.nc' file already has vertical coordinate named elevation. Threw an error when vcoord had different name

…l coordinate named elevation. Threw an error when vcoord had different name
@ashjbarnes ashjbarnes requested a review from navidcy November 14, 2023 05:33
@navidcy
Copy link
Contributor

navidcy commented Nov 14, 2023

Test fail. Probably the black?
Also, could we change the PR name into something more descriptive?
Otherwise I'm happy to approve as soon as I see tests pass.

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6b5817e) 72.97% compared to head (39bb631) 72.97%.

❗ Current head 39bb631 differs from pull request most recent head e26cd81. Consider uploading reports for the commit e26cd81 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   72.97%   72.97%           
=======================================
  Files           3        3           
  Lines         444      444           
=======================================
  Hits          324      324           
  Misses        120      120           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@navidcy navidcy left a comment

Choose a reason for hiding this comment

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

lgtm, let's just rename the PR to something more descriptive.

B grid error. Not sure how this happened? Means that the demo notebook for ACCESSom2 output stopped working. Need to include B grid example in CI tests
@navidcy
Copy link
Contributor

navidcy commented Nov 15, 2023

oh wait, I got confused.... you merged a different PR on this branch?
I think the black formatting is still an issue

@ashjbarnes
Copy link
Collaborator Author

Oops sorry Navid you were so speedy! I failed to see that you'd already approved changes

I made another PR to fix an issue with the regridder (Luwei found the bug) and figured they could go together but maybe that was a mistake

@navidcy
Copy link
Contributor

navidcy commented Nov 15, 2023

Can we enhance the tests so they catch these things or you think it's not worth it?

@ashjbarnes
Copy link
Collaborator Author

Yes tests definitely need enhancing to include more edge cases. They're pretty basic for now and even that has been very helpful.

@navidcy
Copy link
Contributor

navidcy commented Nov 15, 2023

Oops sorry Navid you were so speedy! I failed to see that you'd already approved changes

I made another PR to fix an issue with the regridder (Luwei found the bug) and figured they could go together but maybe that was a mistake

All good! :)

thanks @luweiyang

@navidcy navidcy added the bug 🐞 Something isn't working label Nov 15, 2023
@ashjbarnes ashjbarnes changed the title One line bugfix Bugfix: Bathymetry regridding and B grid velocity regridding. Nov 15, 2023
@ashjbarnes ashjbarnes merged commit 879b07d into main Nov 15, 2023
3 checks passed
@ashjbarnes ashjbarnes deleted the bathymetry-bugfix branch November 15, 2023 00:52
@navidcy
Copy link
Contributor

navidcy commented Nov 15, 2023

Yes tests definitely need enhancing to include more edge cases. They're pretty basic for now and even that has been very helpful.

Well, I was suggesting we enhanced in this PR :)
Perhaps raise an issue to list the things we can improve them.

@ashjbarnes ashjbarnes mentioned this pull request Nov 15, 2023
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