org.autoplot.cdf.CdfVirtualVars

Implementations of the CDF virtual variables seen in CDAWeb, but implemented in QDataSet. These should reflect a subset of those functions, with the IDL implementations at http://spdf.gsfc.nasa.gov/CDAWlib.html see ftp://cdaweb.gsfc.nasa.gov/pub/CDAWlib/unix/CDAWlib.tar.gz, routine read_myCDF.pro

CdfVirtualVars( )


convPos

convPos( java.util.List args, String coordSys ) → QDataSet

Parameters

args - a java.util.List
coordSys - a String

Returns:

org.das2.qds.QDataSet

[search for examples] [view on GitHub] [view on old javadoc]


execute

execute( java.util.Map metadata, String function, java.util.List args, ProgressMonitor mon ) → QDataSet

Implementations of CDF virtual functions. These are a subset of those in the CDAWeb library, plus a couple extra that they will presumably add to the library at some point.

Parameters

metadata - the metadata for the new result dataset, CDF semantics such as FILLVAL=-1e31
function - the function name, which is case insensitive. See code isSupported for list of function names.
args - list of QDataSets that are the arguments to the function
mon - monitor for the function

Returns:

the computed variable.

See Also:

isSupported(java.lang.String)
https://spdf.gsfc.nasa.gov/istp_guide/vattributes.html


[search for examples] [view on GitHub] [view on old javadoc]


isSupported

isSupported( String function ) → boolean

return true if the function is supported.

Parameters

function - the function name, such as "compute_magnitude"

Returns:

true if the function is supported.

[search for examples] [view on GitHub] [view on old javadoc]