%++++++++++++++++
%.IDENTIFICATION B/iram/.Summary (original name!)
%.LANGUAGE       LaTeX
%.AUTHOR         CDS
%.ENVIRONMENT    
%.KEYWORDS       CDS Catalogues
%.VERSION  1.0   25-Mar-2004
%.PURPOSE        Description of catalogue for edition in CDS Bulletin
%.COMMENTS       
%----------------

\hmm{.}
%	Catalogue Identification
\cTitle{ Plateau de Bure (IRAM)  Interferometer Observation Log }
\cUsualName{ logIRAM }
\cUsualName{ IRAM }
\cUsualName{ PdBI }
%\cDic{tab}{colname}	% Link for VizieR-S
%\cObjectType{ }	% Type of Objects (see Simbad)
\cRecords{ 653695 obs.} % pdbi.dat + 30m.dat
\cId{ B/iram/ }
\cCenters{ f } %  ftp vizier Bejing India LaPlata Moscow NASA Tokyo zero_data
\cSimbad{0}		% Simbad Status 0=Not 1=Ids_only 2=Fully_accessible
%	References
\cAuthors{ Dan M., Neri R }
\cReference{ IRAM (Institut de Radio Astronomie Millim\'etrique) Newsletters (1991-2020)}
%\sReference{}
%	Availability
\cAdded{ 25-Mar-2004 }	% Electronic version
\cBulletin{ --- }	% Bulletin number where catalogue announced
%\cRemoved{ --- }	% Date when catalogue removed
%	Contents of the Catalogue
\cContents{ {\em Id.}: Program, Source name}
\cContents{ $\alpha$, $\delta$ (J2000) }
\cContents{ Date, Time, Configuration }
\cContents{ Frequencies (3mm, 1mm) }
%	Notes
%\cRemarks{ by exchange from NASA-Goddard}
%\cRemarks{ by exchange from the Moscow Data Center }
%\cRemarks{ by exchange from Beijing }
%\cRemarks{ by exchange from NAO-Japan}
%
%%%%%%%%
% VIZIER Definitions
%%%%%%%%
%\cServer{ server_name }	% Aladin Service: +(Survey) *(Archive) @(Images)
\cType{ OC }
%\vizIgnoreTables{ tables_to_ignore }
%\vizDB{ tables }{ [[~]name_in_DB|*] login_in_DB }
%\vizQbox{ boxes }	% List of boxes containing stars
%\vizComment{ tables }{Cols}{ Comment text }
%\vizExplain{ pdbi }{ }{The Plateau de Bure Interferometer Observation Log \
%   from 1991-12-01 and {\fg{red3}2010-03-31}}
\vizExplain{ *pi }{ PI }{+, generally spelled {\bf F.Last}, i.e. first name \
     initial followed by a dot and the last name}
\vizExplain{ 30m }{ }{+ (calibration observations not included)}
\vizExplain{ 30m }{ sys }{System of the original coordinates: \
{\bf B} (FK4/B1950) or {\bf J} (FK5/J2000) or {\bf G} (Galactic)} 
%\vizAddColumn{ file }{ name }{value}{unit}{ +/-col }{Explain constant column}
%\vizMerge{ *_pi.dat }{ pi }{ List of PI investigators (both instruments) }
\vizOrder{ pdbi 30m }{}{}
\vizDisplayColumns{ pdbi noema }{ Prog, Name, Obs.Y, tos, Type, Vel, n_Vel, Conf, \
  Flow, n_Flow, Fhigh, n_Fhigh  }
\vizDisplayColumns{ 30m }{ Name Obs.Y obsMode tau receiv line Freq scan }
\vizIgnoreColumns{ 30m }{ Eq }
\vizSet{ pdbi noema }{ RAh }{ fmt=:011.2A dbunit=mas dbtype=i4 atEnd }
\vizSet{ pdbi noema }{ DE- }{ fmt=:+011.1a dbunit=mas dbtype=i4 atEnd }
\vizSet{ 30m }{ tau }{ decimals=3 dbtype=i2 }
\vizSet{ 30m }{ Freq }{ decimals=4 }
\vizUCD{  * }{ Prog }{ =OBS_CODE }
\vizUCD{ pdbi noema }{ Nw }{ =CODE_MISC }
\vizUCD{ pdbi noema  }{ pol p4}{ =POL_SENSE }
\vizUCD{ pdbi noema }{ Name }{ =ID_TARGET }
\vizUCD{ pdbi noema }{ t1.h t1.m t2.h t2.m }{ =TIME_DATE }
\vizUCD{ pdbi noema }{ tos }{ =TIME_EXPTIME }
\vizUCD{ pdbi noema }{ Type Config }{ =INST_SETUP }
\vizUCD{ pdbi noema }{ Conf }{ =INST_ID }
\vizUCD{ pdbi noema }{ Flow Fhigh }{ =OBS_FREQUENCY }
\vizUCD{ pdbi noema }{ oEq }{ =INST_PARAM }
\vizUCD{ pdbi noema }{ Vel }{ =INST_VELOC_CENTRAL }
\vizUCD{ *pi  }{ PI }{ =ID_AUTHOR }
\vizUCD{ 30m  }{ sys }{ =POS_REFERENCE-SYSTEM }
\vizUCD{ 30m  }{ Eq }{ =TIME_EQUINOX }
\vizUCD{ 30m  }{ Pos }{ =POS_GENERAL }
\vizUCD{ 30m  }{ scan }{ =ID_NUMBER }
\vizUCD{ 30m  }{ t1.h t2.h }{ =TIME_MISC }
\vizUCD{ 30m  }{ tau }{ Optical Depth }
\vizUCD{ 30m  }{ obsMode receiv }{ =INST_SETUP }
\vizUCD{ 30m  }{ Freq }{ =OBS_FREQUENCY }
\vizUCD{ 30m  }{ line }{ =SPECT_LINE_ID }
\vizMore{  noema }{ Prog }{\vNote{-source=@{@cat}/noema_pi\&@{=*}}{@{}}}
\vizMore{ pdbi }{ Prog }{\vNote{-source=@{@cat}/pdbi_pi\&@{=*}}{@{}}}
\vizMore{ 30m  }{ Prog }{\vNote{-source=@{@cat}/30m_pi\&@{=*}}{@{}}}
%\vizMore{ pdbi 30m}{ Prog }{\ifmatch{*[0-9]*}{@{}}\
%   \vNote{-source=@{@cat}/@{@table}*pi\&@{=*}}{@{}}\else{@{}}\fi}
%\vizKeyword{Category}{KeyName}
%\vizCatrole{Keyword=value} % from 0 (fundamental) to 255 (bof!)
%\vizIndex{ file }{ fields }
\vizPK{ *pi  }{ Prog }
\vizFK{ pdbi 30m noema }{ Prog }
%\vizPFK{ file }{field(s) both PK and FK }
%\vizCatK{file }{field(s) for Catalog Connection}
%\vizSimK{file }{field(s) for SIMBAD  Connection}
%\vizNED   {file }{ Generation }
%\vizSimbad{file }{ Generation }
%\vizSimbad{ 30m }{ ${Name} }
%\vizPosition{ 30m }{}{*vizSimbad null= }{ Position (derived from Name) }
%% a cause des positions galactiques
%%\vizPosition{ 30m }{}{*name=30m.pos Eq=J2000 null= }{ }
%\vizID{ file }{ Generation, e.g. IRAS ${IRAS} }
%\vizPosition{ file }{}{scale= c= x= y= PA= Eq= Ep= x0= y0=}{ Explanations }
\vizLink{ pdbi_pi }{Obs}{ Obs }{ \vMore{-source=@{@cat}/pdbi\&@{=*Prog}\&\
     -out.max=999\&-sort=RAJ2000,Obs}{@{}}}\
     {Display the observations related to this program}
\vizLink{ 30m_pi }{Obs}{ Obs }{ \vMore{-source=@{@cat}/30m\&@{=*Prog}\&\
     -out.max=999\&-sort=RAJ2000,Obs}{@{}}}\
     {Display the observations related to this program}
%\vizTeX{ file }{ fields }
%\vizSoft{ file }{ fields }
%\vizHTML{ file }{ fields }
\vizConvert{ 30m_pi }{ sort -u } % Remove duplicates
%\vizConvert{ 30m }{ grep -v 'calibrat[ie } % Remove duplicates
%\vizConvert{ 30m  }{convert.30m} % Remove the calibration data.
%	Keywords
