Skip to content

String Gotchas

Compare
Choose a tag to compare
@DocOtak DocOtak released this 30 Aug 17:48
· 4 commits to master since this release

The changes for numpy 2.0 failed to calculate a string length correctly and important things like station ids were being truncated! This fixes that problem and is important enough that I decided to do a release on a Friday before a long weekend, a totally safe and accepted programming norm.

Changes:

  • (Major Bug) Fix not calculating the correct string length for string fields that have an inconsistent length (e.g. station)
  • (Bug) Fix the legacy woce writer not writing the data block if no quality flags are in the file