You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The oda_api.data_products.ODAAstropyTable allows me to output the content of astropy Tables, which is great since in principle one could generate tables where the columns are tie to their physical units. However, I noticed these units get lost somewhere in the back_end, and not only the table that can be visualized in the front end misses the units, but the default exportation file is on ecsv format - which is a prior unitless as well.
The text was updated successfully, but these errors were encountered:
The ecsv there preserves units. You can see it in the "header" of the file if you download it.
So this is only a table visualisation issue.
It requires some effort to fix because the table is constructed using astropy's html writer, and it doesn't have an option to output units.
dsavchenko
changed the title
exported astropy Tables have units suppressed by default ecsv format
Units not shown in AstropyTable visualisation
Feb 20, 2024
Hello,
The
oda_api.data_products.ODAAstropyTable
allows me to output the content of astropy Tables, which is great since in principle one could generate tables where the columns are tie to their physical units. However, I noticed these units get lost somewhere in the back_end, and not only the table that can be visualized in the front end misses the units, but the default exportation file is onecsv
format - which is a prior unitless as well.The text was updated successfully, but these errors were encountered: