Skip to content

Commit ce17dba

Browse files
author
BONNAREL FRANCOIS
committed
merge Appendix changes and registry changes
1 parent cade36a commit ce17dba

4 files changed

Lines changed: 100 additions & 36 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "ivoatex"]
2+
path = ivoatex
3+
url = https://github.com/ivoa-std/ivoatex

Appendix.tex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ \subsection{Use case - dataproduct\_type}
8989
IV. dataproduct\_type = spatial\_profile or scan\_mode contains map\\
9090
V. 51544 < observation time (MJD) < 60309 \\
9191

92+
9293
\begin{verbatim}
9394
SELECT * FROM ivoa.obscore
9495
NATURAL JOIN ivoa.obscore-radio
@@ -180,6 +181,7 @@ \subsection{ use case - visibility data product and target object selection }
180181
\end{verbatim}
181182

182183

184+
183185
\subsection{Use case - maximum angular scale selection}
184186
\textit{Any visibility dataset Within an arcec around FRB 121102 where maximum angular scale is larger than 1 minute .}\\ \\
185187
Show me all datasets satisfying:\\
@@ -247,7 +249,8 @@ \subsection{Use case - instrument type and mode selection }
247249
CONTAINS(POINT(s_ra,s_dec), CIRCLE(187.2779159404900, +02.0523882305500,0.05)) = 1)
248250
\end{verbatim}
249251

