diff --git a/ChangeLog b/ChangeLog index 4a22752..f3d2b40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,6 @@ 2023.162: - Print sample rate in Hz consistently in msr3_print() - Fix writing of SNR values field 9 of Blockette 201 (v2) - - Map publication versions 1-4+ to quality codes D,R,Q,M when writing v2 - Read and write microsecond offsets to/from Blockette 500 (v2) - Fix addition of Clock Model field 9 of Blocketee 500 (v2) diff --git a/pack.c b/pack.c index 4f6c76c..b92f5ff 100644 --- a/pack.c +++ b/pack.c @@ -970,12 +970,6 @@ msr3_pack_header2 (MS3Record *msr, char *record, uint32_t recbuflen, int8_t verb if (yyjson_ptr_get_str (ehroot, "/FDSN/DataQuality", &header_string) && MS2_ISDATAINDICATOR (header_string[0])) *pMS2FSDH_DATAQUALITY (record) = header_string[0]; - else if (msr->pubversion >= 4) - *pMS2FSDH_DATAQUALITY (record) = 'M'; - else if (msr->pubversion == 3) - *pMS2FSDH_DATAQUALITY (record) = 'Q'; - else if (msr->pubversion == 1) - *pMS2FSDH_DATAQUALITY (record) = 'R'; else *pMS2FSDH_DATAQUALITY (record) = 'D';