Difference: UnitsDesc (1 vs. 42)

Revision 422012-06-26 - root

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : !!!

  • lead Anita Richards
  • units final VO standard to be achieved with the Semantic WG

Latest

DiscussionOnVOUnits : Discussion on specific aspects of the document 1.0.

WD-VOUnits-1.0-20111216.pdf 2011 December 16 - first release of Version 1.0

WD-VOUnits-v0.3-20110508.pdf 2011 May 08 draft IVOA Note minor update

WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note

2009 March Draft IVOA working draft

ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="WD after interop May 2009/ minor update" date="1304929055" name="WD-VOUnits-v0.3-20110508.pdf" path="WD-VOUnits-v0.3-20110508.pdf" size="394890" user="MireilleLouys" version="1.3"
META FILEATTACHMENT attr="" comment="VOUnits WD 1.0 2011-12-16" date="1324077335" name="WD-VOUnits-1.0-20111216.pdf" path="WD-VOUnits-1.0-20111216.pdf" size="538865" user="SebastienDerriere" version="1.1"

Revision 412011-12-16 - SebastienDerriere

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : !!!

  • lead Anita Richards
  • units final VO standard to be achieved with the Semantic WG

Latest

Changed:
<
<
DiscussionOnVOUnits : Discussion on specific aspects of the document.
>
>
DiscussionOnVOUnits : Discussion on specific aspects of the document 1.0.
 
Added:
>
>
WD-VOUnits-1.0-20111216.pdf 2011 December 16 - first release of Version 1.0
 WD-VOUnits-v0.3-20110508.pdf 2011 May 08 draft IVOA Note minor update

WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note

2009 March Draft IVOA working draft

ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

Added:
>
>
 
META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="WD after interop May 2009/ minor update" date="1304929055" name="WD-VOUnits-v0.3-20110508.pdf" path="WD-VOUnits-v0.3-20110508.pdf" size="394890" user="MireilleLouys" version="1.3"
Added:
>
>
META FILEATTACHMENT attr="" comment="VOUnits WD 1.0 2011-12-16" date="1324077335" name="WD-VOUnits-1.0-20111216.pdf" path="WD-VOUnits-1.0-20111216.pdf" size="538865" user="SebastienDerriere" version="1.1"
 

Revision 402011-12-16 - SebastienDerriere

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : !!!

  • lead Anita Richards
  • units final VO standard to be achieved with the Semantic WG

Latest

Added:
>
>
DiscussionOnVOUnits : Discussion on specific aspects of the document.
  WD-VOUnits-v0.3-20110508.pdf 2011 May 08 draft IVOA Note minor update

WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note

2009 March Draft IVOA working draft

ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="WD after interop May 2009/ minor update" date="1304929055" name="WD-VOUnits-v0.3-20110508.pdf" path="WD-VOUnits-v0.3-20110508.pdf" size="394890" user="MireilleLouys" version="1.3"

Revision 392011-05-09 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : !!!

  • lead Anita Richards
  • units final VO standard to be achieved with the Semantic WG

Latest

WD-VOUnits-v0.3-20110508.pdf 2011 May 08 draft IVOA Note minor update

WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note

2009 March Draft IVOA working draft

ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="" comment="WD after interop May 2009/ minor update" date="1304887553" name="WD-VOUnits-v0.3-20110508.pdf" path="WD-VOUnits-v0.3-20110508.pdf" size="275185" user="MireilleLouys" version="1.2"
>
>
META FILEATTACHMENT attr="" comment="WD after interop May 2009/ minor update" date="1304929055" name="WD-VOUnits-v0.3-20110508.pdf" path="WD-VOUnits-v0.3-20110508.pdf" size="394890" user="MireilleLouys" version="1.3"
 

Revision 382011-05-08 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


Changed:
<
<
!!! Work in progress : Site under re construction !!!
>
>
!!! Work in progress : !!!
 
Added:
>
>
  • units final VO standard to be achieved with the Semantic WG
 

Latest

Added:
>
>
WD-VOUnits-v0.3-20110508.pdf 2011 May 08 draft IVOA Note minor update
 WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note

2009 March Draft IVOA working draft

ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="" comment="WD after interop May 2009/ minor update" date="1304887553" name="WD-VOUnits-v0.3-20110508.pdf" path="WD-VOUnits-v0.3-20110508.pdf" size="275185" user="MireilleLouys" version="1.2"
 

Revision 372009-05-29 - SebastienDerriere

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Latest

WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note

2009 March Draft IVOA working draft

ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Changed:
<
<
>
>
Added:
>
>
 
Added:
>
>
 

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"

Revision 362009-05-27 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Latest

