¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

New CSV format for downloaded GSC 2.3 data?


 

Hi


This morning I tried to use GSC 2.3 field stars from STSCI for the first time in a while, and got an error about the connection being good but no data being found. After a bit of poking around it looks like they've changed the CSV format of the downloaded data. Since they helpfully put the definitions of each element in the first line of data I managed to modify the XEphem source code to make it work:


line 33 of gscnet.c now becomes


static char ifmt[] = "%[^,],%*[^,],%*[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";


This was on 3.7.7RC5, but I think the new stable version has the old version of the string. I hope this is useful to somebody.


cheers

Piero Bradley?


Join [email protected] to automatically receive all group messages.