Functions | |
| cpl_error_code | fors_qc_start_group (cpl_propertylist *header, const char *qcdic_version, const char *instrument) |
| Initiate a new QC1 group. | |
| cpl_error_code | fors_qc_end_group (void) |
| Close current QC1 PAF file. | |
| cpl_error_code | fors_qc_write_string (const char *name, const char *value, const char *comment, const char *instrument) |
| Add string parameter to current QC1 group. | |
| cpl_error_code | fors_qc_write_double (const char *name, double value, const char *unit, const char *comment, const char *instrument) |
| Add double parameter to current QC1 group. | |
| cpl_error_code | fors_qc_keyword_to_paf (cpl_propertylist *header, const char *name, const char *unit, const char *comment, const char *instrument) |
| Copy a keyword value to the currently active QC1 PAF object. | |
| cpl_error_code | fors_qc_write_qc_string (cpl_propertylist *header, const char *name, const char *value, const char *comment, const char *instrument) |
| Write a string value to the active QC1 PAF object and to a header. | |
| cpl_error_code | fors_qc_write_qc_double (cpl_propertylist *header, double value, const char *name, const char *unit, const char *comment, const char *instrument) |
| Write an integer value to the active QC1 PAF object and to a header. | |
| cpl_error_code fors_qc_end_group | ( | void | ) |
Close current QC1 PAF file.
CPL_ERROR_NONE on successfors_qc_start_group() should be called first. If the PAF file is empty, the PAF object is destroyed, but no PAF file is created.
| cpl_error_code fors_qc_keyword_to_paf | ( | cpl_propertylist * | header, | |
| const char * | name, | |||
| const char * | unit, | |||
| const char * | comment, | |||
| const char * | instrument | |||
| ) |
Copy a keyword value to the currently active QC1 PAF object.
| header | Pointer to a keyword header. | |
| name | Keyword name. | |
| unit | Optional unit to be associated to keyword value. | |
| comment | Optional comment to be associated to keyword value. | |
| instrument | Instrument name |
CPL_ERROR_NONE on success| cpl_error_code fors_qc_start_group | ( | cpl_propertylist * | header, | |
| const char * | qcdic_version, | |||
| const char * | instrument | |||
| ) |
Initiate a new QC1 group.
| header | product header | |
| qcdic_version | dictionary ID | |
| instrument | instrument name |
CPL_ERROR_NONE on success| cpl_error_code fors_qc_write_double | ( | const char * | name, | |
| double | value, | |||
| const char * | unit, | |||
| const char * | comment, | |||
| const char * | instrument | |||
| ) |
Add double parameter to current QC1 group.
| name | Parameter name | |
| value | Parameter value | |
| unit | Parameter unit | |
| comment | Parameter comment; | |
| instrument | Instrument name |
CPL_ERROR_NONE on success| cpl_error_code fors_qc_write_qc_double | ( | cpl_propertylist * | header, | |
| double | value, | |||
| const char * | name, | |||
| const char * | unit, | |||
| const char * | comment, | |||
| const char * | instrument | |||
| ) |
Write an integer value to the active QC1 PAF object and to a header.
CPL_ERROR_NONE on success| header | Product header | |
| value | Value to write. | |
| name | QC1 PAF entry name. | |
| unit | Optional unit to be associated to value. | |
| comment | Comment to be associated to value. | |
| instrument | Instrument name |
| cpl_error_code fors_qc_write_qc_string | ( | cpl_propertylist * | header, | |
| const char * | name, | |||
| const char * | value, | |||
| const char * | comment, | |||
| const char * | instrument | |||
| ) |
Write a string value to the active QC1 PAF object and to a header.
CPL_ERROR_NONE on success| header | Product header | |
| name | QC1 PAF entry name. | |
| value | Value to write. | |
| unit | Optional unit to be associated to value. | |
| comment | Comment to be associated to value. | |
| instrument | Instrument name |
| cpl_error_code fors_qc_write_string | ( | const char * | name, | |
| const char * | value, | |||
| const char * | comment, | |||
| const char * | instrument | |||
| ) |
Add string parameter to current QC1 group.
| name | Parameter name | |
| value | Parameter value | |
| comment | Parameter comment | |
| instrument | Instrument name |
CPL_ERROR_NONE on success
1.4.7