taldcroft / asciitable

Extensible ASCII table reader
http://cxc.harvard.edu/contrib/asciitable/
36 stars 9 forks source link

Fill cds #6

Closed hamogu closed 13 years ago

hamogu commented 13 years ago

Cds tables can contain missing values, realized as empty stings or with special values. These special values are then given in the first few characters of the column description in the form ?=value. For columns with float values (type E and F) I have implemented an automated setting for fill_values, that masks these spacial values in a masked array. Nothing has changed for ascii or integer columns as these do not have a natural value which can be used to replace the masked or missing values in a transparent way.