C D E G H I N P R S U 

C

cdmElementClass(DataType) - Static method in class dap4.cdmshared.CDMUtil
 
cdmtype2daptype(DataType, boolean) - Static method in class dap4.cdmshared.CDMUtil
 
CDMUtil - Class in dap4.cdmshared
CDM related Constants and utilities common to client and server code
CDMUtil() - Constructor for class dap4.cdmshared.CDMUtil
 
computeEffectiveShape(List<DapDimension>) - Static method in class dap4.cdmshared.CDMUtil
Compute the shape inferred from a set of slices.
containsKey(CDMNode) - Method in class dap4.cdmshared.NodeMap
 
containsKey(DapNode) - Method in class dap4.cdmshared.NodeMap
 
convertVector(DapType, DapType, Object) - Static method in class dap4.cdmshared.CDMUtil
Convert an array of one type of values to another type
createCDMRanges(List<Slice>) - Static method in class dap4.cdmshared.CDMUtil
 
createSlices(List<Range>) - Static method in class dap4.cdmshared.CDMUtil
Convert a list of ucar.ma2.Range to a list of Slice More or less the inverst of create CDMRanges
createVector(AtomicType, long) - Static method in class dap4.cdmshared.CDMUtil
Given an arbitrary Array (including ArrayStructure), produce a new Array that represents the slice defined by the section.

D

dap4.cdmshared - package dap4.cdmshared
 
daptype2cdmtype(DapType) - Static method in class dap4.cdmshared.CDMUtil
 
daptypeSize(AtomicType) - Static method in class dap4.cdmshared.CDMUtil
Conmpute the size, in databuffer, of the daptype wrt to a serialization; 0 if undefined.
dimsetToRanges(List<DapDimension>) - Static method in class dap4.cdmshared.CDMUtil
Convert a Section + variable to a constraint static public View sectionToView(CDMDSP dsp, Variable v, Section section) throws DapException { if(section == null || section.getRank() == 0) return null; // Get the corresponding DapNode DapVariable dv = (DapVariable) dsp.getNode().get(v); if(dv == null) throw new DapException("Variable has no corresponding dap node: " + v.getFullName()); // Get the structure path wrt DapDataset for dv // and use path plus the Section to construct a constraint List structpath = DapUtil.getStructurePath(dv); List ranges = section.getRanges(); View view = new View(dmr); int next = 0; for(int i = 0;i < structpath.size();i++) { dv = structpath.get(i); int rank = dv.getRank(); ViewVariable vv = new ViewVariable(dv); List slices = new ArrayList(rank); for(int j = 0;j < rank;j++, next++) { if(next >= ranges.size()) throw new DapException("Range::Rank mismatch"); Range range = ranges.get(next); Slice slice = new Slice(range.first(), range.last(), range.stride()).validate(); slices.add(slice); } vv.setSlices(slices); view.put(dv, vv); } view.validate(View.EXPAND); return view; }

E

enumtypefor(DapType) - Static method in class dap4.cdmshared.CDMUtil
 
extractDoubleValue(AtomicType, D4DataAtomic, int) - Static method in class dap4.cdmshared.CDMUtil
Extract, as a double, value from a (presumably) atomic typed array of values; dataset position is presumed correct.
extractLongValue(AtomicType, D4DataAtomic, long) - Static method in class dap4.cdmshared.CDMUtil
Extract, as a long, value from a (presumably) atomic typed array of values; dataset position is presumed correct.

G

get(CDMNode) - Method in class dap4.cdmshared.NodeMap
 
get(DapNode) - Method in class dap4.cdmshared.NodeMap
 
getCDMMap() - Method in class dap4.cdmshared.NodeMap
 
getChecksumString(byte[]) - Static method in class dap4.cdmshared.CDMUtil
 

H

hasVLEN(List<Range>) - Static method in class dap4.cdmshared.CDMUtil
 
hasVLEN(Variable) - Static method in class dap4.cdmshared.CDMUtil
Test if any dimension is variable length

I

isWhole(List<Range>, List<DapDimension>, int, int) - Static method in class dap4.cdmshared.CDMUtil
Test a List against a List to see if the range list represents the whole set of dimensions within the specified indices.
isWhole(List<Range>, List<Slice>) - Static method in class dap4.cdmshared.CDMUtil
Test a List against a List to see if the range list is whole wrt the slices
isWhole(List<Range>, Variable) - Static method in class dap4.cdmshared.CDMUtil
Test a List against the CDM variable's dimensions to see if the range list is whole wrt the dimensions

N

NodeMap - Class in dap4.cdmshared
Provide a bi-directional 1-1 map between DapNode instances and CDMNode instances.
NodeMap() - Constructor for class dap4.cdmshared.NodeMap
 

P

put(DapNode, CDMNode) - Method in class dap4.cdmshared.NodeMap
Given a dapnode <-> cdmnode pair, insert into the maps

R

remove(DapNode, CDMNode) - Method in class dap4.cdmshared.NodeMap
Given a dapnode <-> cdmnode pair, remove from the maps

S

shapeToSlices(int[]) - Static method in class dap4.cdmshared.CDMUtil
 

U

unwrap(Variable) - Static method in class dap4.cdmshared.CDMUtil
NetcdfDataset can end up wrapping a variable in multiple wrapping classes (e.g.
unwrapfile(NetcdfFile) - Static method in class dap4.cdmshared.CDMUtil
NetcdfDataset can wrap a NetcdfFile.
C D E G H I N P R S U 

Copyright © 1999–2015 UCAR/Unidata. All rights reserved.