Skip to content

dafoink/tidesToGoogleAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tidesToGoogleAPI

This project requires dotNetCore. You can download dotNetCore from Microsoft (https://dotnet.microsoft.com/download/dotnet-core) This should run on any machine that can run the .NET Core runtime. I have tested on Windows 10 and Ubuntu (Linux)

Usage: ./Tides.exe -beginDate <MM/dd/yyyy> -endDate <MM/dd/yyyy> -station -fileName <./filename.csv>

NOTE: the .EXE is located in the bin/Debug/net5.0 folder. This has initially been built for Windows 10. You would have to rebuild it if you want to run it for another operating system.

If you dont enter a filename, the data will display on the console.

You can get a station ID near you by going to NOAA's site: https://tidesandcurrents.noaa.gov/map/index.html

Example, to find the tides at the station near me for the entire year of 2021, I would enter:

./Tides.exe -beginDate 01/01/2021 -endDate 12/31/2021 -station 8654467 -fileName ./tidesOutputFile.csv

Where:

  • beginDate is the first day I want to get the tides (in this case 01/01/2021)
  • endDate is the last day I want to get tides (in this case 12/31/2021)
  • station is the location for getting the tides. The station closest to me on Hatteras Island is 8654467 (USCG Station Hatteras, NC)
  • fileName is where I want to output the information. I am saving it in the same folder I am executing Tides.exe and naming the file tidesOutputFile.csv

Once you have a file, then you can go to your Google Calendar and click on the "Settings and Sharing". Once in Settings, you will see "Import & Export". From here you can then upload the .CSV file to import the tides into your calendar.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages