Build: #96 was successful Changes by 5 people

Stages & jobs

  1. Tag

  2. Default Stage

  3. Create Test Plan Branch

Code commits

Showing 101 of 102 code changes

Casa6

GitHub Casacore

  • AndrĂ© Offringa <offringa@gmail.com>

    André Offringa <offringa@gmail.com> 5f300653961d41466e0b11f2256bfbc329f9c978

    Implement a write-after-read mode in Sisco (#1463)
    * Implement a write-after-read mode in Sisco

    This makes it possible to read 'old' data while overwriting the data. This is e.g. a typical scenario
    in Dp3 when updating a measurement set: the data is read, then modified and then written back.

    The way it is implemented is by detecting that data is written after reading it, and if this is the
    case, the new data is written to a new temporary file, leaving the old data intact. When the
    file is closed, the temporary file is renamed over the old data.

    This solves some use-cases, but not all. The standard Dp3 update works after this, but it is
    slow because Dp3 doesn't read the data sequentially, because it asks for the shape of the
    data before actually reading the data. This causes the Sisco reader to have to "skip back",
    which it can only do by starting from the very beginning, hence it is slow.

    * Allow fixed-size columns

    * Finish write-after-read and fixed columns

    • tables/AlternateMans/Deflate.h (version 5f300653961d41466e0b11f2256bfbc329f9c978)
    • tables/AlternateMans/SiscoStManColumn.h (version 5f300653961d41466e0b11f2256bfbc329f9c978)