Changed:
<
<
Draft IVOA working draft about to be updated
>
>
WD-VOUnits-v0.2-20090522.pdf 2009 May 22 draft IVOA Note
 
Added:
>
>
2009 March Draft IVOA working draft
 ImplicationsForADQL 2009Mar18


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1243453261" name="WD-VOUnits-v0.2-20090522.pdf" path="WD-VOUnits-v0.2-20090522.pdf" size="529007" user="AnitaRichards" version="1.1"
 

Revision 352009-03-18 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Added:
>
>

Latest

 
Changed:
<
<
Draft IVOA working draft
>
>
Draft IVOA working draft about to be updated
Added:
>
>
ImplicationsForADQL 2009Mar18


  OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008

UnitsMir_fichiers

<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"

Revision 342009-03-11 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Changed:
<
<
Draft IVOA working draft
>
>
Draft IVOA working draft
  OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
Added:
>
>
UnitsMir_fichiers
 
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1236790223" name="UnitsMir2_10mar.html" path="UnitsMir2_10mar.html" size="48933" user="AnitaRichards" version="1.5"
 

Revision 332008-11-21 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Draft IVOA working draft

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="h" comment="" date="1225100832" name="Units.html" path="Units.html" size="14245" user="AnitaRichards" version="1.6"
>
>
META FILEATTACHMENT attr="h" comment="" date="1227268103" name="Units.html" path="Units.html" size="14458" user="AnitaRichards" version="1.7"
 
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"

Revision 322008-10-29 - SebastienDerriere

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Draft IVOA working draft

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Added:
>
>
 

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100832" name="Units.html" path="Units.html" size="14245" user="AnitaRichards" version="1.6"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"

Revision 312008-10-27 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Draft IVOA working draft

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="" comment="" date="1224871853" name="Units.html" path="Units.html" size="14160" user="AnitaRichards" version="1.4"
>
>
META FILEATTACHMENT attr="h" comment="" date="1225100832" name="Units.html" path="Units.html" size="14245" user="AnitaRichards" version="1.6"
 
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1225100547" name="UnitsModelClassdiagramOld.png" path="UnitsModelClassdiagramOld.png" size="17417" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100595" name="UnitsClassdiagram26oct.png" path="UnitsClassdiagram26oct.png" size="17990" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1225100642" name="Unit_speedOfLightMeter26oct.png" path="Unit_speedOfLightMeter26oct.png" size="4457" user="AnitaRichards" version="1.1"
 

Revision 302008-10-24 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Draft IVOA working draft

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->
Added:
>
>
 
META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="h" comment="" date="1224498565" name="Units.html" path="Units.html" size="13001" user="AnitaRichards" version="1.3"
>
>
META FILEATTACHMENT attr="" comment="" date="1224871853" name="Units.html" path="Units.html" size="14160" user="AnitaRichards" version="1.4"
 
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1224871892" name="UnitsModelClassdiagram.png" path="UnitsModelClassdiagram.png" size="17417" user="AnitaRichards" version="1.1"
 

Revision 292008-10-20 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Draft IVOA working draft

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="h" comment="revised#1" date="1224265615" name="Units.html" path="Units.html" size="12989" user="AnitaRichards" version="1.2"
>
>
META FILEATTACHMENT attr="h" comment="" date="1224498565" name="Units.html" path="Units.html" size="13001" user="AnitaRichards" version="1.3"
 
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="" comment="" date="1224265656" name="units2.gif" path="units2.gif" size="15116" user="AnitaRichards" version="1.1"
>
>
META FILEATTACHMENT attr="h" comment="" date="1224498580" name="units2.gif" path="units2.gif" size="15147" user="AnitaRichards" version="1.2"
 

Revision 282008-10-17 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Draft IVOA working draft

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
Changed:
<
<
META FILEATTACHMENT attr="h" comment="" date="1224248567" name="Units.html" path="Units.html" size="9598" user="AnitaRichards" version="1.1"
>
>
META FILEATTACHMENT attr="h" comment="revised#1" date="1224265615" name="Units.html" path="Units.html" size="12989" user="AnitaRichards" version="1.2"
 
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="" comment="" date="1224265656" name="units2.gif" path="units2.gif" size="15116" user="AnitaRichards" version="1.1"
 

Revision 272008-10-17 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Added:
>
>
Draft IVOA working draft
 OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1224248567" name="Units.html" path="Units.html" size="9598" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1224248735" name="units1.gif" path="units1.gif" size="12872" user="AnitaRichards" version="1.1"
 

Revision 262008-10-08 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!
Changed:
<
<
>
>
 

OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 252008-10-01 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


OldUnitsPage

