[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #15912] VOTable input-output
From: |
Francois Ochsenbein |
Subject: |
[task #15912] VOTable input-output |
Date: |
Tue, 9 Mar 2021 14:09:21 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 |
Follow-up Comment #3, task #15912 (project gnuastro):
I'm not sure to understand what is a "MACRO" in the first item about semantics
in comment #2 ?
Yes a PARAM is like a FITS keyword — the problems with FITS keywords (other
than the standard ones described in the FITS documents) is that they lack a
lot of details (units, explanations, possibility of arrays, precision, etc.).
About parsing a VOTable in C, a colleague wrote a set of functions based on
libxml2 which seems to work well − I should check whether it could be
reused; it is rather small (1000 lines) but it only deals with TABLEDATA
(pure xml) serialization. On the other hand, the XML structure is simple
enough to envisage a dedicated code for VOTable without the complex machinery
of libxml2...
There is also the code in the voclient by Mike Fitzpatrick:
https://github.com/mjfitzpatrick/voclient/blob/master/libvotable/votParseP.h
Cheers, François
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?15912>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/