astropy / astropy/astropy

Have relative and absolute temperature units?

Open
#11,386 1 comment 1 reaction 0 assignees View on GitHub
Feature Request units
Dominant language
Python
Stars
5.3k
Forks
2.2k
Avg merge
1d 19h
Merged PRs (30d)
75

Description

In #11204, we had to work around temperature units because K and C, F do not have the same origin. In principle, temperature *differences* are much easier to deal with and it might be worth having those be treated differently. Or have an offset unit class based on the functional units.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #11204 and the existing temperature-unit behavior it discusses. Define whether relative temperature differences need distinct units or whether an offset-unit abstraction is appropriate, then identify the affected unit tests and document the expected conversions before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.