<h2>org.autoplot.dods.MetaDataScraper</h2><p>Scrape the metadata from the &lt;dods URL&gt;.html form of the data.  
 Get a new instance, call parse( &lt;dods URL&gt;.html ), then 
 call getAttr(String varName) which returns a Map of the properties.

 Note the scraping is only necessary because Jeremy forgot about the
 .das and .dds extensions.  .dds returns the stream syntax.  .das returns 
 the metadata.</p>
<h2>MetaDataScraper( )</h2>
<p>Creates a new instance of SPDFMetaDataScraper.  Use parseData then getAttr after creating the instance.</p>

<hr>
<a name="getAttr"></a>
<h2>getAttr</h2>
getAttr( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> varName ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Map.html'>java.util.Map</a>

<p>provides the attributes for this variable in a map.  The keys are the String 
 attribute name (e.g. UNITS) and the values are either type String or Double.</p>

<h3>Parameters</h3>
varName - the variable name

<h3>Returns:</h3>
the attributes
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getAttr&unscoped_q=getAttr">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/dods/MetaDataScraper.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/dods/MetaDataScraper.html#getAttr">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="getRecDims"></a>
<h2>getRecDims</h2>
getRecDims( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> varName ) &rarr; int[]

<p></p>

<h3>Parameters</h3>
varName - a String

<h3>Returns:</h3>
int[]

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getRecDims&unscoped_q=getRecDims">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/dods/MetaDataScraper.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/dods/MetaDataScraper.html#getRecDims">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="parseURL"></a>
<h2>parseURL</h2>
parseURL( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URL.html'>java.net.URL</a> url ) &rarr; void

<p>retrieve the URL, which should be a dods server form.  The
 content is scraped, looking for textareas with the name
 <i>varname</i>_attr.  The textarea content is assumed to
 be a newline delimited set of name value pairs, name: value.
 Value is of type Double or String.

 After parseURL is performed, getAttr is used to get Attributes.</p>

<h3>Parameters</h3>
url - an URL

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=parseURL&unscoped_q=parseURL">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/dods/MetaDataScraper.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/dods/MetaDataScraper.html#parseURL">[view on old javadoc]</a>
<br>
<br>