Tabnine Logo
ucar.nc2.iosp.hdf4
Code IndexAdd Tabnine to your IDE (free)

How to use ucar.nc2.iosp.hdf4

Best Java code snippets using ucar.nc2.iosp.hdf4 (Showing top 20 results out of 315)

origin: edu.ucar/cdm

public String detail() {
 if (linked != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + linked.detail();
 else if (compress != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + compress.detail();
 else if (chunked != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + chunked.detail();
 else
  return super.detail();
}
origin: edu.ucar/netcdf

public String toString() {
 return super.toString() + " type=" + H4type.setDataType(type, null) + " nbits=" + nbits;
}
origin: edu.ucar/netcdf

 public String detail() {
  return super.detail() + " xdim=" + xdim + " ydim=" + ydim + " nelems=" + nelems +
    " nt_ref=" + nt_ref + " interlace=" + interlace + " compress=" + compress;
 }
}
origin: edu.ucar/cdm

 static public void main(String args[]) throws IOException {
  ODLparser p = new ODLparser();
  p.parseFile("c:/temp/odl.struct.txt");
 }
}
origin: edu.ucar/netcdf

 public String detail() {
  StringBuilder sbuff = new StringBuilder(super.detail());
  sbuff.append("   min= ").append(getMin(dt));
  sbuff.append("   max= ").append(getMax(dt));
  return sbuff.toString();
 }
}
origin: edu.ucar/netcdf

Tag(short code) throws IOException {
 this.extended = (code & 0x4000) != 0;
 this.code = (short) (code & 0x3FFF);
 refno = raf.readShort();
 offset = raf.readInt();
 length = raf.readInt();
 t = TagEnum.getTag(this.code);
 if ((code > 1) && debugTracker)
  memTracker.add(t.getName() + " " + refno, offset, offset + length);
 //if (extended)
 //  System.out.println("");
}
origin: edu.ucar/netcdf

 public int read() throws IOException {
  if (segpos == segSize) {
   boolean ok = readSegment();
   if (!ok) return -1;
  }
  int b = buffer[segpos] & 0xff;
  //System.out.println("  byte "+b+ " at= "+segpos);
  segpos++;
  return b;
 }
}
origin: edu.ucar/netcdf

public int read() throws IOException {
 if (segPos == segSize)
  readChunk();
 int b = buffer[segPos] & 0xff;
 //System.out.println("  byte "+b+ " at= "+segPos);
 segPos++;
 return b;
}
origin: Unidata/thredds

Number getMax(DataType dataType) {
 dt = dataType;
 return get(dataType, 0);
}
origin: edu.ucar/netcdf

 static public void main(String args[]) throws IOException {
  testTagid((short) 123, (short) -12);
  testTagid((short) 123, (short) -5385);

  /* H4header.setDebugFlags(new ucar.nc2.util.DebugFlagsImpl("H4header/tag1 H4header/tagDetail")); // H4header/construct"));
  String filename1 = "eos/modis/MOD04_243.1850.hdf";
  //ucar.unidata.io.RandomAccessFile.setDebugAccess(true);
  test("C:/data/hdf4/" + filename1); */
 }
}
origin: edu.ucar/netcdf

public String detail() {
 if (linked != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + linked.detail();
 else if (compress != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + compress.detail();
 else if (chunked != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + chunked.detail();
 else
  return super.detail();
}
origin: edu.ucar/netcdf

 static public void main(String args[]) throws IOException {
  ODLparser p = new ODLparser();
  p.parseFile("c:/temp/odl.struct.txt");
 }
}
origin: edu.ucar/cdm

public String toString() {
 return super.toString() + " type=" + H4type.setDataType(type, null) + " nbits=" + nbits;
}
origin: edu.ucar/cdm

 public String detail() {
  return super.detail() + " xdim=" + xdim + " ydim=" + ydim + " nelems=" + nelems +
    " nt_ref=" + nt_ref + " interlace=" + interlace + " compress=" + compress;
 }
}
origin: edu.ucar/cdm

 public int read() throws IOException {
  if (segpos == segSize) {
   boolean ok = readSegment();
   if (!ok) return -1;
  }
  int b = buffer[segpos] & 0xff;
  //System.out.println("  byte "+b+ " at= "+segpos);
  segpos++;
  return b;
 }
}
origin: Unidata/thredds

public String detail() {
 if (linked != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + linked.detail();
 else if (compress != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + compress.detail();
 else if (chunked != null)
  return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + chunked.detail();
 else
  return super.detail();
}
origin: Unidata/thredds

 static public void main(String args[]) throws IOException {
  ODLparser p = new ODLparser();
  p.parseFile("c:/temp/odl.struct.txt");
 }
}
origin: Unidata/thredds

public String toString() {
 return super.toString() + " type=" + H4type.setDataType(type, null) + " nbits=" + nbits;
}
origin: Unidata/thredds

 public String detail() {
  return super.detail() + " xdim=" + xdim + " ydim=" + ydim + " nelems=" + nelems +
    " nt_ref=" + nt_ref + " interlace=" + interlace + " compress=" +
    compress + " compress_ref=" + compress_ref;
 }
}
origin: Unidata/thredds

 public int read() throws IOException {
  if (segpos == segSize) {
   boolean ok = readSegment();
   if (!ok) return -1;
  }
  int b = buffer[segpos] & 0xff;
  //System.out.println("  byte "+b+ " at= "+segpos);
  segpos++;
  return b;
 }
}
ucar.nc2.iosp.hdf4

Most used classes

  • HdfEos
    Parse structural metadata from HDF-EOS. This allows us to use shared dimensions, identify Coordinate
  • H4header
    Read the tags of an HDF4 file, construct CDM objects. All page references are to "HDF Specification
  • H4iosp
  • ODLparser
    Turn ODL into XML
  • H4header$DataChunk
  • H4header$MemTracker,
  • H4header$Minfo,
  • H4header$SpecialChunked,
  • H4header$SpecialComp,
  • H4header$SpecialLinked,
  • H4header$Tag,
  • H4header$TagAnnotate,
  • H4header$TagData,
  • H4header$TagGroup,
  • H4header$TagLinkedBlock,
  • H4header$TagNumberType,
  • H4header$TagRIDimension,
  • H4header$TagRIPalette,
  • H4header$TagSDDimension
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now