Codota Logo
H4header.factory
Code IndexAdd Codota to your IDE (free)

How to use
factory
method
in
ucar.nc2.iosp.hdf4.H4header

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: edu.ucar/cdm

private long readDDH(List<Tag> alltags, long start) throws IOException {
 raf.seek(start);
 int ndd = DataType.unsignedShortToInt(raf.readShort()); // number of DD blocks
 long link = DataType.unsignedIntToLong(raf.readInt()); // point to the next DDH; link == 0 means no more
 if (debugDD) System.out.println(" DDHeader ndd=" + ndd + " link=" + link);
 long pos = raf.getFilePointer();
 for (int i = 0; i < ndd; i++) {
  raf.seek(pos);
  Tag tag = factory();
  pos += 12; // tag usually changed the file pointer
  if (tag.code > 1)
   alltags.add(tag);
 }
 memTracker.add("DD block", start, raf.getFilePointer());
 return link;
}
origin: edu.ucar/netcdf

private long readDDH(List<Tag> alltags, long start) throws IOException {
 raf.seek(start);
 int ndd = DataType.unsignedShortToInt(raf.readShort()); // number of DD blocks
 long link = DataType.unsignedIntToLong(raf.readInt()); // point to the next DDH; link == 0 means no more
 if (debugDD) System.out.println(" DDHeader ndd=" + ndd + " link=" + link);
 long pos = raf.getFilePointer();
 for (int i = 0; i < ndd; i++) {
  raf.seek(pos);
  Tag tag = factory();
  pos += 12; // tag usually changed the file pointer
  if (tag.code > 1)
   alltags.add(tag);
 }
 memTracker.add("DD block", start, raf.getFilePointer());
 return link;
}
origin: Unidata/thredds

private long readDDH(List<Tag> alltags, long start) throws IOException {
 raf.seek(start);
 int ndd = DataType.unsignedShortToInt(raf.readShort()); // number of DD blocks
 long link = DataType.unsignedIntToLong(raf.readInt()); // point to the next DDH; link == 0 means no more
 if (debugDD) System.out.println(" DDHeader ndd=" + ndd + " link=" + link);
 long pos = raf.getFilePointer();
 for (int i = 0; i < ndd; i++) {
  raf.seek(pos);
  Tag tag = factory();
  pos += 12; // tag usually changed the file pointer
  if (tag.code > 1)
   alltags.add(tag);
 }
 memTracker.add("DD block", start, raf.getFilePointer());
 return link;
}
ucar.nc2.iosp.hdf4H4headerfactory

Popular methods of H4header

  • isValidFile
  • setDebugFlags
  • addGlobalAttributes
  • addGroupToGroup
  • addVariableAttributes
  • addVariableToGroup
  • adjustDimensions
  • construct
  • findUsedDimensions
  • isEos
  • makeAttribute
  • makeDimension
  • makeAttribute,
  • makeDimension,
  • makeDimensionUnshared,
  • makeGroup,
  • makeImage,
  • makeVariable,
  • read,
  • readDDH,
  • tagid

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now