sofarocean / sofar-api-client-python

Python Client for Wavefleet
Apache License 2.0
7 stars 5 forks source link

Add missing latest data fields #36

Closed tcj closed 1 year ago

tcj commented 1 year ago

Add partition, sea surface temperature, and barometer data to latest_data and Spotter object.

tcj commented 1 year ago

Tested using cycle_check:

% python3 cycle_check.py --list
INFO:root:listing... (times are in UTC)
spotid               | latestdata_time      | check_result         | checked_at           | added_at             | removed_at          
SPOT-1538            | 2023-05-31 22:56:10  | t                    | 2023-05-31 23:18:07  | 2023-05-16 05:44:00  | None                
SPOT-30170C          | None                 | None                 | None                 | 2023-05-16 05:44:00  | 2023-05-16 06:23:44 
SPOT-30977C          | 2023-05-08 02:34:31  | w,t,b,s              | 2023-05-31 23:18:08  | 2023-05-16 05:44:00  | None                
SPOT-1706            | 2023-05-31 22:53:31  | w,t                  | 2023-05-31 23:18:08  | 2023-05-16 06:09:35  | None                
SPOT-1528            | 2023-05-31 22:45:01  | w,t,p                | 2023-05-31 23:18:09  | 2023-05-31 23:16:14  | None    
tcj commented 1 year ago

Minor not important comment

Updated comments to address this

tcj commented 1 year ago

Added missing wind data also