DataType dt = vinfo.getNCDataType(); if (dt == null) return false; v.setDataType(dt);
DataType dt = vinfo.getNCDataType(); if (dt == null) return false; v.setDataType(dt);
private Attribute makeAttribute(MessageAttribute matt) throws IOException { Vinfo vinfo = new Vinfo(matt.mdt, matt.mds, matt.dataPos); DataType dtype = vinfo.getNCDataType();
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;
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;
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;
DataType dt = vinfo.getNCDataType(); if (dt == null) return false; v.setDataType(dt);
private Attribute makeAttribute(MessageAttribute matt) throws IOException { Vinfo vinfo = new Vinfo(matt.mdt, matt.mds, matt.dataPos); DataType dtype = vinfo.getNCDataType();
private Attribute makeAttribute(MessageAttribute matt) throws IOException { Vinfo vinfo = new Vinfo(matt.mdt, matt.mds, matt.dataPos); DataType dtype = vinfo.getNCDataType();
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; }
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; }
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; }