Changed:
<
<
Main IvoaDataModel page
>
>
Main IvoaDataModel page
 

Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

Changed:
<
<
  • Goal: to provide schemata and libraries and references to allow
>
>
  • Goal: to provide suitable tools - Backus Naur form?, libraries and references to allow
 
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?

Use cases

  1. TAP - source catalogue DM - need to compare quantities please elaborate
  2. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  3. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  4. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  5. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  6. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 242008-09-02 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


OldUnitsPage

Main IvoaDataModel page


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide schemata and libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
Changed:
<
<
  • *Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
>
>
  • Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
 
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
Added:
>
>
  • How far can we go with dimensional analysis? Are there so few cases where it breaks down that these can be handled individually, and if so how does code recognise them (e.g. the Hubble constant, in km/s per Mpc) - or can we specify limited situations where dimensional analysis is adequate?
 

Use cases

Changed:
<
<
  • Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
>
>
  1. TAP - source catalogue DM - need to compare quantities please elaborate
Added:
>
>
  1. SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
    Reference: SPECFIND Catalog of radio continuum spectra
    Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
    Publication: VizieR On-line Data Catalog: VIII/74.
    please elaborate - is this a requirequirement for conversion between physical flux units e.g. mJy, Jy, W m-2 Hz-1 - what about Jy beam-1 (if you are lucky the beam size is given conveniently...?
  2. Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but this leads to frequent problems due to to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  3. Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
    • Example inspired by Jeff Lusted: What can ADQL do about units for synthetic columns? E.g.
      SELECT a.fint/(a.maj*a."min") 
      as fluxdensity from firstSource as a
      where fint has units of mJy and maj and min have units of arcsec so fluxdensity has units of mJy arcsec-2
    • More complicated cases:
      • In the above case, strictly speaking the divisor should be (a.maj*a.min/4*ln2)
      • SELECT 365.25*a.dist_opt/(a.jdate-2450975.0) 
        as propermotion FROM twomass_psc as a
        where the inputs have units of arcsec and Julian Days (implicit for 2450975.0) but the user wants output in arcsec per year ...
  4. Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
  5. Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
 
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.
Deleted:
<
<
  • TAP - source catalogue DM - need to compare quantities
  • SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.
  • Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..
      • Anomalous results are often obtained due to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
  • Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
 

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 232008-06-16 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


OldUnitsPage

Added:
>
>
Main IvoaDataModel page
 

Goal

Changed:
<
<
This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
>
>
This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services.
Deleted:
<
<

The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).
 

Existing Documents

Recommendations

As discussed at IVOA, Trieste, May 2008

  • Goal: to provide schemata and libraries and references to allow
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • *Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.

Use cases

  • Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.
  • TAP - source catalogue DM - need to compare quantities
  • SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.
  • Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..
      • Anomalous results are often obtained due to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
  • Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.

Interactions with other WG efforts


IVOA.AnitaRichards - 16 Jun 2008
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 222008-06-16 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Added:
>
>
OldUnitsPage
 

Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).
Deleted:
<
<

Recommendations

 
Deleted:
<
<
From IVOA Trieste 2008 May 19.
 
Deleted:
<
<
  • Produce list of IVOA-supported units
    • Preferred (e.g. CDS and HEASARC)
      • Is HEASARC the same as STC? If not, STC also
    • Acceptable (where other strings exist)
      • AMSR comment a few alternatives would be acceptable e.g. au or AU for Astronomical Unit, where these are unambigous; we have to be able to cater for existing data.
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
    • Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
  • Educate next generation of data providers to use some standard for units
  • Outstanding issues
    • FITS units and other systems - can these all be handled by assuming that the IVOA provides access to such data via a metadata database? in which case the software which populates the DB (e.g. MEXX) does the translating from FITS standards or even known non-standards?
    • Need to record date and reference to values of fundamental quantities where available.
  • Identified key players (please add yourself as appropriate)
    • ESAC - dimensional analysis
    • AstroGrid - STILTS and Starlink libraries
    • STC team - someone working on units


Previous discussion/links to existing libraries of units

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop
 

Existing Documents

