Project name: Tide Calendar
Project description: Retrieves tide data for a given station from NOAA - re-formats for display in a calendar
I am writing a script to extract public domain data from NOAA, specifically tide information, reformat the data, then display this information in a calendar.
Problem: If you follow the following link to the active script, you will see the desired output for the current month of December. All months of the year, whether 2002 or 2003, display as desired with the exception of January and February. January and February of both years are looping through multiple times (I think) and displaying the entire years tides in each calendar date, begining with the coresponding day with the date. I have also included a link to the full source code of the script.
Current test script in action - December with proper display :
Current test script in action showing problem area - January with improper display of tides.
Full source code for current test script:
I'm sure it's something quite simple, but I can't seem to figure it out. Thanks for any help.
Project description: Retrieves tide data for a given station from NOAA - re-formats for display in a calendar
I am writing a script to extract public domain data from NOAA, specifically tide information, reformat the data, then display this information in a calendar.
Problem: If you follow the following link to the active script, you will see the desired output for the current month of December. All months of the year, whether 2002 or 2003, display as desired with the exception of January and February. January and February of both years are looping through multiple times (I think) and displaying the entire years tides in each calendar date, begining with the coresponding day with the date. I have also included a link to the full source code of the script.
Current test script in action - December with proper display :
Current test script in action showing problem area - January with improper display of tides.
Full source code for current test script:
I'm sure it's something quite simple, but I can't seem to figure it out. Thanks for any help.