Skip to content

Post-processing parameters are inserted at wrong level in xml table #124

@IrisdeRuiter

Description

@IrisdeRuiter

https://github.com/askap-vast/vast-post-processing/blob/511616515fc383c2208462beb2a5c334bbbbea1b/vast_post_processing/corrections.py#L618C5-L618C16

The parameters describing the post-processing
[
ra_offset_param,
ra_offset_err_param,
dec_offset_param,
dec_offset_err_param,
flux_scl_param,
flux_scl_err_param,
flux_off_param,
flux_off_err_param,
]
are inserted at the wrong 'level' of the xml table. They should be inserted as parameters of the first table, instead of global parameters. This is more common, and also what is done for for example the cropping parameters:

_add_votable_params(votable, field_centre, size)

I think it is just a matter of changing
votablefile.params.extend
to votable.params.extend, but will have to test.

Current output xml is

<VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.3.xsd">
  <PARAM ID="RAOffset" datatype="float" name="RAOffset" unit="arcsec" value="-0.9589337477846089" />
<PARAM ID="RAOffsetErr" datatype="float" name="RAOffsetErr" unit="arcsec" value="0.6912697399245484" />
<PARAM ID="DECOffset" datatype="float" name="DECOffset" unit="arcsec" value="-1.9615624934431983" />
<PARAM ID="DECOffsetErr" datatype="float" name="DECOffsetErr" unit="arcsec" value="0.830965158899138" />
<PARAM ID="FluxScale" datatype="float" name="FluxScale" value="0.9908708385011806" />
<PARAM ID="FluxScaleErr" datatype="float" name="FluxScaleErr" value="0.0009514033096735165" />
<PARAM ID="FluxOffset" datatype="float" name="FluxOffset" unit="mJy" value="-0" />
<PARAM ID="FluxOffsetErr" datatype="float" name="FluxOffsetErr" unit="mJy" value="0" />
<RESOURCE type="results">
    <TABLE ID="Component_catalogue" name="Component catalogue" nrows="5610">
      <FIELD ID="col_island_id" arraysize="20" datatype="char" name="island_id" ucd="meta.id.parent" unit="--" />
    <FIELD ID="col_component_id" arraysize="24" datatype="char" name="component_id" ucd="meta.id;meta.main" unit="--" />
    <FIELD ID="col_component_name" arraysize="26" datatype="char" name="component_name" ucd="meta.id" unit="---" />
    <FIELD ID="col_ra_hms_cont" arraysize="12" datatype="char" name="ra_hms_cont" ref="J2000" ucd="pos.eq.ra" unit="---" />
    <FIELD ID="col_dec_dms_cont" arraysize="13" datatype="char" name="dec_dms_cont" ref="J2000" ucd="pos.eq.dec" unit="---" />
    <FIELD ID="col_ra_deg_cont" datatype="double" name="ra_deg_cont" precision="6" ref="J2000" ucd="pos.eq.ra;meta.main" unit="deg" width="12" />
    <FIELD ID="col_dec_deg_cont" datatype="double" name="dec_deg_cont" precision="6" ref="J2000" ucd="pos.eq.dec;meta.main" unit="deg" width="13" />
    <FIELD ID="col_ra_err" datatype="float" name="ra_err" precision="2" ref="J2000" ucd="stat.error;pos.eq.ra" unit="arcsec" width="11" />
    <FIELD ID="col_dec_err" datatype="float" name="dec_err" precision="2" ref="J2000" ucd="stat.error;pos.eq.dec" unit="arcsec" width="11" />
    <FIELD ID="col_freq" datatype="float" name="freq" precision="1" ucd="em.freq" unit="MHz" width="11" />
    <FIELD ID="col_flux_peak" datatype="float" name="flux_peak" precision="3" ucd="phot.flux.density;stat.max;em.radio;stat.fit" unit="mJy/beam" width="11" />
    <FIELD ID="col_flux_peak_err" datatype="float" name="flux_peak_err" precision="3" ucd="stat.error;phot.flux.density;stat.max;em.radio;stat.fit" unit="mJy/beam" width="14" />
    <FIELD ID="col_flux_int" datatype="float" name="flux_int" precision="3" ucd="phot.flux.density;em.radio;stat.fit" unit="mJy" width="10" />
    <FIELD ID="col_flux_int_err" datatype="float" name="flux_int_err" precision="3" ucd="stat.error;phot.flux.density;em.radio;stat.fit" unit="mJy" width="13" />
    <FIELD ID="col_maj_axis" datatype="float" name="maj_axis" precision="2" ucd="phys.angSize.smajAxis;em.radio;stat.fit" unit="arcsec" width="9" />
    <FIELD ID="col_min_axis" datatype="float" name="min_axis" precision="2" ucd="phys.angSize.sminAxis;em.radio;stat.fit" unit="arcsec" width="9" />
    <FIELD ID="col_pos_ang" datatype="float" name="pos_ang" precision="2" ucd="phys.angSize;pos.posAng;em.radio;stat.fit" unit="deg" width="8" />
    <FIELD ID="col_maj_axis_err" datatype="float" name="maj_axis_err" precision="2" ucd="stat.error;phys.angSize.smajAxis;em.radio" unit="arcsec" width="13" />
    <FIELD ID="col_min_axis_err" datatype="float" name="min_axis_err" precision="2" ucd="stat.error;phys.angSize.sminAxis;em.radio" unit="arcsec" width="13" />
    <FIELD ID="col_pos_ang_err" datatype="float" name="pos_ang_err" precision="2" ucd="stat.error;phys.angSize;pos.posAng;em.radio" unit="deg" width="12" />
    <FIELD ID="col_maj_axis_deconv" datatype="float" name="maj_axis_deconv" precision="2" ucd="phys.angSize.smajAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="18" />
    <FIELD ID="col_min_axis_deconv" datatype="float" name="min_axis_deconv" precision="2" ucd="phys.angSize.sminAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="16" />
    <FIELD ID="col_pos_ang_deconv" datatype="float" name="pos_ang_deconv" precision="2" ucd="phys.angSize;pos.posAng;em.radio;askap:meta.deconvolved" unit="deg" width="15" />
    <FIELD ID="col_maj_axis_deconv_err" datatype="float" name="maj_axis_deconv_err" precision="2" ucd="stat.error;phys.angSize.smajAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="13" />
    <FIELD ID="col_min_axis_deconv_err" datatype="float" name="min_axis_deconv_err" precision="2" ucd="stat.error;phys.angSize.sminAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="13" />
    <FIELD ID="col_pos_ang_deconv_err" datatype="float" name="pos_ang_deconv_err" precision="2" ucd="stat.error;phys.angSize;pos.posAng;em.radio;askap:meta.deconvolved" unit="deg" width="12" />
    <FIELD ID="col_chi_squared_fit" datatype="float" name="chi_squared_fit" precision="3" ucd="stat.fit.chi2" unit="--" width="17" />
    <FIELD ID="col_rms_fit_gauss" datatype="float" name="rms_fit_gauss" precision="3" ucd="stat.stdev;stat.fit" unit="mJy/beam" width="15" />
    <FIELD ID="col_spectral_index" datatype="float" name="spectral_index" precision="2" ucd="spect.index;em.radio" unit="--" width="15" />
    <FIELD ID="col_spectral_curvature" datatype="float" name="spectral_curvature" precision="2" ucd="askap:spect.curvature;em.radio" unit="--" width="19" />
    <FIELD ID="col_spectral_index_err" datatype="float" name="spectral_index_err" precision="2" ucd="stat.error;spect.index;em.radio" unit="--" width="15" />
    <FIELD ID="col_spectral_curvature_err" datatype="float" name="spectral_curvature_err" precision="2" ucd="stat.error;askap:spect.curvature;em.radio" unit="--" width="19" />
    <FIELD ID="col_rms_image" datatype="float" name="rms_image" precision="3" ucd="stat.stdev;phot.flux.density" unit="mJy/beam" width="12" />
    <FIELD ID="col_has_siblings" datatype="int" name="has_siblings" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_fit_is_estimate" datatype="int" name="fit_is_estimate" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_spectral_index_from_TT" datatype="int" name="spectral_index_from_TT" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_flag_c4" datatype="int" name="flag_c4" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_comment" arraysize="100" datatype="char" name="comment" ucd="meta.note" unit="---" />
    <PARAM ID="table_version" arraysize="43" datatype="char" name="table_version" ucd="meta.version" value="casda.continuum_component_description_v1.9" />
    <PARAM ID="imageFile" arraysize="61" datatype="char" name="imageFile" ucd="meta.file;meta.fits" value="image.i.VAST_2322+06.SB50542.cont.taylor.0.restored.conv.fits" />
    <PARAM ID="flagSubsection" datatype="boolean" name="flagSubsection" ucd="meta.code" value="T" />
    <PARAM ID="subsection" arraysize="25" datatype="char" name="subsection" value="[1:13730,1:13718,1:1,1:1]" />
    <PARAM ID="flagStatSec" datatype="boolean" name="flagStatSec" ucd="meta.code" value="F" />
    <PARAM ID="StatSec" arraysize="7" datatype="char" name="StatSec" value="[*,*,*]" />
    <PARAM ID="searchType" arraysize="7" datatype="char" name="searchType" ucd="meta.note" value="spatial" />
    <PARAM ID="flagNegative" datatype="boolean" name="flagNegative" ucd="meta.code" value="F" />
    <PARAM ID="flagBaseline" datatype="boolean" name="flagBaseline" ucd="meta.code" value="F" />
    <PARAM ID="flagRobustStats" datatype="boolean" name="flagRobustStats" ucd="meta.code" value="T" />
    <PARAM ID="flagFDR" datatype="boolean" name="flagFDR" ucd="meta.code" value="F" />
    <PARAM ID="threshold" datatype="float" name="threshold" ucd="phot.flux;stat.min" value="5" />
    <PARAM ID="flagGrowth" datatype="boolean" name="flagGrowth" ucd="meta.code" value="T" />
    <PARAM ID="growthThreshold" datatype="float" name="growthThreshold" ucd="phot.flux;stat.min" value="3" />
    <PARAM ID="minPix" datatype="int" name="minPix" value="3" />
    <PARAM ID="minChannels" datatype="int" name="minChannels" value="0" />
    <PARAM ID="minVoxels" datatype="int" name="minVoxels" value="3" />
    <PARAM ID="flagAdjacent" datatype="boolean" name="flagAdjacent" ucd="meta.code" value="T" />
    <PARAM ID="threshVelocity" datatype="float" name="threshVelocity" value="7" />
    <PARAM ID="flagRejectBeforeMerge" datatype="boolean" name="flagRejectBeforeMerge" value="F" />
    <PARAM ID="flagTwoStageMerging" datatype="boolean" name="flagTwoStageMerging" value="T" />
    <PARAM ID="pixelCentre" arraysize="8" datatype="char" name="pixelCentre" value="centroid" />
    <PARAM ID="flagSmooth" datatype="boolean" name="flagSmooth" ucd="meta.code" value="F" />
    <PARAM ID="flagATrous" datatype="boolean" name="flagATrous" ucd="meta.code" value="F" />
    <PARAM ID="Reference_frequency" datatype="float" name="Reference frequency" ucd="em.freq;meta.main" unit="Hz" value="887491000" />
    <PARAM ID="thresholdActual" datatype="float" name="thresholdActual" unit="Jy/beam" value="5" />
    <PARAM ID="CropCentreRA" datatype="float" name="CropCentreRA" value="350.68938618038" />
    <PARAM ID="CropCentreDec" datatype="float" name="CropCentreDec" value="6.2944912326405955" />
    <PARAM ID="CropSize" datatype="float" name="CropSize" value="6.67" />
    <PARAM ID="PostProcessingHash" arraysize="*" datatype="char" name="PostProcessingHash" value="7dc20c3389820b55864a0d918f6236077b9b319d" />
    <DATA>
        <TABLEDATA>
          <TR>