Deleted:
<
<
 
    • Type `units' in many types of Linux
Changed:
<
<
>
>
Deleted:
<
<
 
Deleted:
<
<
    • check SpecView...
 
Added:
>
>
 
Changed:
<
<
Action: There are few instances of multiple legitimate names for the same unit (benign). There may be a very few instances of the same name for different units e.g. k could be kilo- or Boltzmann's constant, but this could be solved by adopting a syntax for separating prefixes v. different components of multiple units. IVOA units must be machine readable which makes parts of the IAU system unsuitable since they use Greek letters, diacritical marks etc. However it seems to me that a schema could be written which combined CDS and HEASARC and STC as unambigious alternatives and this would be much quicker than trying to modify existing data.
>
>

Recommendations

 
Changed:
<
<
We should make sure that tools for extracting metadata from FITS is consistent with this (is there a need for transation from FITS keywords). This is the point where custom exensions to software could correctly interpret errors like the infamous ISO Watts.
>
>
As discussed at IVOA, Trieste, May 2008
 
Changed:
<
<
  • NB need to specify (where possible) the date and reference for values used when data were published e.g. value of second, metre.
>
>
  • Goal: to provide schemata and libraries and references to allow
Added:
>
>
    • Recognition of units in use by the members of IVOA
    • Simple (mostly linear) conversions such as metres/parsec; use of SI prefixes (k,M,G eetc.) to avoid bulky numbers or damaged precision.
  • Whatever is adopted should as far as possible be compatible with existing VO implimentatations and FITS, and should cover all the relevant IAU types of unit (as distinct from the unsuitable symbols).
    • Please nominate whichever you consider to be the most complete existing system The IVOA should provide translation where there are unambiguous variations in other systems, including from FITS keywords (making use of existing tools/libraries where possible).
  • *Please identify any serious ambiguities e.g. k could be kilo- or Boltzmann's constant, and suggestions for how to overcome this (recognise by context? Flag for human intervention?).
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
  • Educate next generation of data providers to use some standard for units!
  • Need to record date and reference to values of fundamental quantities where available.
 
Changed:
<
<

Existing or new tools and Libraries

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

>
>

Use cases

  • Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
    • Flux unit conversions e.g. VOSpec, tools using the STILTS library
    • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.
    • Conversion between wavelength and frequency/energy units is non-linear (even without observational issues). Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe a spectral resolution of 1 MHz between 1 and 30 GHz, with a single number in wavlength units.
  • TAP - source catalogue DM - need to compare quantities
  • SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Deleted:
<
<
TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.

 Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.
Added:
>
>
  • Cone, S?AP, registry searches
    • The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..
      • Anomalous results are often obtained due to a Cone search/SIAP service returning a region in different units from the one the user thinks they are using (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Database queries: We have no control over the units used by data providers (?). We do need to be able to recognise them.
  • Enabling convenient image display with axes labeled in user-specified units/sensible SI multiples.
 
Deleted:
<
<

Cone, S?AP, registry searches

 
Deleted:
<
<
The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..
  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Need precise unit definitions

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers (?). We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Actually we can have influence - e.g. through Euro-VO DCA - at least to remind people to adhere to appropriate 'local' standard e.g.

  • no plurals W or Watt but never Watts (ambiguity with Watt second)
  • capitalisation matters m(illi) v. M(ega)

Enabling convenient image display

Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) and to allow easy conversions e.g. Jy arcsec-2 to Jy sr-1 (JP Leahy).

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency. Request for dimensional analysis tools/library to be available.

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

 

Interactions with other WG efforts

Changed:
<
<

>
>

IVOA.AnitaRichards - 16 Jun 2008
 
<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 212008-05-20 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

Recommendations

From IVOA Trieste 2008 May 19.

  • Produce list of IVOA-supported units
    • Preferred (e.g. CDS and HEASARC)
      • Is HEASARC the same as STC? If not, STC also
    • Acceptable (where other strings exist)
      • AMSR comment a few alternatives would be acceptable e.g. au or AU for Astronomical Unit, where these are unambigous; we have to be able to cater for existing data.
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
Added:
>
>
    • Example from CDS pages: see Unit conversion link - but in a form which can be linked to user programs or packages in C, IDL, python etc. with simple instructions
 
    • Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
  • Educate next generation of data providers to use some standard for units
  • Outstanding issues
    • FITS units and other systems - can these all be handled by assuming that the IVOA provides access to such data via a metadata database? in which case the software which populates the DB (e.g. MEXX) does the translating from FITS standards or even known non-standards?
    • Need to record date and reference to values of fundamental quantities where available.
  • Identified key players (please add yourself as appropriate)
    • ESAC - dimensional analysis
    • AstroGrid - STILTS and Starlink libraries
    • STC team - someone working on units


Previous discussion/links to existing libraries of units

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Added:
>
>
 

Action: There are few instances of multiple legitimate names for the same unit (benign). There may be a very few instances of the same name for different units e.g. k could be kilo- or Boltzmann's constant, but this could be solved by adopting a syntax for separating prefixes v. different components of multiple units. IVOA units must be machine readable which makes parts of the IAU system unsuitable since they use Greek letters, diacritical marks etc. However it seems to me that a schema could be written which combined CDS and HEASARC and STC as unambigious alternatives and this would be much quicker than trying to modify existing data.

We should make sure that tools for extracting metadata from FITS is consistent with this (is there a need for transation from FITS keywords). This is the point where custom exensions to software could correctly interpret errors like the infamous ISO Watts.

  • NB need to specify (where possible) the date and reference for values used when data were published e.g. value of second, metre.

Existing or new tools and Libraries

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Need precise unit definitions

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers (?). We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Actually we can have influence - e.g. through Euro-VO DCA - at least to remind people to adhere to appropriate 'local' standard e.g.

  • no plurals W or Watt but never Watts (ambiguity with Watt second)
  • capitalisation matters m(illi) v. M(ega)

Enabling convenient image display

Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) and to allow easy conversions e.g. Jy arcsec-2 to Jy sr-1 (JP Leahy).

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency. Request for dimensional analysis tools/library to be available.

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 202008-05-19 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).
Changed:
<
<
Updated IVOA Trieste 2008 May 19.
>
>

Recommendations

 
Changed:
<
<
The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.
>
>
From IVOA Trieste 2008 May 19.
 
Added:
>
>
  • Produce list of IVOA-supported units
    • Preferred (e.g. CDS and HEASARC)
      • Is HEASARC the same as STC? If not, STC also
    • Acceptable (where other strings exist)
      • AMSR comment a few alternatives would be acceptable e.g. au or AU for Astronomical Unit, where these are unambigous; we have to be able to cater for existing data.
  • Produce web page of links to existing tools for unit handling, conversion, dimensional analysis etc.
    • Complex conversions e.g. magnitudes to physical units, are outside our scope but well-defined physical units should make that workpackage easier.
  • Educate next generation of data providers to use some standard for units
  • Outstanding issues
    • FITS units and other systems - can these all be handled by assuming that the IVOA provides access to such data via a metadata database? in which case the software which populates the DB (e.g. MEXX) does the translating from FITS standards or even known non-standards?
    • Need to record date and reference to values of fundamental quantities where available.
  • Identified key players (please add yourself as appropriate)
    • ESAC - dimensional analysis
    • AstroGrid - STILTS and Starlink libraries
    • STC team - someone working on units


Previous discussion/links to existing libraries of units

 

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Action: There are few instances of multiple legitimate names for the same unit (benign). There may be a very few instances of the same name for different units e.g. k could be kilo- or Boltzmann's constant, but this could be solved by adopting a syntax for separating prefixes v. different components of multiple units. IVOA units must be machine readable which makes parts of the IAU system unsuitable since they use Greek letters, diacritical marks etc. However it seems to me that a schema could be written which combined CDS and HEASARC and STC as unambigious alternatives and this would be much quicker than trying to modify existing data.

We should make sure that tools for extracting metadata from FITS is consistent with this (is there a need for transation from FITS keywords). This is the point where custom exensions to software could correctly interpret errors like the infamous ISO Watts.

Added:
>
>
  • NB need to specify (where possible) the date and reference for values used when data were published e.g. value of second, metre.
 

Existing or new tools and Libraries

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Need precise unit definitions

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers (?). We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Actually we can have influence - e.g. through Euro-VO DCA - at least to remind people to adhere to appropriate 'local' standard e.g.

  • no plurals W or Watt but never Watts (ambiguity with Watt second)
  • capitalisation matters m(illi) v. M(ega)

Enabling convenient image display

Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) and to allow easy conversions e.g. Jy arcsec-2 to Jy sr-1 (JP Leahy).

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency. Request for dimensional analysis tools/library to be available.

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 192008-05-19 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

Updated IVOA Trieste 2008 May 19.

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Changed:
<
<
Action: Can we agree to adopt e.g. IAU units with alternatives where needed - there are relatively few instances of multiple legitimate names for the same unit (benign). There are a very few instances of the same name for different units, is there some way to adopt the most likely default but issue a warning? Or are all such instances so obscure that they can just produce a warning for human intervention?
>
>
Action: There are few instances of multiple legitimate names for the same unit (benign). There may be a very few instances of the same name for different units e.g. k could be kilo- or Boltzmann's constant, but this could be solved by adopting a syntax for separating prefixes v. different components of multiple units. IVOA units must be machine readable which makes parts of the IAU system unsuitable since they use Greek letters, diacritical marks etc. However it seems to me that a schema could be written which combined CDS and HEASARC and STC as unambigious alternatives and this would be much quicker than trying to modify existing data.
Added:
>
>
We should make sure that tools for extracting metadata from FITS is consistent with this (is there a need for transation from FITS keywords). This is the point where custom exensions to software could correctly interpret errors like the infamous ISO Watts.
 

Existing or new tools and Libraries

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Need precise unit definitions

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers (?). We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Actually we can have influence - e.g. through Euro-VO DCA - at least to remind people to adhere to appropriate 'local' standard e.g.

  • no plurals W or Watt but never Watts (ambiguity with Watt second)
  • capitalisation matters m(illi) v. M(ega)

Enabling convenient image display

Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) and to allow easy conversions e.g. Jy arcsec-2 to Jy sr-1 (JP Leahy).

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency. Request for dimensional analysis tools/library to be available.

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 182008-05-19 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).
Added:
>
>
Updated IVOA Trieste 2008 May 19.
 The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Changed:
<
<
Action: Can we agree to adopt e.g. CDS units with alternatives where needed - there are relatively few instances of multiple legitimate names for the same unit (benign). There are a very few instances of the same name for different units, is there some way to adopt the most likely default but issue a warning? Or are all such instances so obscure that they can just produce a warning for human intervention?
>
>
Action: Can we agree to adopt e.g. IAU units with alternatives where needed - there are relatively few instances of multiple legitimate names for the same unit (benign). There are a very few instances of the same name for different units, is there some way to adopt the most likely default but issue a warning? Or are all such instances so obscure that they can just produce a warning for human intervention?
 

Existing or new tools and Libraries

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Need precise unit definitions

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers (?). We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Actually we can have influence - e.g. through Euro-VO DCA - at least to remind people to adhere to appropriate 'local' standard e.g.

  • no plurals W or Watt but never Watts (ambiguity with Watt second)
  • capitalisation matters m(illi) v. M(ega)

Enabling convenient image display

Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) and to allow easy conversions e.g. Jy arcsec-2 to Jy sr-1 (JP Leahy).

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency. Request for dimensional analysis tools/library to be available.

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 172008-05-19 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Added:
>
>
Action: Can we agree to adopt e.g. CDS units with alternatives where needed - there are relatively few instances of multiple legitimate names for the same unit (benign). There are a very few instances of the same name for different units, is there some way to adopt the most likely default but issue a warning? Or are all such instances so obscure that they can just produce a warning for human intervention?

Existing or new tools and Libraries

 

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Added:
>
>
Need precise unit definitions
 Examples include:
  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

Changed:
<
<
We have no control over the units used by data providers. We do need to be able to recognise them.
>
>
We have no control over the units used by data providers (?). We do need to be able to recognise them.
 
  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?
Changed:
<
<

Image (etc.) display

>
>
Actually we can have influence - e.g. through Euro-VO DCA - at least to remind people to adhere to appropriate 'local' standard e.g.
Added:
>
>
  • no plurals W or Watt but never Watts (ambiguity with Watt second)
  • capitalisation matters m(illi) v. M(ega)
 
Changed:
<
<
Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) Details? (JP Leahy).
>
>

Enabling convenient image display

 
Added:
>
>
Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) and to allow easy conversions e.g. Jy arcsec-2 to Jy sr-1 (JP Leahy).
 

Lessons so far

Dimensional approach (see VOSpec)

Changed:
<
<
Automated dimensional analysis could be an easy way to check for consistency
>
>
Automated dimensional analysis could be an easy way to check for consistency. Request for dimensional analysis tools/library to be available.
 

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 162008-05-19 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?
Added:
>
>

Image (etc.) display

Use case: Need a library to support displaying images with coordinates in sensible units (i.e. using SI multiple etc.) Details? (JP Leahy).

 

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 152008-05-08 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.

Changed:
<
<
Publication: VizieR On-line Data Catalog: VIII/74.
>
>
Publication: VizieR On-line Data Catalog: VIII/74.
 

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts

Deleted:
<
<

Requirements from other groups

  • in
  • out
  • ...

Conclusions

[Under construction...]
 
Deleted:
<
<



 
<--  
-->
Deleted:
<
<


<--  
-->

 
META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"

Revision 142007-10-05 - ArnoldRots

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Changed:
<
<
  • Discussion/implimentation
>
>
  • Discussion/implementation
 
Added:
>
>
 

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts

Requirements from other groups

  • in
  • out
  • ...

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="" comment="Unit strings allowed in STC" date="1191603171" name="STCunits.txt" path="STCunits.txt" size="6010" user="ArnoldRots" version="1.1"
 

Revision 132007-10-04 - JesusSalgado

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Changed:
<
<
>
>
 
    • check SpecView...

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts

Requirements from other groups

  • in
  • out
  • ...

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"

Revision 122007-10-04 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Changed:
<
<
    • Section 4 in Greisen and Calabretta 2002, A&A 395, 1061;
    • check units in VOSpec, SpecView...
>
>
Added:
>
>
    • check SpecView...
 

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts

Requirements from other groups

  • in
  • out
  • ...

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"

Revision 112007-10-03 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Added:
>
>
 

Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Deleted:
<
<
    • Jcm note about units and UCD : ????
 
    • Section 4 in Greisen and Calabretta 2002, A&A 395, 1061;
Deleted:
<
<
 
    • check units in VOSpec, SpecView...

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities

Changed:
<
<
cf SPECFIND SED construction
>
>
SPECFIND : A tool to extract cross-identifications and radio continuum spectra from radio catalogues contained in the VIZIER database of the CDS.
Added:
>
>
Reference: SPECFIND Catalog of radio continuum spectra
Authors: Vollmer, B.; Davoust, E.; Dubois, P.; Genova, F.; Ochsenbein, F.; van Driel, W.
Publication: VizieR On-line Data Catalog: VIII/74.
 

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts

Requirements from other groups

  • in
  • out
  • ...

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"

Revision 102007-10-01 - BrunoRino

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback

Deleted:
<
<

 
  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts

Changed:
<
<

>
>
Deleted:
<
<
 
Added:
>
>
 

Requirements from other groups

  • in
Deleted:
<
<
 
  • out
Changed:
<
<
>
>
  • ...
Deleted:
<
<
 

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"

Revision 92007-10-01 - AlbertoMicol

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback


  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->
Added:
>
>
 
META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="" comment="Minutes of initial discussion: Cambridge, 20070927" date="1191219672" name="minutes_units_discussion_070927.txt" path="minutes_units_discussion_070927.txt" size="1346" user="AlbertoMicol" version="1.1"
 

Revision 82007-09-27 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback


Changed:
<
<
  • To come
>
>
  • Comment from discussion: scope is to enable non-linear conversions (like freq-wavelength), not to include the mechanism in the Units model. That is, we should look at the requirements of the existing tools, not duplicate them.
 

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"

Revision 72007-09-27 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Added:
>
>
      • note This looks very useful for SI and a few other units. It is not clear if it covers astronomical units but it states that it is designed to be used alongside other namespaces. This could be the starting point for technical developers? AnitaRichards
 
Added:
>
>
      • note This does not look too bad, as regards being possible to provide schemata for synonyms of the commonest SI and astronomical units - apart from a few degeneracies. AnitaRichards
 
    • Jcm note about units and UCD : ????
    • Section 4 in Greisen and Calabretta 2002, A&A 395, 1061;
    • see article at : votable-1x.html
    • check units in VOSpec, SpecView...

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback


  • To come

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->

META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"

Revision 62007-09-27 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Changed:
<
<
>
>
Added:
>
>
    • Type `units' in many types of Linux
 
  • Discussion/implimentation
