Hi
In planning our club paddles, I print off a copy of your Current Atlas Lookup Tables for the year.
Then, I use highlighting pens to mark up the tables, based upon whether currents will be strong, moderate or light.
For example, pages 1 through 8 indicate a strong flood, so I would mark these up with pink.
Pages 9 through 15 are moderate, so I would mark these up with yellow.
Pages 16 through 21 are light, so I would mark these up with green.
And similar with the ebb pages.
Doing this takes some time, but I end up with a much more visual indication of when to plan our paddles, and what to expect from currents.
In your calculate.py code, you initialize data for each of the pages as follows:
flood_30_info = { 'pages' : [1,2,3,4,5,6,7,8],
'cycles': 1.0259 }
flood_18_info = { 'pages' : [9,10,11,12,13,14,15],
'cycles': 1.0516 }
flood_06_info = { 'pages' : [16,17,18,19,20,21],
'cycles': 1.0558 }
ebb_30_info = { 'pages' : [22,23,24,25,26,27,28,29],
'cycles': 1.0576 }
ebb_18_info = { 'pages' : [30,31,32,33,34,35,36] ,
'cycles': 1.0174 }
ebb_12_info = { 'pages' : [37,38,39,40,41,42,43] ,
'cycles': 1.1756 }
This seems to be a good place to add a background colour during initialization.
Then propagate it later during HTML formatting in format.py.
Python is not my strongest skill. I imagine I would spend many hours trying to get this working.
If you are entertaining enhancements, I would like to ask that you create HTML output with pink/yellow/green background behind each of the page numbers as described.
Kind regards
Gary