add do_retrieve

server
esea_info 3 years ago
parent d45df33b25
commit 1f69d4ac92
  1. 1419
      AWRAMS0.py
  2. 34
      awrams.py
  3. BIN
      data/2022/8/17/17/0.bin
  4. BIN
      data/2022/8/17/17/1.bin
  5. BIN
      data/2022/8/17/17/2.bin
  6. 6
      data/2022/8/17/17/2022_8_17_12_20_13.csv
  7. 35
      data/2022/8/17/17/2022_8_17_12_20_13_info.txt
  8. BIN
      data/2022/8/17/17/3.bin
  9. BIN
      data/2022/8/17/17/4.bin
  10. BIN
      data/2022/8/17/17/info.bin
  11. BIN
      data/2022/8/17/17/pic.jpg

File diff suppressed because it is too large Load Diff

@ -348,6 +348,7 @@ class AWRAMS(object):
def __init__(self, ):
"""
@description : 手持数据初始化
receive --> deal() 调用 dealOneMeasurement_Online()
"""
self.device_type = DeviceType.AWRAMS.name
self.device_enum = None
@ -747,7 +748,38 @@ class AWRAMS(object):
save_path_csv.write_text(header+data_str)
path_info_txt = self.new_folder.joinpath( time_name + "_info.txt" )
self.save_dict_to_file( self.info_dict, path_info_txt )
self.save_dict_to_file( self.info_dict, path_info_txt )
self.do_retrieve()
def do_retrieve(self, ) -> None:
'''反演参数并保存 self.res'''
PAR_400_700 = self.get_par_400_700()
PAR_350_950 = self.get_par_350_950()
chl = self.get_chl()
cdom = self.get_CDOM()
pass
def get_par_400_700(self, ) -> float:
'''反演参数并保存 基于self.res'''
return 0.0
pass
def get_par_350_950(self, ) -> float:
'''反演参数并保存 基于self.res'''
return 0.0
pass
def get_chl(self, ) -> float:
'''反演参数并保存 基于self.res'''
return 0.0
pass
def get_CDOM(self, ) -> float:
'''反演参数并保存 基于self.res'''
return 0.0
pass
def appendSave(self, ) -> bool:
'''self.output_path'''

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

@ -0,0 +1,35 @@
time : 2022-8-17 12:20:13
year : 22
month : 8
day : 17
hour : 12
minute : 20
second : 13
Roll : 55825
Pitch : 50273
Yaw : 58795
Hx : 64383
Hy : 51
Hz : 4078
lon : 0
lat : 0
satelite_num : 0
PDOP : 0
HDOP : 0
VDOP : 0
Temperature : 61036
Humidity : 100
Battery : 0
ErrorCode : 0
Azimuth : 16594
RunAngle : 3094
MeasuyeGroupNum : 0
Tiltx : 0.0
Tilty : 0.0
Depth : 0.0
Sensor1 : 0
Sensor2 : 0
Sensor3 : 0
Measure_Num : 0
Measure_Interval : 0
Measure_Repeat : 0

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Loading…
Cancel
Save