Added:
>
>
 
    • Jcm note about units and UCD : ????
    • Section 4 in Greisen and Calabretta 2002, A&A 395, 1061;
    • see article at : votable-1x.html
    • check units in VOSpec, SpecView...

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback


  • To come

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1190883539" name="Units_iau_vizier_heasarc_gnu.xhtml" path="Units_iau_vizier_heasarc_gnu.xhtml" size="82228" user="AnitaRichards" version="1.1"
 

Revision 52007-09-27 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!


Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).

The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.

Approach

How do we find out what are VO priorities?

  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop

Existing Documents

Added:
>
>
 
  • Discussion/implimentation
    • Jcm note about units and UCD : ????
    • Section 4 in Greisen and Calabretta 2002, A&A 395, 1061;
    • see article at : votable-1x.html
    • check units in VOSpec, SpecView...

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

Results and Feedback


  • To come

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->

Revision 42007-09-26 - AnitaRichards

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!
Changed:
<
<
>
>
 

Goal

This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
Added:
>
>
The main discussion will be initiated at the Interop meeting 2007 27 Sep (Cambridge) and recorded in the DM forum and on this page, but if necessary we will use email between a small group to thrash out details (as for Characterisation).
 
Added:
>
>
The material below is a starting point for discussion; I apologise if I have omitted existing efforts, please add references and/or a brief outline. Nothing so far below is policy, just ideas for criticism/replacement.
 
