grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionGridDefinition.java
private int[] getNptsInLine(Grib1Gds gds) {
    int numPts;
    if ((gds.getScanMode() & 32) == 0) { // bit3 = 0 : Adjacent points in i direction are consecutive
      numPts = gds.getNy();
    } else {                             // bit3 = 1 : Adjacent points in j direction are consecutive
      numPts = gds.getNx();
    }

    int[] parallels = new int[numPts];
    int offset = getOctet(5);
    for (int i = 0; i < numPts; i++) {
      parallels[i] = GribNumbers.int2(getOctet(offset++), getOctet(offset++));
    }
    return parallels;
  }
private int[] getNptsInLine(Grib1Gds gds) {
    int numPts;
    if ((gds.getScanMode() & 32) == 0) { // bit3 = 0 : Adjacent points in i direction are consecutive
      numPts = gds.getNy();
    } else {                             // bit3 = 1 : Adjacent points in j direction are consecutive
      numPts = gds.getNx();
    }

    int[] parallels = new int[numPts];
    int offset = getOctet(5);
    for (int i = 0; i < numPts; i++) {
      parallels[i] = GribNumbers.int2(getOctet(offset++), getOctet(offset++));
    }
    return parallels;
  }
Gets the number of points in each line for Quasi/Thin grids
"List of numbers of points in each row (length = NROWS x 2 octets, where NROWS is the
total number of rows defined within the grid description)"
@return number of points in each line as int[]