Tabnine Logo
H5header$Vinfo.getNCDataType
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: Unidata/thredds

DataType dt = vinfo.getNCDataType();
if (dt == null) return false;
v.setDataType(dt);
origin: edu.ucar/cdm

DataType dt = vinfo.getNCDataType();
if (dt == null) return false;
v.setDataType(dt);
origin: edu.ucar/netcdf

private Attribute makeAttribute(MessageAttribute matt) throws IOException {
 Vinfo vinfo = new Vinfo(matt.mdt, matt.mds, matt.dataPos);
 DataType dtype = vinfo.getNCDataType();
origin: edu.ucar/cdm

private Variable makeVariable(ucar.nc2.Group ncGroup, DataObjectFacade facade) throws IOException {
 if (vinfo.getNCDataType() == null) {
  debugOut.println("SKIPPING DataType= " + vinfo.typeInfo.hdfType + " for variable " + facade.name);
  return null;
origin: Unidata/thredds

private Variable makeVariable(ucar.nc2.Group ncGroup, DataObjectFacade facade) throws IOException {
 if (vinfo.getNCDataType() == null) {
  log.debug("SKIPPING DataType= " + vinfo.typeInfo.hdfType + " for variable " + facade.name);
  return null;
origin: edu.ucar/netcdf

private Variable makeVariable(ucar.nc2.Group ncGroup, DataObjectFacade facade) throws IOException {
 if (vinfo.getNCDataType() == null) {
  debugOut.println("SKIPPING DataType= " + vinfo.typeInfo.hdfType + " for variable " + facade.name);
  return null;
origin: edu.ucar/netcdf

DataType dt = vinfo.getNCDataType();
if (dt == null) return false;
v.setDataType(dt);
origin: Unidata/thredds

private Attribute makeAttribute(MessageAttribute matt) throws IOException {
 Vinfo vinfo = new Vinfo(matt.mdt, matt.mds, matt.dataPos);
 DataType dtype = vinfo.getNCDataType();
origin: edu.ucar/cdm

private Attribute makeAttribute(MessageAttribute matt) throws IOException {
 Vinfo vinfo = new Vinfo(matt.mdt, matt.mds, matt.dataPos);
 DataType dtype = vinfo.getNCDataType();
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;
}
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: 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;
}
ucar.nc2.iosp.hdf5H5header$VinfogetNCDataType

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
  • setOwner
  • toString
  • getFillValueDefault
  • useFillValue

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Menu (java.awt)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JTable (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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