org.autoplot.hapiserver.HapiServerSupport

HapiServerSupport( )


getCatalog

getCatalog( ) → JSONArray

Returns:

JSONArray

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


getCatalogIds

getCatalogIds( ) → java.util.List

return the list of datasets available at the server

Returns:

list of dataset ids

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


getExampleRange

getExampleRange( JSONObject info ) → DatumRange

Parameters

info - a JSONObject

Returns:

org.das2.datum.DatumRange

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


getRange

getRange( JSONObject info ) → DatumRange

return the range of available data. For example, Polar/Hydra data is available from 1996-03-20 to 2008-04-15.

Parameters

info - a JSONObject

Returns:

the range of available data, or null if it is not available.

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


readJSON

readJSON( java.io.File jsonFile ) → JSONObject

read the JSONObject from the file.

Parameters

jsonFile - file containing JSONObject.

Returns:

the JSONObject

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