Skip to content

fix/while-storing-metadata-do-not-store-empty-values-in-the-range - #164

Open
prasad-sawantdesai wants to merge 2 commits into
iterorganization:developfrom
prasad-sawantdesai:fix/while-storing-metadata-do-not-store-empty-values-in-the-range
Open

prasad-sawantdesai wants to merge 2 commits into
iterorganization:developfrom
prasad-sawantdesai:fix/while-storing-metadata-do-not-store-empty-values-in-the-range

Conversation

@prasad-sawantdesai

@prasad-sawantdesai prasad-sawantdesai commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

SimDB stores the IMAS empty value (-9e40) as the min of metadata ranges, e.g. zeff = {min: -9e40, max: 1.124},

now drops imas.ids_defs.EMPTY_FLOAT, NaN and ±inf before computing min/max.

The valid values are kept, so [-9e40, 1.05, 1.124] is stored as {min: 1.05, max: 1.124}; only an all-empty array gives None/null.

This branch has not been deployed

No deployments
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.

1 participant