+ * @author jbf
+ */
+public class ConvertLog10 extends Adapter {
+
+ Adapter base;
+ double[] stage;
+
+ public ConvertLog10( Adapter base ) {
+ this.base= base;
+ }
+ @Override
+ public String getString(int index) {
+ throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
+ }
+
+ @Override
+ public double adaptDouble(int index) {
+ return Math.log10( base.adaptDouble(index) );
+ }
+
+ @Override
+ public double[] adaptDoubleArray(int index) {
+ double[] result= base.adaptDoubleArray(index);
+ // it seems likely that mutating the original data is a bad idea, so make a copy.
+ if ( stage==null ) stage= new double[result.length];
+ for ( int i=0; i
+ *
More information about this type of server is found at GitHub.
- This implementation of the HAPI server uses plug-in readers to load data. Discussion and more about this
- server can be found here.
+
+ <%
+ String defaultDescription="More information about this type of server is found at "
+ + "GitHub."
+ + " This implementation of the HAPI server uses plug-in readers to load data. Discussion and more about this "
+ + " server can be found here.";
+ %>
+ <%= about.optString("description",defaultDescription) %>
Some example requests:
- AboutMore about this server, like contact info.
- CapabilitiesCapabilities of the server.
- CatalogShow the catalog of available data sets.
- <%
- boolean hasSemantics= false;
- try {
- JSONObject json= HapiServerSupport.getSemantics(HAPI_HOME);
- hasSemantics= true;
- } catch ( IOException ex ) {
- }
- if ( hasSemantics ) {
- %>
- SemanticsShow declared relationships of data sets.
- <%
- }
- %>
+ AboutMore about this server, like contact info.
+ CapabilitiesCapabilities of the server.
+ CatalogShow the catalog of available data sets.