Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
counter = 1 | |
for n in range(362,800): | |
counter = counter + 2.5 | |
t=find("1505122022039.png") | |
click(t) | |
wait(5) | |
click(Location(round(1032+n+counter),86)) | |
wait(3) | |
if not exists("1505121767755.png"): | |
click(t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
his_columns = ['date_time', 'tp', 'dirp', 'sprp', 'tz', 'hm0', 'ti', 't1', | |
'tc', 'tdw2', 'tdw1', 'tpc', 'nu','eps','qp','ss','tref','tsea', | |
'bat'] | |
def read_his(filepath): | |
return pd.read_csv(filepath, names=his_columns, index_col=[0], parse_dates=[0]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Constants.au3> | |
; Run SeaDarQ | |
Run("C:\Program Files\SeaDarQ\SeaDarQ.exe") | |
; Wait till it's finished loading | |
Sleep(5000) | |
;Right Click Wave menu to set timer & interval | |
MouseClick ( "right", 689, 35) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from geopandas import GeoDataFrame | |
from shapely.geometry import Point | |
geometry = [Point(xy) for xy in zip(df.Lon, df.Lat)] | |
df = df.drop(['Lon', 'Lat'], axis=1) | |
crs = {'init': 'epsg:4326'} | |
geo_df = GeoDataFrame(df, crs=crs, geometry=geometry) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dictionary mapping file name to data contents | |
datawell_mappings = {'20':'heave_spectrum', | |
'21':'directional_spectrum', | |
'23':'spectrum_sync', | |
'25':'directional_spectral_parameters', | |
'26':'upcross_wave_statistics', | |
'28':'secondary_directional_spectrum', | |
'81':'sea_surface_temperature', | |
'82':'acoustic_current_meter', | |
'C1':'system_message', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from datetime import timedelta | |
def windows_timestamp_to_python_datetime(windows_timestamp): | |
return datetime(1601,1,1) + timedelta(microseconds=windows_timestamp/10) |
NewerOlder