gaia-dpci / GaiaXPy

Gaia BP/RP spectra package
BSD 3-Clause "New" or "Revised" License
36 stars 9 forks source link

Update converter output for sources that are missing a spectrum from one of the two photometers #78

Closed druzm closed 7 months ago

druzm commented 7 months ago

In the converter output, when a source is missing a spectrum from one of the two photometers, the row corresponding to that photometer is omitted from the output. This doesn't pose a problem because the converter returns one entry per photometer which makes it obvious for the user that the data corresponding to that source was processed.

However, starting from the next release (the release associated to this issue), the generator will include rows containing only NaN values in its output. It is considered important for the converter to do the same for the sake of uniformity and consistency in the package results. Therefore, the output of the converter needs to include all rows even if the results only contains NaN values.

Enhancement completed on commit 9f25378.

druzm commented 7 months ago

Enhancement completed on commit https://github.com/gaia-dpci/GaiaXPy/commit/9f25378a7bf99d83d68e58640d85d95cd26efc1c.