Codota Logo
H5header$Vinfo.setOwner
Code IndexAdd Codota to your IDE (free)

How to use
setOwner
method
in
ucar.nc2.iosp.hdf5.H5header$Vinfo

Best Java code snippets using ucar.nc2.iosp.hdf5.H5header$Vinfo.setOwner (Showing top 6 results out of 315)

  • Common ways to obtain H5header$Vinfo
private void myMethod () {
H5header$Vinfo h =
  • Codota IconH5header facade;new Vinfo(facade)
  • Codota IconVariable variable;(Vinfo) variable.getSPobject()
  • Codota IconH5header mdt;H5header.MessageDatatype mds;H5header.MessageDataspace dataPos;new Vinfo(mdt, mds, dataPos)
  • Smart code suggestions by Codota
}
origin: edu.ucar/netcdf

vinfo.setOwner(v);
if ((vinfo.typeInfo.hdfType == 7) && warnings)
 debugOut.println("WARN:  Variable " + facade.name + " is a Reference type");
origin: Unidata/thredds

vinfo.setOwner(v);
if ((vinfo.typeInfo.hdfType == 7) && warnings) {
 log.warn("  Variable " + facade.name + " is a Reference type");
origin: edu.ucar/cdm

vinfo.setOwner(v);
if ((vinfo.typeInfo.hdfType == 7) && warnings)
 debugOut.println("WARN:  Variable " + facade.name + " is a Reference type");
origin: Unidata/thredds

private Variable makeVariableMember(Group g, Structure s, String name, long dataPos, MessageDatatype mdt)
    throws IOException {
 Variable v;
 Vinfo vinfo = new Vinfo(mdt, null, dataPos); // LOOK need mds
 if (vinfo.getNCDataType() == null) {
  log.debug("SKIPPING DataType= " + vinfo.typeInfo.hdfType + " for variable " + name);
  return null;
 }
 if (mdt.type == 6) {
  v = new Structure(ncfile, g, s, name);
  makeVariableShapeAndType(v, mdt, null, vinfo, null);
  addMembersToStructure(g, (Structure) v, vinfo, mdt);
  v.setElementSize(mdt.byteSize);
 } else {
  v = new Variable(ncfile, g, s, name);
  makeVariableShapeAndType(v, mdt, null, vinfo, null);
 }
 // special case of variable length strings
 if (v.getDataType() == DataType.STRING)
  v.setElementSize(16); // because the array has elements that are HeapIdentifier
 else if (v.getDataType() == DataType.OPAQUE) // special case of opaque
  v.setElementSize(mdt.getBaseSize());
 v.setSPobject(vinfo);
 vinfo.setOwner(v);
 //if (vinfo.typeInfo.unsigned)
 //  v.addAttribute(new Attribute(CDM.UNSIGNED, "true"));
 return v;
}
origin: edu.ucar/netcdf

private Variable makeVariableMember(Group g, Structure s, String name, long dataPos, MessageDatatype mdt)
  throws IOException {
 Variable v;
 Vinfo vinfo = new Vinfo(mdt, null, dataPos); // LOOK need mds
 if (vinfo.getNCDataType() == null) {
  debugOut.println("SKIPPING DataType= " + vinfo.typeInfo.hdfType + " for variable " + name);
  return null;
 }
 if (mdt.type == 6) {
  v = new Structure(ncfile, g, s, name);
  makeVariableShapeAndType(v, mdt, null, vinfo, null);
  addMembersToStructure(g, (Structure) v, vinfo, mdt);
  v.setElementSize(mdt.byteSize);
 } else {
  v = new Variable(ncfile, g, s, name);
  makeVariableShapeAndType(v, mdt, null, vinfo, null);
 }
 // special case of variable length strings
 if (v.getDataType() == DataType.STRING)
  v.setElementSize(16); // because the array has elements that are HeapIdentifier
 v.setSPobject(vinfo);
 vinfo.setOwner(v);
 if (vinfo.typeInfo.unsigned)
  v.addAttribute(new Attribute(CDM.UNSIGNED, "true"));
 return v;
}
origin: edu.ucar/cdm

private Variable makeVariableMember(Group g, Structure s, String name, long dataPos, MessageDatatype mdt)
    throws IOException {
 Variable v;
 Vinfo vinfo = new Vinfo(mdt, null, dataPos); // LOOK need mds
 if (vinfo.getNCDataType() == null) {
  debugOut.println("SKIPPING DataType= " + vinfo.typeInfo.hdfType + " for variable " + name);
  return null;
 }
 if (mdt.type == 6) {
  v = new Structure(ncfile, g, s, name);
  makeVariableShapeAndType(v, mdt, null, vinfo, null);
  addMembersToStructure(g, (Structure) v, vinfo, mdt);
  v.setElementSize(mdt.byteSize);
 } else {
  v = new Variable(ncfile, g, s, name);
  makeVariableShapeAndType(v, mdt, null, vinfo, null);
 }
 // special case of variable length strings
 if (v.getDataType() == DataType.STRING)
  v.setElementSize(16); // because the array has elements that are HeapIdentifier
 else if (v.getDataType() == DataType.OPAQUE) // special case of opaque
  v.setElementSize(mdt.getBaseSize());
 v.setSPobject(vinfo);
 vinfo.setOwner(v);
 if (vinfo.typeInfo.unsigned)
  v.addAttribute(new Attribute(CDM.UNSIGNED, "true"));
 return v;
}
ucar.nc2.iosp.hdf5H5header$VinfosetOwner

Popular methods of H5header$Vinfo

  • <init>
    Constructor, used for reading attributes
  • calcNCtype
  • extraInfo
  • getFillValue
    Get the Fill Value, return default if one was not set.
  • getFillValueNonDefault
  • getNCDataType
  • toString
  • getFillValueDefault
  • useFillValue

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • BoxLayout (javax.swing)
  • JFileChooser (javax.swing)
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