Changed:
<
<

Charter

    • poll the community to see how units are defined , used , and coded in archives and services
>
>

Approach

Added:
>
>
How do we find out what are VO priorities?
  • What units do major data providers use?
    • Existing codings and definitions
  • What units do users want? (literature search?)
    • Need to strike a balance between being user-friendly and excessively complex models
  • Establish use cases to define the minimum requirements for use of units in VO data models and applications.
  • Produce preliminary requirements document
  • Use test implimentations
  • Check for consistency between IAU and CDS and other widely used current standards
  • Develop
 
Changed:
<
<

>
>

Existing Documents

Added:
>
>
 
Added:
>
>

Where are units needed?

Construction of Spectral Energy Distributions

The use of units and interconversions has been well-developed e.g. in VOSpec and YAFIT, but consistency is due to the cooperation of the individuals involved. A model for units would recognise this effort and allow it to be applied more widely.

TAP - source catalogue DM - need to compare quantities cf SPECFIND SED construction

Cone, S?AP, registry searches

The current IVOA standards mandate units, but in some cases this repeatedly leads to problems e.g..

  • Cone search/SIAP radius - decimal degrees
    • Anomalous results are often obtained due to a service returning a region in other units (e.g. 0.1 arcmin instead of degree) (see DB queries below).
  • Spectral region - wavelength in metres
    • Conversion from frequency and energy units is non-linear. Whilst this is trivial (and rounding errors are unimportant) for single simple regions, it makes it hard to describe the spectral resolution with a single number, if it is e.g. 1 MHz in regions between 1 and 30 GHz.