Output should be

<VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.3.xsd">
<RESOURCE type="results">
    <TABLE ID="Component_catalogue" name="Component catalogue" nrows="5610">
      <FIELD ID="col_island_id" arraysize="20" datatype="char" name="island_id" ucd="meta.id.parent" unit="--" />
    <FIELD ID="col_component_id" arraysize="24" datatype="char" name="component_id" ucd="meta.id;meta.main" unit="--" />
    <FIELD ID="col_component_name" arraysize="26" datatype="char" name="component_name" ucd="meta.id" unit="---" />
    <FIELD ID="col_ra_hms_cont" arraysize="12" datatype="char" name="ra_hms_cont" ref="J2000" ucd="pos.eq.ra" unit="---" />
    <FIELD ID="col_dec_dms_cont" arraysize="13" datatype="char" name="dec_dms_cont" ref="J2000" ucd="pos.eq.dec" unit="---" />
    <FIELD ID="col_ra_deg_cont" datatype="double" name="ra_deg_cont" precision="6" ref="J2000" ucd="pos.eq.ra;meta.main" unit="deg" width="12" />
    <FIELD ID="col_dec_deg_cont" datatype="double" name="dec_deg_cont" precision="6" ref="J2000" ucd="pos.eq.dec;meta.main" unit="deg" width="13" />
    <FIELD ID="col_ra_err" datatype="float" name="ra_err" precision="2" ref="J2000" ucd="stat.error;pos.eq.ra" unit="arcsec" width="11" />
    <FIELD ID="col_dec_err" datatype="float" name="dec_err" precision="2" ref="J2000" ucd="stat.error;pos.eq.dec" unit="arcsec" width="11" />
    <FIELD ID="col_freq" datatype="float" name="freq" precision="1" ucd="em.freq" unit="MHz" width="11" />
    <FIELD ID="col_flux_peak" datatype="float" name="flux_peak" precision="3" ucd="phot.flux.density;stat.max;em.radio;stat.fit" unit="mJy/beam" width="11" />
    <FIELD ID="col_flux_peak_err" datatype="float" name="flux_peak_err" precision="3" ucd="stat.error;phot.flux.density;stat.max;em.radio;stat.fit" unit="mJy/beam" width="14" />
    <FIELD ID="col_flux_int" datatype="float" name="flux_int" precision="3" ucd="phot.flux.density;em.radio;stat.fit" unit="mJy" width="10" />
    <FIELD ID="col_flux_int_err" datatype="float" name="flux_int_err" precision="3" ucd="stat.error;phot.flux.density;em.radio;stat.fit" unit="mJy" width="13" />
    <FIELD ID="col_maj_axis" datatype="float" name="maj_axis" precision="2" ucd="phys.angSize.smajAxis;em.radio;stat.fit" unit="arcsec" width="9" />
    <FIELD ID="col_min_axis" datatype="float" name="min_axis" precision="2" ucd="phys.angSize.sminAxis;em.radio;stat.fit" unit="arcsec" width="9" />
    <FIELD ID="col_pos_ang" datatype="float" name="pos_ang" precision="2" ucd="phys.angSize;pos.posAng;em.radio;stat.fit" unit="deg" width="8" />
    <FIELD ID="col_maj_axis_err" datatype="float" name="maj_axis_err" precision="2" ucd="stat.error;phys.angSize.smajAxis;em.radio" unit="arcsec" width="13" />
    <FIELD ID="col_min_axis_err" datatype="float" name="min_axis_err" precision="2" ucd="stat.error;phys.angSize.sminAxis;em.radio" unit="arcsec" width="13" />
    <FIELD ID="col_pos_ang_err" datatype="float" name="pos_ang_err" precision="2" ucd="stat.error;phys.angSize;pos.posAng;em.radio" unit="deg" width="12" />
    <FIELD ID="col_maj_axis_deconv" datatype="float" name="maj_axis_deconv" precision="2" ucd="phys.angSize.smajAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="18" />
    <FIELD ID="col_min_axis_deconv" datatype="float" name="min_axis_deconv" precision="2" ucd="phys.angSize.sminAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="16" />
    <FIELD ID="col_pos_ang_deconv" datatype="float" name="pos_ang_deconv" precision="2" ucd="phys.angSize;pos.posAng;em.radio;askap:meta.deconvolved" unit="deg" width="15" />
    <FIELD ID="col_maj_axis_deconv_err" datatype="float" name="maj_axis_deconv_err" precision="2" ucd="stat.error;phys.angSize.smajAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="13" />
    <FIELD ID="col_min_axis_deconv_err" datatype="float" name="min_axis_deconv_err" precision="2" ucd="stat.error;phys.angSize.sminAxis;em.radio;askap:meta.deconvolved" unit="arcsec" width="13" />
    <FIELD ID="col_pos_ang_deconv_err" datatype="float" name="pos_ang_deconv_err" precision="2" ucd="stat.error;phys.angSize;pos.posAng;em.radio;askap:meta.deconvolved" unit="deg" width="12" />
    <FIELD ID="col_chi_squared_fit" datatype="float" name="chi_squared_fit" precision="3" ucd="stat.fit.chi2" unit="--" width="17" />
    <FIELD ID="col_rms_fit_gauss" datatype="float" name="rms_fit_gauss" precision="3" ucd="stat.stdev;stat.fit" unit="mJy/beam" width="15" />
    <FIELD ID="col_spectral_index" datatype="float" name="spectral_index" precision="2" ucd="spect.index;em.radio" unit="--" width="15" />
    <FIELD ID="col_spectral_curvature" datatype="float" name="spectral_curvature" precision="2" ucd="askap:spect.curvature;em.radio" unit="--" width="19" />
    <FIELD ID="col_spectral_index_err" datatype="float" name="spectral_index_err" precision="2" ucd="stat.error;spect.index;em.radio" unit="--" width="15" />
    <FIELD ID="col_spectral_curvature_err" datatype="float" name="spectral_curvature_err" precision="2" ucd="stat.error;askap:spect.curvature;em.radio" unit="--" width="19" />
    <FIELD ID="col_rms_image" datatype="float" name="rms_image" precision="3" ucd="stat.stdev;phot.flux.density" unit="mJy/beam" width="12" />
    <FIELD ID="col_has_siblings" datatype="int" name="has_siblings" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_fit_is_estimate" datatype="int" name="fit_is_estimate" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_spectral_index_from_TT" datatype="int" name="spectral_index_from_TT" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_flag_c4" datatype="int" name="flag_c4" ucd="meta.code" unit="---" width="8" />
    <FIELD ID="col_comment" arraysize="100" datatype="char" name="comment" ucd="meta.note" unit="---" />
    <PARAM ID="table_version" arraysize="43" datatype="char" name="table_version" ucd="meta.version" value="casda.continuum_component_description_v1.9" />
    <PARAM ID="imageFile" arraysize="61" datatype="char" name="imageFile" ucd="meta.file;meta.fits" value="image.i.VAST_2322+06.SB50542.cont.taylor.0.restored.conv.fits" />
    <PARAM ID="flagSubsection" datatype="boolean" name="flagSubsection" ucd="meta.code" value="T" />
    <PARAM ID="subsection" arraysize="25" datatype="char" name="subsection" value="[1:13730,1:13718,1:1,1:1]" />
    <PARAM ID="flagStatSec" datatype="boolean" name="flagStatSec" ucd="meta.code" value="F" />
    <PARAM ID="StatSec" arraysize="7" datatype="char" name="StatSec" value="[*,*,*]" />
    <PARAM ID="searchType" arraysize="7" datatype="char" name="searchType" ucd="meta.note" value="spatial" />
    <PARAM ID="flagNegative" datatype="boolean" name="flagNegative" ucd="meta.code" value="F" />
    <PARAM ID="flagBaseline" datatype="boolean" name="flagBaseline" ucd="meta.code" value="F" />
    <PARAM ID="flagRobustStats" datatype="boolean" name="flagRobustStats" ucd="meta.code" value="T" />
    <PARAM ID="flagFDR" datatype="boolean" name="flagFDR" ucd="meta.code" value="F" />
    <PARAM ID="threshold" datatype="float" name="threshold" ucd="phot.flux;stat.min" value="5" />
    <PARAM ID="flagGrowth" datatype="boolean" name="flagGrowth" ucd="meta.code" value="T" />
    <PARAM ID="growthThreshold" datatype="float" name="growthThreshold" ucd="phot.flux;stat.min" value="3" />
    <PARAM ID="minPix" datatype="int" name="minPix" value="3" />
    <PARAM ID="minChannels" datatype="int" name="minChannels" value="0" />
    <PARAM ID="minVoxels" datatype="int" name="minVoxels" value="3" />
    <PARAM ID="flagAdjacent" datatype="boolean" name="flagAdjacent" ucd="meta.code" value="T" />
    <PARAM ID="threshVelocity" datatype="float" name="threshVelocity" value="7" />
    <PARAM ID="flagRejectBeforeMerge" datatype="boolean" name="flagRejectBeforeMerge" value="F" />
    <PARAM ID="flagTwoStageMerging" datatype="boolean" name="flagTwoStageMerging" value="T" />
    <PARAM ID="pixelCentre" arraysize="8" datatype="char" name="pixelCentre" value="centroid" />
    <PARAM ID="flagSmooth" datatype="boolean" name="flagSmooth" ucd="meta.code" value="F" />
    <PARAM ID="flagATrous" datatype="boolean" name="flagATrous" ucd="meta.code" value="F" />
    <PARAM ID="Reference_frequency" datatype="float" name="Reference frequency" ucd="em.freq;meta.main" unit="Hz" value="887491000" />
    <PARAM ID="thresholdActual" datatype="float" name="thresholdActual" unit="Jy/beam" value="5" />
    <PARAM ID="CropCentreRA" datatype="float" name="CropCentreRA" value="350.68938618038" />
    <PARAM ID="CropCentreDec" datatype="float" name="CropCentreDec" value="6.2944912326405955" />
    <PARAM ID="CropSize" datatype="float" name="CropSize" value="6.67" />
    <PARAM ID="PostProcessingHash" arraysize="*" datatype="char" name="PostProcessingHash" value="7dc20c3389820b55864a0d918f6236077b9b319d" />
<PARAM ID="RAOffset" datatype="float" name="RAOffset" unit="arcsec" value="-0.9589337477846089" />
<PARAM ID="RAOffsetErr" datatype="float" name="RAOffsetErr" unit="arcsec" value="0.6912697399245484" />
<PARAM ID="DECOffset" datatype="float" name="DECOffset" unit="arcsec" value="-1.9615624934431983" />
<PARAM ID="DECOffsetErr" datatype="float" name="DECOffsetErr" unit="arcsec" value="0.830965158899138" />
<PARAM ID="FluxScale" datatype="float" name="FluxScale" value="0.9908708385011806" />
<PARAM ID="FluxScaleErr" datatype="float" name="FluxScaleErr" value="0.0009514033096735165" />
<PARAM ID="FluxOffset" datatype="float" name="FluxOffset" unit="mJy" value="-0" />
<PARAM ID="FluxOffsetErr" datatype="float" name="FluxOffsetErr" unit="mJy" value="0" />
    <DATA>
        <TABLEDATA>
          <TR>

On a similar note, we might consider adding a coosys parameter:

import xml.etree.ElementTree as ET
ET.register_namespace("", ns["v"])

    # Create the COOSYS element
    coosys = ET.Element(f"{{{ns['v']}}}COOSYS", {
        "ID": "J2000",
        "system": "eq_FK5",
        "equinox": "J2000"
    })
    
    # Insert as the first child inside <VOTABLE>
    root.insert(0, coosys)
    
    # Write cleaned file
    tree.write(outfile, encoding="utf-8", xml_declaration=True)

and a catalogueName, indexedFields and PrincipalFields parameter as these are required by CASDA

catalogueName_param = Param(
            votable=vot,
            ID="catalogueName",
            name="catalogueName",
            value=CASDA_name,
            arraysize="59",
            datatype="char"
        )

    indexedFields_param = Param(
            votable=vot,
            ID="indexedFields",
            name="indexedFields",
            value="component_id,ra_deg_cont,dec_deg_cont,flux_peak",
            arraysize="255",
            datatype="char"
        )
    
    principalFields_param = Param(
            votable=vot,
            ID="principalFields",
            name="principalFields",
            value="component_id,ra_deg_cont,dec_deg_cont,flux_peak",
            arraysize="255",
            datatype="char"
        )

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