##// END OF EJS Templates
Script test de pruebas actuales con el update de heading en el block 360, el parametro adicional es heading que se lee del experiment.conf
Script test de pruebas actuales con el update de heading en el block 360, el parametro adicional es heading que se lee del experiment.conf

File last commit:

r1378:62d28cd21362
r1759:c8ee9da660f1
Show More
test_sim00011a.py
56 lines | 2.2 KiB | text/x-python | PythonLexer
19 DE AGOSTO 2021 RM
r1367 import os,sys,json
import datetime
import time
from schainpy.controller import Project
'''
NOTA:
Este script de prueba.
- Unidad del lectura 'HDFReader'.
- Unidad de procesamiento ParametersProc
- Operacion SpectralMomentsPlot
'''
david c
update de procesamiento y revision de ploteo
r1378 #path = '/home/soporte/Downloads/RAWDATA_PP'
#path = '/DATA_RM/TEST_HDF5/d2021203'
path='/DATA_RM/TEST_HDF5/d2021231'
19 DE AGOSTO 2021 RM
r1367 figpath = '/home/soporte/Downloads/IMAGE'
desc = "Simulator Test"
desc_data = {
'Data': {
david c
update de procesamiento y revision de ploteo
r1378 'dataPP_POW': ['Data/dataPP_POW/channel00','Data/dataPP_POW/channel01'],
'dataPP_DOP': ['Data/dataPP_DOP/channel00','Data/dataPP_DOP/channel01'],
19 DE AGOSTO 2021 RM
r1367 'utctime':'Data/utctime'
},
'Metadata': {
'heightList' :'Metadata/heightList',
'flagDataAsBlock':'Metadata/flagDataAsBlock',
david c
update de procesamiento y revision de ploteo
r1378 'channelList' :'Metadata/channelList',
'profileIndex' :'Metadata/profileIndex'
19 DE AGOSTO 2021 RM
r1367 }
}
controllerObj = Project()
controllerObj.setup(id='10',name='Test Simulator',description=desc)
readUnitConfObj = controllerObj.addReadUnit(datatype='HDFReader',
path=path,
startDate="2021/01/01", #"2020/01/01",#today,
endDate= "2021/12/01", #"2020/12/30",#today,
startTime='00:00:00',
endTime='23:59:59',
delay=0,
#set=0,
online=0,
walk=0,
description= json.dumps(desc_data))#1
procUnitConfObjA = controllerObj.addProcUnit(datatype='ParametersProc',inputId=readUnitConfObj.getId())
#opObj11 = procUnitConfObjA.addOperation(name='PulsepairPowerPlot', optype='other')#PulsepairPowerPlot
opObj11 = procUnitConfObjA.addOperation(name='PulsepairSignalPlot', optype='other')
david c
update de procesamiento y revision de ploteo
r1378 opObj11 = procUnitConfObjA.addOperation(name='PulsepairVelocityPlot', optype='other')
19 DE AGOSTO 2021 RM
r1367
controllerObj.start()