Conversion tools

Examples include:

  • Flux unit conversions e.g. VOSpec, tools using the STILTS library
  • Coordinate conversions (B1950 RA-Dec to J2000 glat-glon etc.) e.g. tools using the STILTS library, SIMBAD services etc.

Database queries

We have no control over the units used by data providers. We do need to be able to recognise them.

  • Cone searches have mandated units (see below)
  • ADQL users have to know what units to use for the query parameters. How can they check this?

Lessons so far

Dimensional approach (see VOSpec)

Automated dimensional analysis could be an easy way to check for consistency

Services with mandated units

Many data publishers install VO services on top of existing archives in arbitrary units. We can't expect the astronomical users to know what that is so e.g. SIAP search areas are always supposed to be in decimal degrees, but this often comes unstuck if data are in other units. What is best:

  • Make it easy/persuade data providers forcibly to supply information in the correct units. This would probably be feasible for data bases but near-impossible for FITS and other observed data (unless it was accessed via a database). Not all data providers would comply and either just ignor the requirement or not provide their data.
  • Find a way to insert a unit conversion tool in the query path (complicates the S?APs)

Conversions

It is important to define the limits of accuracy e.g.

  • Magnitude-flux - even if all observational quantities e.g. the zero-points are supplied, accuracy is limited to a few percent unless corrections like the colour of individual objects are included.
  • Positional coordinates - .epoch as well as equinox; leap seconds etc. needed for milli-arcsec accuracy.

