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

STY: Make units of pressure machine-readable #355

Closed
wants to merge 7 commits into from

Conversation

DWesl
Copy link

@DWesl DWesl commented Aug 8, 2024

Description

Fixes #350 by using Pa instead of pa as units of pressure.
This should make the units of pressure generated by this repository machine-readable.
NOAA-EMC/fv3atm#859 makes other units machine-readable

How Has This Been Tested?

I made similar changes to a version of this repository in global-workflow, which I then compiled and ran. This produced netCDF history files with machine-readable units (specifically the python pint program, though I also checked with UDUnits).

Checklist:

Please check all whether they apply or not

  • 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

global-workflow still generated grib2 output, which is presumably UPP's job.

@bensonr
Copy link
Contributor

bensonr commented Aug 9, 2024

@DWesl - just checking to make sure you want this PR against main branch and not the dev/emc branch.

@DWesl DWesl changed the base branch from main to dev/emc August 9, 2024 13:30
@DWesl DWesl changed the base branch from dev/emc to main August 9, 2024 13:30
@DWesl
Copy link
Author

DWesl commented Aug 9, 2024

@DWesl - just checking to make sure you want this PR against main branch and not the dev/emc branch.

So that's the name of the branch that would have allowed me to create a PR from the work in global-workflow with only the two new commits instead of fifty.

@DWesl
Copy link
Author

DWesl commented Aug 9, 2024

Created #356

@bensonr
Copy link
Contributor

bensonr commented Sep 6, 2024

Since this one has been replaced, it should be closed...

@bensonr bensonr closed this Sep 6, 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.

Units of pressure variables are not machine-readable
2 participants