250-
% use case FB
252+
253+
251254
\subsection{Use case - instrument type and frequency selection }
252255
\textit{Any single dish or beam forming dataset with spectral range inside the 500 Mhz - 1Ghz band and in the Coma Cluster.}\\ \\
253256
Show me all datasets satisfying:\\
@@ -261,12 +264,13 @@ \subsection{Use case - instrument type and frequency selection }
261264
NATURAL JOIN ivoa.obscore-radio
262265
WHERE (instr_type = 'SD' OR
263266
instr_type = 'beamForming')
264-
AND f_min > 500
265-
AND f_max < 1000
267+
AND 299792458 / em_max > 500
268+
AND 299792458 / em_min < 1000
266269
AND CONTAINS(POINT(s_ra,s_dec),CIRCLE(194.93502, +27.91246, 0.3) = 1
267270
\end{verbatim}
268271

269272

273+
270274
\subsection{Use case - instrument parameters selection }
271275
\textit{Any interferometry data of good quality and significant spatial resolution from the instrumental point of view. }\\ \\
272276
Show me all datasets satisfying:\\

ObsCoreExtensionForRadioData.tex

Lines changed: 89 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@
4141

4242

4343

44+
4445
%definition of table names
4546
%\def\radioexttable {ivoa.obscore-radio-ext} % explicit
4647
\def\radioexttable {ivoa.obsradio} % not explicitely related to Obscore
4748
\def\radioexttable {ivoa.obscore-radio}
4849
%definition of standard id for utypes content
49-
%\def\obsradioSTDID {ivo://ivoa.net/std/obscore-radio-ext#table-1.0}
50+
%\def\obsradioSTDID {ivo://ivoa.net/std/obscore-radio-ext#table-1.0}
5051

5152
\begin{document}
5253

@@ -438,10 +439,12 @@ \subsection{observational configuration and instrumental parameters}
438439
\subsection{Auxiliary datasets useful for data quality estimation}
439440

440441
Auxiliary datasets such as \emph{uv} distribution map, dirty beam maps, frequency/amplitude plots, phase/amplitude plots are useful for astronomers to check data quality.
442+
441443
In that case DataLink \citep{2023ivoa.spec.1215B} may provide a solution to attach these auxiliary data to ObsCore records. The \texttt{semantics} FIELD in the \{link\}
442444
response will contain \#auxiliary for links to these maps or plots while the \texttt{content\_qualifier} FIELD introduced from 1.1 could contain a term from a defined vocabulary (to be defined) following the IVOA vocabulary definition \citep{2021ivoa.spec.0525D}.
443445

444446

447+
445448
\section{The ivoa.obscore\_radio table}
446449
\label{sec:implementation}
447450
The ObsCore Extension for Radio is accessed as a table within a TAP
@@ -659,34 +662,43 @@ \section{Registry Aspects}
659662

660663
Services compliant with this specification are registered using
661664
VODataService \citep{2021ivoa.spec.1102D} tablesets.
665+
Compliant tables use the utype
666+
$$
667+
\hbox{\nolinkurl{ivo://ivoa.net/std/ObsCore#radioExt-1.0}.}
668+
$$
669+
%
662670
%The view table providing the
663671
%join between the basic ObsCore table and the obscore\_radio table
664672
%use the utype
665673
%$$
666674
%\hbox{\nolinkurl{ivo://ivoa.net/std/obscore#radioext-1.0}.}
667675
%$$
668676
%and this is a signature of the compliance of the service with the current specification.
669-
Due to the status of the current specification as an endorsed note, and in prevision of a major
670-
upgrade of the ObsCore specification itself which will address the definition of standardID for the
671-
different extensions and recommand how to expose them in the compliant services, we don't define
672-
any standardID for the extension yet. The discovery of the services and schema containing the
673-
radio extension table MUST be done using the table\_name only as stated below.
677+
%Due to the status of the current specification as an endorsed note, and in prevision of a major
678+
%upgrade of the ObsCore specification itself which will address the definition of standardID for the
679+
%different extensions and recommand how to expose them in the compliant services, we don't define
680+
%any standardID for the extension yet. The discovery of the services and schema containing the
681+
%radio extension table MUST be done using the table\_name only as stated below.
682+
While it is admitted that the table only sits in the tableset of the
683+
embedding TAP service, implementors are urged to use a seperate registry
684+
record with the main TAP service as an auxiliary capability
685+
\citep{2019ivoa.spec.0520D}. In this way, meaningful information
686+
on coverage in space, time, and spectral axes as per VODataService 1.2 can
687+
be communicated to the Registry, which, again, data providers are urged
688+
to do.
689+
%There is no expectation that the coverage information only
690+
%pertains to data with entries in \verb|ivoa.obscore_radio|, i.e., it may be
691+
%a copy of the coverage of the basic ObsCore table.\footnote{Is that
692+
%acceptable? Or should we require pure radio coverage?}
693+
674694

675695
However, discovering the obscore\_radio table alone would be irrelevant because querying this
676-
extension table per se doesn't make sense. The same schema MUST also contain the ObsCore table.
677-
Being sure our \textit{ivoa} schema contains these both tables,
696+
extension table per se doesn't make sense. The same service delivering the \verb|obscore_radio| table
697+
MUST also contain the ObsCore table.
698+
Being sure our service contains these both tables,
678699
the user is able to build any natural JOIN query between these two tables.
679700

680-
%While it is admitted that the table only sits in the tableset of the
681-
%embedding TAP service, implementors are urged to use a seperate registry
682-
%record with the main TAP service as an auxiliary capability
683-
%\citep{2019ivoa.spec.0520D}. In this way, meaningful information
684-
%on coverage in space, time, and spectral axes as per VODataService 1.2 can
685-
%be communicated to the Registry, which, again, data providers are urged
686-
%to do. There is no expectation that the coverage information only
687-
%pertains to data with entries in \verb|ivoa.obscore_radio|, i.e., it may be
688-
%a copy of the coverage of the basic ObsCore table.\footnote{Is that
689-
%acceptable? Or should we require pure radio coverage?}
701+
690702

691703
%A sample registry record for an obscore\_radio table comes with this
692704
%specification\footnote{\auxiliaryurl{sample-record.xml}}.
@@ -701,31 +713,75 @@ \section{Registry Aspects}
701713
query like:
702714

703715
\begin{lstlisting}
704-
SELECT DISTINCT(access_url), schema_name, table_name
716+
SELECT DISTINCT(access_url), table_name
717+
FROM rr.res_table
718+
NATURAL JOIN rr.capability
719+
NATURAL JOIN rr.interface
720+
WHERE
721+
standard_id LIKE 'ivo://ivoa.net/std/tap%'
722+
AND intf_role='std'
723+
AND table_utype LIKE 'ivo://ivoa.net/std/ObsCore#radioExt-1.%'
724+
AND EXISTS (select 1 from rr.res_table where
725+
table_name LIKE '%obscore')
726+
\end{lstlisting}
727+
728+
In the current status of the ObsCore specification the last statement in the WHERE clause
729+
is the simplest one to ensure the service also delivers the main obscore table.
730+
In the future this statement could be replaced by
731+
\begin{lstlisting}
732+
AND EXISTS (select 1 from rr.res_table where
733+
table_utype LIKE 'ivo://ivoa.net/std/obscore#core-1.%')
734+
\end{lstlisting}
735+
736+
When we will have other extensions (for example for time) we may want to
737+
discover services which deliver several extensions in addition to obscore
738+
main table.
739+
740+
This could be done by queries such as
741+
742+
\begin{lstlisting}
743+
SELECT DISTINCT(access_url), table_name
744+
FROM rr.res_table
745+
NATURAL JOIN rr.capability
746+
NATURAL JOIN rr.interface
747+
WHERE
748+
standard_id LIKE 'ivo://ivoa.net/std/tap%'
749+
AND intf_role='std'
750+
AND table_utype LIKE 'ivo://ivoa.net/std/ObsCore#radioExt-1.%'
751+
AND EXISTS (select 1 from rr.res_table where
752+
table_utype LIKE 'ivo://ivoa.net/std/ObsCore#timeExt-1.0'
753+
AND EXISTS (select 1 from rr.res_table where
754+
table_name LIKE '%obscore')
755+
\end{lstlisting}
756+
757+
assuming that the standardID for the time extension currently in progress will be
758+
$$
759+
\hbox{\nolinkurl{ivo://ivoa.net/std/ObsCore#timeExt-1.0}}
760+
$$
761+
762+
In addition the schema containing the ObsCore main table and potentially some of the extensions
763+
SHOULD use the root ObsCore standardID utype :
764+
$$
765+
\hbox{\nolinkurl{ivo://ivoa.net/std/ObsCore}}
766+
$$
767+
768+
769+
in such a way that the query
770+
771+
\begin{lstlisting}
772+
SELECT DISTINCT(access_url), table_name, schema_name
705773
FROM rr.res_table
706774
NATURAL JOIN rr.capability
707775
NATURAL JOIN rr.interface
708776
NATURAL JOIN rr.res_schema
709777
WHERE
710778
standard_id LIKE 'ivo://ivoa.net/std/tap%'
711779
AND intf_role='std'
712-
AND table_name LIKE '%obs_radio'
713-
AND schema_name LIKE '%ivoa%'
780+
AND schema_utype LIKE 'ivo://ivoa.net/std/ObsCore'
714781
\end{lstlisting}
715782

716-
%Alternatively the schema and tables can be discovered this way
783+
would allow to discover all services delivering ObsCore and which extension tables they deliver.
717784

718-
%\begin{lstlisting}
719-
%SELECT DISTINCT(access_url), table_name, schema_name
720-
%FROM rr.res_table
721-
%NATURAL JOIN rr.capability
722-
%NATURAL JOIN rr.interface
723-
%NATURAL JOIN rr.res_schema
724-
%WHERE
725-
%standard_id LIKE 'ivo://ivoa.net/std/tap%'
726-
%AND intf_role='std'
727-
%AND schema_utype LIKE 'ivo://ivoa.net/std/ObsCore#obscore-radioExt-%'
728-
%\end{lstlisting}
729785

730786
\appendix
731787

ivoatex

Submodule ivoatex added at 08e2ab1

0 commit comments

Comments
 (0)