CDM / TDS
  1. CDM / TDS
  2. TDS-246

change our custom code to use apache compress

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: CDM Infrastructure
    • Labels:
      None

      Description

      eg ucar.unidata.io.bzip2 was adapted from someone else

      http://commons.apache.org/compress/

        Activity

        Hide
        John Caron added a comment -
        may be useful in ncstream
        Show
        John Caron added a comment - may be useful in ncstream
        Hide
        John Caron added a comment - - edited
        jbzip2.0.9.1 is 56K but not in maven

        apache commons-compress.1.4.1 has 236K, includes deflate, tar

        ucar.unidata.io.bzip2 was originallly taken from there "The bzip2 package is based on the work done by Keiron Liddle"

        not sure if we modified CBZip2InputStream to deal with womething special in nexrad compression, possible the skip parameter:

          public CBZip2InputStream(InputStream zStream, boolean skip) throws IOException {
            if (skip) {
              char c = (char) zStream.read();
              char c2 = (char) zStream.read();
              //System.out.println(c+""+c2);
            }
            setStream(zStream);
          }
        Show
        John Caron added a comment - - edited jbzip2.0.9.1 is 56K but not in maven apache commons-compress.1.4.1 has 236K, includes deflate, tar ucar.unidata.io.bzip2 was originallly taken from there "The bzip2 package is based on the work done by Keiron Liddle" not sure if we modified CBZip2InputStream to deal with womething special in nexrad compression, possible the skip parameter:   public CBZip2InputStream(InputStream zStream, boolean skip) throws IOException {     if (skip) {       char c = (char) zStream.read();       char c2 = (char) zStream.read();       //System.out.println(c+""+c2);     }     setStream(zStream);   }

          People

          • Assignee:
            John Caron
            Reporter:
            John Caron
          • Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development