You will need a credentials.py
file that looks something like:
access_token = '15CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCxy'
access_token_secret = 'gcJCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCRC'
api_key = "tuCCCCCCCCCCCCCCCyK"
api_key_secret = "IkCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC5rU1"
bearer_token = "AAAAACCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCTGqPLEhhfIZiai"
Every now and then go to: https://erddap.marine.ie/erddap/tabledap/IMI-TidePrediction.html
Download a csv
with the latest predictions for "Dublin_Port" as far out as the interface will allow.
Then rerun gethightides.py
as follows:
gethightides.py inputfile