<h2>org.autoplot.pds.PdsDataSource</h2><p>PDS4 file source. This is pointed at PDS4 xml files and will return data they describe.</p> <h2>PdsDataSource( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> uri )</h2> <p></p> <hr> <a name="getDataSet"></a> <h2>getDataSet</h2> getDataSet( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p></p> <h3>Parameters</h3> mon - a ProgressMonitor <h3>Returns:</h3> org.das2.qds.QDataSet <br><br> <a href="https://github.com/autoplot/dev/search?q=getDataSet&unscoped_q=getDataSet">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#getDataSet">[view on old javadoc]</a> <br> <br> <hr> <a name="getDataSetFromBundle"></a> <h2>getDataSetFromBundle</h2> getDataSetFromBundle( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> doc, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>given the bundle, figure out which files should be loaded to implement the time range. This will call recursively into this code for each item. This unimplemented stub returns an empty dataset. //TODO: implement me</p> <h3>Parameters</h3> doc - the xml document <br> mon - progress monitor <h3>Returns:</h3> rank 0 stub <br><br> <a href="https://github.com/autoplot/dev/search?q=getDataSetFromBundle&unscoped_q=getDataSetFromBundle">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#getDataSetFromBundle">[view on old javadoc]</a> <br> <br> <hr> <a name="getDataSetFromCollection"></a> <h2>getDataSetFromCollection</h2> getDataSetFromCollection( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> doc, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>given the collection, figure out which files should be loaded to implement the time range. This will call recursively into this code for each item. This unimplemented stub returns an empty dataset. //TODO: implement me</p> <h3>Parameters</h3> doc - the xml document <br> mon - progress monitor <h3>Returns:</h3> rank 0 stub <br><br> <a href="https://github.com/autoplot/dev/search?q=getDataSetFromCollection&unscoped_q=getDataSetFromCollection">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#getDataSetFromCollection">[view on old javadoc]</a> <br> <br> <hr> <a name="getMetadata"></a> <h2>getMetadata</h2> getMetadata( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Map.html'>java.util.Map</a> <p></p> <h3>Parameters</h3> mon - a ProgressMonitor <h3>Returns:</h3> java.util.Map <br><br> <a href="https://github.com/autoplot/dev/search?q=getMetadata&unscoped_q=getMetadata">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#getMetadata">[view on old javadoc]</a> <br> <br> <hr> <a name="readXML"></a> <h2>readXML</h2> readXML( <a href='https://docs.oracle.com/javase/8/docs/api/java/io/File.html'>java.io.File</a> f ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> <p>Read the XML file into a document.</p> <h3>Parameters</h3> f - the file <h3>Returns:</h3> the document object <br><br> <a href="https://github.com/autoplot/dev/search?q=readXML&unscoped_q=readXML">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#readXML">[view on old javadoc]</a> <br> <br> <hr> <a name="resolveIndependentAxis"></a> <h2>resolveIndependentAxis</h2> resolveIndependentAxis( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> doc, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> axisName ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>return the name of the independent parameter that works in this axis. This currently assumes the first node with this axisName is the independent axis. For example, with https://space.physics.uiowa.edu/voyager/data/voyager-2-pws-wf/data/1987/vg2_pws_wf_1987-04-21T17_v1.0.xml, if axisName=='time' then the result will be "Epoch" This shows where this logic fails: https://pds-ppi.igpp.ucla.edu/data/maven-swea-calibrated/data/arc_pad/2016/03/mvn_swe_l2_arcpad_20160316_v04_r01.xml For this file, I had to kludge in a test for the pitch angles.</p> <h3>Parameters</h3> doc - the xml document <br> axisName - the axis name <h3>Returns:</h3> null or the independent variable for the axis. <br><br> <a href="https://github.com/autoplot/dev/search?q=resolveIndependentAxis&unscoped_q=resolveIndependentAxis">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#resolveIndependentAxis">[view on old javadoc]</a> <br> <br> <hr> <a name="seekDependencies"></a> <h2>seekDependencies</h2> seekDependencies( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> doc, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/List.html'>java.util.List</a> depend ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/util/List.html'>java.util.List</a> <p>look through the PDS label document to see if dependencies can be identified. Presently, this is simply one other dataset with the same axis (as in sample_offset) or the same axis name as something that has a time unit (Epoch).</p> <h3>Parameters</h3> doc - the parsed document for the label XML <br> depend - the name of the data for the dependent variable, e.g. Waveform <h3>Returns:</h3> ( Epoch, sample_offset, Waveform ) <h3>See Also:</h3> <a href='https://space.physics.uiowa.edu/voyager/data/voyager-2-pws-wf/data/1987/vg2_pws_wf_1987-04-21T17_v0.9.xml'>https://space.physics.uiowa.edu/voyager/data/voyager-2-pws-wf/data/1987/vg2_pws_wf_1987-04-21T17_v0.9.xml</a> <br> <br><br> <a href="https://github.com/autoplot/dev/search?q=seekDependencies&unscoped_q=seekDependencies">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pds/PdsDataSource.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pds/PdsDataSource.html#seekDependencies">[view on old javadoc]</a> <br> <br>