POSYDON-code / POSYDON-code/POSYDON
[BUG]: data_scaling overflow encountered in power.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 45
- Forks
- 37
- Avg merge
- 8d 20h
- Merged PRs (30d)
- 5
Description
Describe the bug
RunTimeWarnings are thrown from data_scaling.py
POSYDON/posydon/interpolation/data_scaling.py:204: RuntimeWarning: overflow encountered in power
x = 10 ** ((x_t - self.lower) / (self.upper - self.lower)
To Reproduce
I'm running default populations. I'm not sure what binaries is throwing these warnings, but it seem that the value becomes too large.
Expected behavior
No warning is shown. Preferably, no overflow is encountered!
POSYDON Version:
v2.1-dev
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at posydon/interpolation/data_scaling.py line 204 and reproduce the warning while running default populations. Identify which binaries produce the oversized value and determine the expected handling for that input. Done means default-population runs no longer emit the overflow warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100