Package eu.admire.seismo.metadata

Examples of eu.admire.seismo.metadata.XCDataset


         }
        
         mOutputBlockWriterDatasetMetadata = getOutput(OUTPUT_METADATA);
         if(mOutputBlockWriterDatasetMetadata!=null)
         {
           XCDataset xcorr = new XCDataset();
           xcorr.setXcorrelationId(dsx.getDatasetId());
           xcorr.setCreationDate(dsx.getCreationDate());
           xcorr.setInputTrace1(ds1.getTraceList().get(0));
           xcorr.setInputTrace2(ds2.getTraceList().get(0));
           xcorr.setInstanceId(dsx.getInstanceId());
           xcorr.setParameters(dsx.getParameters());
           xcorr.setRequestId(dsx.getRequestId());
           xcorr.setUri(dsx.getUri());
          
           JSONSerializer serializer = new JSONSerializer();
             mOutputBlockWriterDatasetMetadata.write(URLEncoder.encode(serializer.include("inputTrace1").include("inputTrace2").serialize(xcorr),"UTF-8"));
         }
     
View Full Code Here

TOP

Related Classes of eu.admire.seismo.metadata.XCDataset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.