We eventually need to be able to convert any units as accuracy as possible but often the full information is not available, so tools need to be flexible and settle for lower accuracy where unavoidable.

Models for units could include

  • Simple formulae (but where is maths done? Limitations inside DBs)
  • Look-up tables (where?)
  • More sophisticated references to services, links with references in data etc.

 

Results and Feedback


  • To come

Deleted:
<
<

Working Documents


More documentation

 

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->

Revision 32007-09-10 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


!!! Work in progress : Site under re construction !!!
Changed:
<
<
>
>
 

Goal

Changed:
<
<
This workpage is meant to record the general practice in manipulating units with astronomical data and define a simple way to homogeneise their representation within VO services
>
>
This workpage is meant to record the general practice in manipulating units for astronomical data and define a simple way to homogeneise their representation within VO services
 

Charter

    • poll the community to see how units are defined , used , and coded in archives and services


Results and Feedback


  • To come
Deleted:
<
<
 

Working Documents

Changed:
<
<
>
>
  • Jcm note about units and UCD : ????
Added:
>
>
 

More documentation

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->

Revision 22007-08-28 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage


Added:
>
>
!!! Work in progress : Site under re construction !!!
 

Goal

This workpage is meant to record the general practice in manipulating units with astronomical data and define a simple way to homogeneise their representation within VO services

Charter

    • poll the community to see how units are defined , used , and coded in archives and services


Results and Feedback


  • To come

Working Documents


More documentation

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->

Revision 12007-08-27 - MireilleLouys

 
META TOPICPARENT name="IvoaDataModel"

IVOA DM Work Package : Units description and usage



Goal

This workpage is meant to record the general practice in manipulating units with astronomical data and define a simple way to homogeneise their representation within VO services

Charter

    • poll the community to see how units are defined , used , and coded in archives and services


Results and Feedback


  • To come

Working Documents


More documentation

Interactions with other WG efforts


Requirements from other groups

  • in

  • out

Conclusions

[Under construction...]





<--  
-->


<--  
-->
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback