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

Unit conversion for pressure only #52

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

hkershaw-brown
Copy link
Member

Convert (Pa -> hPa) when the vertical unit is pressure

Catches:

  • Multiple vertical units for one type. Not sure how to deal with this yet. Split type into type_v1, type_v2?
  • bail if there are no obs in the layers
  • only invert if units is pressure (Pa).

fixes #44

Catches:
- Multiple vertical units for one type. Not sure how to deal with this yet.
  Split type into type_v1, type_v2?
- bail if there are no obs in the layers
- only invert if units is pressure (Pa)

fixes #44
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Project coverage is 69.70%. Comparing base (1abdc61) to head (38c12e4).

Files with missing lines Patch % Lines
src/pydartdiags/matplots/matplots.py 0.00% 20 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
- Coverage   70.75%   69.70%   -1.05%     
==========================================
  Files           4        4              
  Lines         800      812      +12     
==========================================
  Hits          566      566              
- Misses        234      246      +12     

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

@hkershaw-brown hkershaw-brown merged commit 1e0955b into main Feb 18, 2025
2 checks passed
@hkershaw-brown hkershaw-brown deleted the vert-unit-profile branch February 18, 2025 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.

feat: vertical unit when plotting profiles
2 participants