Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specification of missing data marker to ECSV (APE-6) #81

Open
taldcroft opened this issue Jan 12, 2023 · 0 comments
Open

Add specification of missing data marker to ECSV (APE-6) #81

taldcroft opened this issue Jan 12, 2023 · 0 comments

Comments

@taldcroft
Copy link
Member

astropy/astropy#13331 highlighted that the ECSV specification formally allows for flexibility in the marker used to indicate missing data, but there is no way within the ECSV standard to communicate to readers what that marker is.

In particular, the Gaia project has generated ECSV files that use null for missing data. This requires a minor workaround to read with astropy. Reading the Gaia DR3 files with TOPCAT/STILTS is possible since it accepts null for missing values in numeric columns (with a performance penalty in the current implementation), but those null values are passed through normally for string columns.

This issue is intended to discuss options for updating the ECSV specification to provide unambiguous treatment of missing values.

One idea is to add an optional table-level keyword that specifies the string value that signifies missing data. This same optional keyword could also be included in the column keywords to provide per-column specification of the missing data marker for each column.

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

No branches or pull requests

1 participant