org.autoplot.cdf.CdfDataSource
CDF data source based on Nand Lal's pure-Java
CDF reader. CDF, or Common Data Format, is a NASA data format.
timer
To resolve bug 1002 we unload the cache after 10 seconds. Joe at Aerospace had a problem where
he couldn't kill a lingering autoplot process and then couldn't get at the file because it held a reference to the
file. Now we automatically unload all the cached files. I did look at just disabling the cache, but the file is
open and closed three times during the load. See http://sourceforge.net/p/autoplot/bugs/1002.
checkCdf
checkCdf( java.io.File cdfFile ) → void
check if the file really is a CDF, and throw IllegalArgumentException if it is not.
NetCDF files occasionally use the extension .cdf.
Parameters
cdfFile - a CDF file (or not)
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
getCdfFile
getCdfFile( String fileName ) → gov.nasa.gsfc.spdf.cdfj.CDFReader
get the abstract access object to the given CDF file. This provides read-only access to the file, and a cache
is used to limit the number of references managed.
See bug http://sourceforge.net/p/autoplot/bugs/922/
The result returns a CDF object which contains a read-only memory-mapped byte buffer.
Parameters
fileName - a String
Returns:
the CDF reference used to access the file
[search for examples]
[view on GitHub]
[view on old javadoc]
getDataSet
getDataSet( ProgressMonitor mon ) → QDataSet
Parameters
mon - a ProgressMonitor
Returns:
org.das2.qds.QDataSet
[search for examples]
[view on GitHub]
[view on old javadoc]
getDataSet( ProgressMonitor mon, java.util.Map attr1 ) → QDataSet
getDataSet( java.io.File cdfFile, gov.nasa.gsfc.spdf.cdfj.CDFReader cdf, String svariable, java.util.Map attr1, java.util.Map map, ProgressMonitor mon ) → org.das2.qds.MutablePropertyDataSet
getMetadata
getMetadata( ProgressMonitor mon ) → java.util.Map
Parameters
mon - a ProgressMonitor
Returns:
java.util.Map
[search for examples]
[view on GitHub]
[view on old javadoc]
getMetadataModel
getMetadataModel( ) → org.autoplot.datasource.MetadataModel
{@inheritDoc }
Returns:
an IstpMetadataModel
See Also:
IstpMetadataModel
[search for examples]
[view on GitHub]
[view on old javadoc]
printCacheReport
printCacheReport( ) → void
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]