Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(): temperature_offset has same unit conversion as temperature #668

Merged
merged 8 commits into from
Jan 22, 2025

Conversation

benflexcompute
Copy link
Collaborator

No description provided.

@benflexcompute benflexcompute self-assigned this Jan 22, 2025
@benflexcompute benflexcompute marked this pull request as ready for review January 22, 2025 15:02

dim = udim.temperature
dim_name = "temperature_difference"
expect_delta_unit = True
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we call it is_delta_unit?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That was the original name but then I think it might be confusing in the function whether is_delta_unit indicates the slot expects a delta unit or the input data is a delta unit.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I see. Makes sense

@benflexcompute benflexcompute merged commit 09a115c into develop Jan 22, 2025
15 checks passed
@benflexcompute benflexcompute deleted the BenY/TemperatureOffsetFix branch January 22, 2025 19:31
benflexcompute added a commit that referenced this pull request Jan 22, 2025
* Rename stuff

* Ready for review

* added some unit test

* Added scaling test for this new temperature_difference non-dimensionalization

* Comments addressed

* Fixed delta character not recognized in the Windows OS

* More fix
benflexcompute added a commit that referenced this pull request Jan 22, 2025
…) (#677)

* Rename stuff

* Ready for review

* added some unit test

* Added scaling test for this new temperature_difference non-dimensionalization

* Comments addressed

* Fixed delta character not recognized in the Windows OS

* More fix
benflexcompute added a commit that referenced this pull request Jan 23, 2025
benflexcompute added a commit that referenced this pull request Jan 23, 2025
…use they are not tested yet and I need to deploy a new version. (#684)

* Revert "fix(): Ammend bugs in PR#668, also changed Imperial unit system to use Fahrenheit as default temperature unit (#678) (#680)"

This reverts commit 160062e.

* Revert "[SCFD-4128] [SCFD-4126] feat(): Removed validation process for unit system conversion (#666) (#679)"

This reverts commit 2568a16.

* Revert "fix(): temperature_offset has same unit conversion as temperature (#668) (#677)"

This reverts commit 07b91cc.

* Hacy fix to diable the positive temperature check.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants