@@ -793,3 +793,11 class BLTRSpectraReader (ProcessingUnit, FileHeaderBLTR, RecordHeaderBLTR, JRODa | |||
|
793 | 793 | self.dataOut.ChanDist = self.ChanDist |
|
794 | 794 | |
|
795 | 795 | |
|
796 | ||
|
797 | ||
|
798 | self.BlockCounter+=2 | |
|
799 | ||
|
800 | else: | |
|
801 | self.fileSelector+=1 | |
|
802 | self.BlockCounter=0 | |
|
803 | print "Next File" No newline at end of file |
@@ -907,7 +907,7 class FullSpectralAnalysis(Operation): | |||
|
907 | 907 | |
|
908 | 908 |
|
|
909 | 909 |
|
|
910 | ||
|
910 | '''Nota: Cambiar el signo de numpy.array(velocityX) cuando se intente procesar datos de BLTR''' | |
|
911 | 911 | data_output[0] = numpy.array(velocityX) #self.moving_average(numpy.array(velocityX) , N=1) |
|
912 | 912 | data_output[1] = numpy.array(velocityY) #self.moving_average(numpy.array(velocityY) , N=1) |
|
913 | 913 | data_output[2] = velocityV#FirstMoment |
@@ -916,6 +916,8 class FullSpectralAnalysis(Operation): | |||
|
916 | 916 | |
|
917 | 917 | dataOut.data_output=data_output |
|
918 | 918 | |
|
919 | print 'velocidad zonal', data_output[0] | |
|
920 | ||
|
919 | 921 | return |
|
920 | 922 | |
|
921 | 923 |
@@ -1,1 +1,1 | |||
|
1 | <Project description="Segundo Test" id="191" name="test01"><ReadUnit datatype="SpectraReader" id="1911" inputId="0" name="SpectraReader"><Operation id="19111" name="run" priority="1" type="self"><Parameter format="str" id="191111" name="datatype" value="SpectraReader" /><Parameter format="str" id="191112" name="path" value="/data/CLAIRE/CLAIRE_WINDS_2MHZ/DATA/pdataCLAIRE/Extra" /><Parameter format="date" id="191113" name="startDate" value="2018/02/23" /><Parameter format="date" id="191114" name="endDate" value="2018/02/23" /><Parameter format="time" id="191115" name="startTime" value="00:00:00" /><Parameter format="time" id="191116" name="endTime" value="03:59:50" /><Parameter format="int" id="191118" name="online" value="0" /><Parameter format="int" id="191119" name="walk" value="1" /></Operation><Operation id="19112" name="printInfo" priority="2" type="self" /><Operation id="19113" name="printNumberOfBlock" priority="3" type="self" /></ReadUnit><ProcUnit datatype="Parameters" id="1913" inputId="1912" name="ParametersProc"><Operation id="19131" name="run" priority="1" type="self" /><Operation id="19132" name="SpectralFilters" priority="2" type="other"><Parameter format="float" id="191321" name="PositiveLimit" value="1.5" /><Parameter format="float" id="191322" name="NegativeLimit" value="12.5" /></Operation><Operation id="19133" name="FullSpectralAnalysis" priority="3" type="other"><Parameter format="float" id="191331" name="SNRlimit" value="-16" /><Parameter format="float" id="191332" name="Xi01" value="1.500" /><Parameter format="float" id="191333" name="Xi02" value="1.500" /><Parameter format="float" id="191334" name="Xi12" value="0" /><Parameter format="float" id="191335" name="Eta01" value="0.875" /><Parameter format="float" id="191336" name="Eta02" value="-0.875" /><Parameter format="float" id="191337" name="Eta12" value="-1.750" /></Operation><Operation id="19134" name="WindProfilerPlot" priority="4" type="other"><Parameter format="int" id="191341" name="id" value="4" /><Parameter format="str" id="191342" name="wintitle" value="Wind Profiler" /><Parameter format="float" id="191343" name="xmin" value="0" /><Parameter format="float" id="191344" name="xmax" value="4" /><Parameter format="float" id="191345" name="ymin" value="0" /><Parameter format="int" id="191346" name="ymax" value="4" /><Parameter format="float" id="191347" name="zmin" value="-20" /><Parameter format="float" id="191348" name="zmax" value="20" /><Parameter format="float" id="191349" name="SNRmin" value="-20" /><Parameter format="float" id="191350" name="SNRmax" value="20" /><Parameter format="float" id="191351" name="zmin_ver" value="-200" /><Parameter format="float" id="191352" name="zmax_ver" value="200" /><Parameter format="float" id="191353" name="SNRthresh" value="-20" /><Parameter format="int" id="191354" name="save" value="1" /><Parameter format="str" id="191355" name="figpath" value="/data/CLAIRE/CLAIRE_WINDS_2MHZ/DATA/pdataCLAIRE/ImagenesTesis" /></Operation><Operation id="19135" name="ParamWriter" priority="5" type="other"><Parameter format="str" id="191351" name="path" value="/data/CLAIRE/CLAIRE_WINDS_2MHZ/DATA/pdataCLAIRE/ImagenesTesis" /><Parameter format="int" id="191352" name="blocksPerFile" value="500" /><Parameter format="list" id="191353" name="metadataList" value="heightList,timeZone,paramInterval" /><Parameter format="list" id="191354" name="dataList" value="data_output,utctime,utctimeInit" /></Operation></ProcUnit><ProcUnit datatype="SpectraProc" id="1912" inputId="1911" name="SpectraProc"><Operation id="19121" name="run" priority="1" type="self" /><Operation id="19122" name="setRadarFrequency" priority="2" type="self"><Parameter format="float" id="191221" name="frequency" value="445.09e6" /></Operation><Operation id="19123" name="setH0" priority="3" type="self"><Parameter format="float" id="191231" name="h0" value="0.500" /></Operation></ProcUnit></Project> No newline at end of file | |
|
1 | <Project description="ProcBLTR Test" id="191" name="test01"><ReadUnit datatype="BLTRSpectraReader" id="1911" inputId="0" name="BLTRSpectraReader"><Operation id="19111" name="run" priority="1" type="self"><Parameter format="str" id="191111" name="datatype" value="BLTRSpectraReader" /><Parameter format="str" id="191112" name="path" value="/data/BLTR/2018/enero" /><Parameter format="date" id="191113" name="startDate" value="2016/11/01" /><Parameter format="date" id="191114" name="endDate" value="2016/11/01" /><Parameter format="time" id="191115" name="startTime" value="0:00:00" /><Parameter format="time" id="191116" name="endTime" value="23:59:59" /><Parameter format="int" id="191118" name="walk" value="0" /><Parameter format="str" id="191119" name="ReadMode" value="1" /><Parameter format="int" id="191120" name="online" value="0" /></Operation></ReadUnit><ProcUnit datatype="Parameters" id="1913" inputId="1912" name="ParametersProc"><Operation id="19131" name="run" priority="1" type="self" /><Operation id="19132" name="FullSpectralAnalysis" priority="2" type="other"><Parameter format="float" id="191321" name="SNRlimit" value="2" /></Operation><Operation id="19133" name="WindProfilerPlot" priority="3" type="other"><Parameter format="int" id="191331" name="id" value="4" /><Parameter format="str" id="191332" name="wintitle" value="Wind Profiler" /><Parameter format="int" id="191333" name="zmin" value="-20" /><Parameter format="int" id="191334" name="zmax" value="20" /><Parameter format="float" id="191335" name="zmin_ver" value="-300" /><Parameter format="float" id="191336" name="zmax_ver" value="300" /><Parameter format="int" id="191337" name="SNRmin" value="-5" /><Parameter format="int" id="191338" name="SNRmax" value="30" /><Parameter format="float" id="191339" name="xmin" value="4" /><Parameter format="float" id="191340" name="xmax" value="9" /><Parameter format="float" id="191341" name="ymin" value="0" /><Parameter format="float" id="191342" name="ymax" value="4000" /><Parameter format="int" id="191343" name="save" value="1" /><Parameter format="str" id="191344" name="figpath" value="/data/CLAIRE/CLAIRE_WINDS_2MHZ/DATA/pdataCLAIRE/2018" /></Operation></ProcUnit><ProcUnit datatype="Spectra" id="1912" inputId="1911" name="SpectraProc"><Operation id="19121" name="run" priority="1" type="self" /><Operation id="19122" name="IncohInt" priority="2" type="other"><Parameter format="float" id="191221" name="n" value="2" /></Operation><Operation id="19123" name="removeDC" priority="3" type="self" /></ProcUnit></Project> No newline at end of file |
@@ -23,7 +23,8 controllerObj.setup(id='191', name='test01', description=desc) | |||
|
23 | 23 | readUnitConfObj = controllerObj.addReadUnit(datatype='BLTRSpectraReader', |
|
24 | 24 | #path='/media/erick/6F60F7113095A154/BLTR/', |
|
25 | 25 | #path='/data/BLTR', |
|
26 |
path='/ |
|
|
26 | path = '/data/BLTR/2018/enero', | |
|
27 | #path='/home/erick/Documents/Data/BLTR_Data/fdt/', | |
|
27 | 28 | endDate='2016/11/01', |
|
28 | 29 | startTime='0:00:00', |
|
29 | 30 | startDate='2016/11/01', |
@@ -117,10 +118,10 opObj22.addParameter(name='zmax_ver', value='300', format='float') | |||
|
117 | 118 | opObj22.addParameter(name='SNRmin', value='-5', format='int') |
|
118 | 119 | opObj22.addParameter(name='SNRmax', value='30', format='int') |
|
119 | 120 | # opObj22.addParameter(name='SNRthresh', value='-3.5', format='float') |
|
120 |
opObj22.addParameter(name='xmin', value=' |
|
|
121 |
opObj22.addParameter(name='xmax', value=' |
|
|
122 |
opObj22.addParameter(name='ymin', value=' |
|
|
123 |
|
|
|
121 | opObj22.addParameter(name='xmin', value='4', format='float') | |
|
122 | opObj22.addParameter(name='xmax', value='9', format='float') | |
|
123 | opObj22.addParameter(name='ymin', value='0', format='float') | |
|
124 | opObj22.addParameter(name='ymax', value='4000', format='float') | |
|
124 | 125 | opObj22.addParameter(name='save', value='1', format='int') |
|
125 | 126 | opObj22.addParameter(name='figpath', value=figpath, format='str') |
|
126 | 127 |
General Comments 0
You need to be logged in to leave comments.
Login now