Skip to content

Fix sorting of Fried Parameter in UnifiedResponse#651

Merged
Cadair merged 5 commits intoDKISTDC:mainfrom
SolarDrew:fido-fixes
Dec 9, 2025
Merged

Fix sorting of Fried Parameter in UnifiedResponse#651
Cadair merged 5 commits intoDKISTDC:mainfrom
SolarDrew:fido-fixes

Conversation

@SolarDrew
Copy link
Contributor

@SolarDrew SolarDrew commented Nov 19, 2025

Fixes #612

Changes processing of Fido results to create a new column for r0, and populates it with the data that isn't Nones, instead of directly changing the Nones to NaNs. This is because the problem with sorting seems to have been that the column had dtype='object', so this makes a new one with dtype='float64' instead.

This should probably also add some kind of tests to make sure that the sorting actually works. May also need to apply the same treatment to other columns in which Nones are replaced.

@Cadair
Copy link
Member

Cadair commented Nov 19, 2025

yeah we should definitely factor this out into a helper function. We can then build on it in #557

@Cadair Cadair merged commit 79a1d49 into DKISTDC:main Dec 9, 2025
30 checks passed
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.

Sorting of NaNs in UnifiedResponse table

2 participants