Skip to content

Treatment of NULLs in ivo_epoch_prop #19

Closed
@mbtaylor

Description

@mbtaylor

The description of ivo_epoch_prop_pos, which returns a propagated (ra,dec) position, basically says that for the parameters parallax, pmra, pmdec and radial_velocity, NULL values must be treated as zero. That makes sense.

However, ivo_epoch_prop, which returns a propagated (ra,dec,plx,pmra,pmdec,rv) array, inherits the same parameter descriptions ("This is epoch_prop_pos as described in Sect. 2.2.1, except it returns a full parameter set at out_epoch.") That is problematic, because input NULL values get propagated as output non-NULL values. Try for instance at GAVO DC:

   SELECT TOP 10
          random_index,
          ra, dec, parallax, pmra, pmdec, radial_velocity,
          ivo_epoch_prop(ra, dec, parallax, pmra, pmdec, radial_velocity, 2016, 2100) AS astrom2100
   FROM gaia.dr3lite
   ORDER BY random_index

All the input radial_velocity values are NULL, but the propagated ones (apart from random_index=5) have a small definite value. Futhermore the parallax, pmra and pmdec values for the source with random_index=5, which are NULL on input, propagate to definite values of zero.

I note that this documentation and behaviour more or less follows practice of the Gaia archive, which says "Zero is used as the default value for any missing null input parameter"' though the details are not identical (esdc_epoch_prop yields zero for parallax and rv outputs given NULL parallax, pm, rv inputs, while GAVO's ivo_epoch_prop yields NaN for those).

Since DPAC has more accomplished astrometers on board than me I wonder whether this behaviour really is respectable... but I have to say it doesn't seem like it.

Do other people agree this looks problematic?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions