Primary Header¶
$PrintPrimaryHeader fit/euc-test-le1-vis.xml le1.visRawImage
This command prints the content of a FITS catalogue within a table in an organised manner. This is optional but highly recommended.
$SetSchemaPath
$PrintDataProductName
$PrintDataProductCustodian
$PrintSchemaFilename
$PrintDataProductElements
$PrintCatalog
$PrintPrimaryHeader
$PrintExtensionHeader
$PrintHDUTableContents
The specific set of keywords shown above represent the set of commands created for the user. As can be observed every command will start with “$”.
$SetSchemaPath le3/wl/inp/euc-test-le3-wl-InputLE2Catalog.xsd
This command sets the path to the corresponding Data Model product and allows information to be retrieved automatically.
This command is positioned after the title of the document.
The information that we are able to retrieve is the Name of the Data Product, the Data Product Custodians, the Name of the Schema and Data Product Elements.
$PrintDataProductName
Retrieve the current Name of the Data Product used within the Data Model. The Data Product Name adheres to the Euclid Data Model naming conventions.
$PrintDataProductCustodian
This command will display the current custodian(s) for the Data Product.
$PrintSchemaFilename
This command will display the name of the XSD file for the Data Product and provide a link to the corresponding file in the Data Model.
$PrintDataProductElements
This command will display the Data Product elements, such as the Headers, Data, Quality Flags and Parameters.
Previous Information
The Following commands are normally included within this section.
$PrintCatalog fit/euc-test-le3-wl.xml le3.wl.input.le2catalog
This command prints the content of a FITS catalogue within a table in an organised manner. This is optional but highly recommended.
$PrintPrimaryHeader fit/euc-test-le1-vis.xml le1.visRawImage
This command prints the content of a FITS catalogue within a table in an organised manner. This is optional but highly recommended.
$PrintExtensionHeader fit/euc-test-le1-vis.xml le1.visRawImage SCI.n
This command allow developers to bring the FitsFormat or FitsFiles within a table in an organized manner. Is highly recommended its use.
$PrintHDUTableContents fit/euc-test-le3-gc.xml le3.gc.bkpf.spe.mono BISPECTRUM
This command allow developers to bring the FitsFormat or FitsFiles within a table in an organized manner. Is highly recommended its use.
This is the required content structure that developers shall provide for data product.
/**
* ├──Title
* ├── Data product name
* ├── Data product custodian
* ├── Name of the Schema file
* ├── Last Edited for DPDD version
* ├── Processing elements creating / updating / using the product
* ├── Processing function using the product
* ├── Proposed for inclusion in EAS/SAS
* ├── Data product elements
* └── Data product detailed description
*/
These are some additional titles used by some products.
This example shows the output obtained by using the command PrintCatalog for data-product-doc/ST_FitsDataModel/ST_DM_FitsSchema/auxdir/ST_DM_FitsSchema/instances/fit/euc-test-le3-wl.xml with the FitsFormat id le3.wl.input.le2catalog.
Example for 2dmasswl_shearcatalog.rst using the command PrintCatalogThis example shows the output obtained by using the command PrintPrimaryHeader and PrintExtensionHeader for data-product-doc/ST_FitsDataModel/ST_DM_FitsSchema/auxdir/ST_DM_FitsSchema/instances/fit/euc-test-le1-vis.xml with the fits format le1.visRawImage and in the case of Extension Header we need to include the ArrayHDU attribute name SCI.n .
Example for le1_visrawframe.rst using the command PrintPrimaryHeader and PrintExtensionHeaderThis example shows the output obtained by using the command PrintHDUTableContents for data-product-doc/ST_FitsDataModel/ST_DM_FitsSchema/auxdir/ST_DM_FitsSchema/instances/fit/euc-test-le3-gc.xml with the FitsFormat id le3.gc.bkpf.spe.mono and in addition is needed to specify the the attribute name of TableHDU as for this scenario BISPECTRUM and SPECTRUM.
Example for bkgc_OUTPUT_spe_mono.rst using the command PrintHDUTableContents