Contains top level objects for interperating and accessing PDS data.
The top level class for reading any pds files is PdsVolume. Typically to read a product one calls PdsVolume.getProduct(). All PdsProducts, once parsed, have one or more PdsFile objects, as well as product level elements, such as PDS_VERSION_ID. To read a pds file do something similar to the following:
PdsProduct prod = new PdsProduct("file:///home/cwp/VGPW_0101/VOLDESC.CAT")
PdsFile file = prod.getFile(); //Works if only one file in product
PdsSeries series = (PdsSeries) file.getObject("TIME_SERIES");
PdsColumn col = series.getCol("WAVEFORM_SAMPLES");
// Tell me about this data:
String sDescription = col.getDescription();
for(int i; i < series.rows(); i++){
Array<int> values = col.getIntAry(i);
// Do something with values ...
}
Conformance Tracking Principles