Skip to content

Commit

Permalink
Revert mapping of pub versions to v2 quality codes, for maximum legac…
Browse files Browse the repository at this point in the history
…y portability
  • Loading branch information
chad-earthscope committed Jun 11, 2023
1 parent 9f6a6f1 commit 48220d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
6 changes: 0 additions & 6 deletions pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 48220d3

Please sign in to comment.