org.autoplot.pdsppi.PDSPPIDB

Class containing the logic for communicating with the PDS-PPI database.

PDSPPIDB( )


PDSPPI


checkTimeSeriesBrowse

checkTimeSeriesBrowse( String uri ) → String

parameterize the URI so that any number of files can be read in. For example,


 vap+pdsppi:sc=Cassini&id=PPI/CO-S-MIMI-4-LEMMS-CALIB-V1.0/DATA/LACCAVG0_1MIN/2006/LACCAVG0_1MIN_2006269_01¶m=E0
would result in

vap+pdsppi:sc=Cassini&id=PPI/CO-S-MIMI-4-LEMMS-CALIB-V1.0/DATA/LACCAVG0_1MIN/$Y/LACCAVG0_1MIN_$Y$j_01¶m=E0

Parameters

uri - a String

Returns:

the aggregation URI or null.

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


getIds

getIds( ) → List

Returns:

java.util.List

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

getIds( java.util.regex.Pattern p ) → List
getIds( String constraint, String reqPrefix ) → String[]

getInstance

getInstance( ) → PDSPPIDB

Returns:

org.autoplot.pdsppi.PDSPPIDB

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


getParams

getParams( String id, ProgressMonitor mon ) → Map

return a list of the plottable parameter datasets within the ID. TODO: this loads the entire dataset, this will be fixed.

Parameters

id - a String
mon - a ProgressMonitor

Returns:

Map label->title of the params.

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


getSpacecraft

getSpacecraft( ) → String[]

returns the spacecraft.

Returns:

a java.lang.String[][]

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


isPlottable

isPlottable( String ds ) → boolean

return true if the name appears to be a plottable id.

Parameters

ds - name from their filesystem that ends with .lbl, .tab, etc.

Returns:

true if the id appears to be plottable.

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


main

main( java.lang.String[][] args ) → void

Parameters

args - a java.lang.String[]

Returns:

void (returns nothing)

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


removeExtraSlashes

removeExtraSlashes( String root ) → String

apparently the id needs to have underscores where there are slashes... e.g. PPI/CO-E/J/S/SW-CAPS-5-DDR-ELE-MOMENTS-V1.0 -> PPI/CO-E_J_S_SW-CAPS-5-DDR-ELE-MOMENTS-V1.0

Parameters

root - like PPI/CO-E/J/S/SW-CAPS-5-DDR-ELE-MOMENTS-V1.0/

Returns:

result like PPI/CO-E_J_S_SW-CAPS-5-DDR-ELE-MOMENTS-V1.0

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