View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000714 | SkyChart | 1-Software | public | 10-10-12 17:05 | 11-09-03 14:49 |
| Reporter | Juan D. Tardos | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86 | OS | Windows | OS Version | XP |
| Product Version | 3.2 | ||||
| Target Version | 3.4 | Fixed in Version | 3.3 SVN | ||
| Summary | 0000714: Save object lists using a proper CSV format | ||||
| Description | Currently, saving an object list and trying to open it in other applications like Excel is a mess because the format used is not a true csv, but a tab-separated text format. If you just click on the file, it is badly open by Excel. The current format is correctly opened by excel if the file extension is changed to .txt However, it would be much more useful to use a true csv format, with column names in the first line. I am attaching an example of a proper csv object file obtained from a CdC object list after some manipulations. | ||||
| Additional Information | For the definition of csv format see http://en.wikipedia.org/wiki/Comma-separated_values | ||||
| Tags | No tags attached. | ||||
| related to | 0000213 | closed | Patrick Chevalley | object list: produce more beautiful table layout; more options to sort table |
|
|
|
|
|
|
|
|
|
|
|
I am surprised if Excel cannot use tab as separator. I never have problem with OpenOffice to open this files, see attached screenshot. I prefer to use tab over coma for the reason explained on the wikipedia page you link. Coma is used as a decimal separator on many countries, so you need to double quote any numeric field to avoid problems. But we use double quote for arcsecond unit that now need to be doubled in the file. Using tab you not have this problem and produce a file easy to read in any text editor. |
|
|
Yes, Excel can use tab as separator, but its behaviour is: - If the extension is .csv, it opens the file directly assuming the separator is a coma, and you get a mess of a file. - If the extension is .txt it opens a dialog to let you select the separator used, as OpenOffice does, then you choose Tab as separator and it works. No big issue, I can save the file with .txt extension and it works on both. Second issue is the column names. In the current output they are mixed with the column values, which makes the lines unnecessary long, bad for printing. I would prefer something cleaner, as in the example I sent. |
|
|
OK, I look how to add option for that at the same time I work on 0000213 |
|
|
Revision 1573 use comma separator if extention is .csv, tab for other extention (.tsv suggested). When using .csv any comma in data is replaced by a dot. As the file can contain data from many catalog source with different column content it is not possible to normalize the column except for RA,DEC,Type,Name,Magnitude. Even for magnitude it is not possible to remove the name from the column as it can indicate the color, depending on the source catalog. http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1573 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 10-10-12 17:05 | Juan D. Tardos | New Issue | |
| 10-10-12 17:07 | Juan D. Tardos | File Added: Abril.zip | |
| 10-10-12 18:18 | Patrick Chevalley | File Added: csv1.png | |
| 10-10-12 18:18 | Patrick Chevalley | File Added: csv2.png | |
| 10-10-12 18:33 | Patrick Chevalley | Note Added: 0001357 | |
| 10-10-12 18:33 | Patrick Chevalley | Status | new => feedback |
| 10-10-12 19:17 | Juan D. Tardos | Note Added: 0001358 | |
| 10-10-12 19:17 | Juan D. Tardos | Status | feedback => new |
| 10-10-23 11:24 | Patrick Chevalley | Relationship added | related to 0000213 |
| 10-10-23 11:25 | Patrick Chevalley | Note Added: 0001362 | |
| 10-10-23 11:25 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 10-10-23 11:25 | Patrick Chevalley | Status | new => assigned |
| 10-10-30 10:06 | Patrick Chevalley | Target Version | 0.3.0 => 3.4 |
| 10-11-13 14:42 | Patrick Chevalley | Note Added: 0001419 | |
| 10-11-13 14:42 | Patrick Chevalley | Status | assigned => resolved |
| 10-11-13 14:42 | Patrick Chevalley | Resolution | open => fixed |
| 10-11-13 14:42 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.3 SVN |
| 11-09-03 14:49 | Patrick Chevalley | Status | resolved => closed |