POSYDON-code / POSYDON-code/POSYDON

[BUG]: data_scaling overflow encountered in power.

Open
#668 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.