From 5da57f7f98246a28a8e4211363e14c4682d4d5e9 Mon Sep 17 00:00:00 2001 From: Calum Meikle Date: Tue, 12 Nov 2024 11:58:22 +0100 Subject: [PATCH] Updated gantt chart --- docs/project-management/gantt.py | 33 ++++++++++++++++++++++++++++++++ requirements.txt | 1 + 2 files changed, 34 insertions(+) create mode 100644 docs/project-management/gantt.py diff --git a/docs/project-management/gantt.py b/docs/project-management/gantt.py new file mode 100644 index 00000000..8ecb5767 --- /dev/null +++ b/docs/project-management/gantt.py @@ -0,0 +1,33 @@ +import plotly.figure_factory as ff + + + +df = [ + dict(Task="Viirs base processor", Start='2024-08-01', Finish='2024-09-30', Resource='Complete'), + dict(Task="Add pytests for already created functions (3-9)", Start='2024-08-01', Finish='2024-12-31', Resource='Incomplete'), + dict(Task="Tropomi base processor", Start='2024-08-01', Finish='2024-11-28', Resource='Incomplete'), + dict(Task="Tropomi to_plumes functionality (11)", Start='2024-12-01', Finish='2024-12-31', Resource='Not Started'), + dict(Task="Time evaluation statistics (18)", Start='2024-11-01', Finish='2024-11-28', Resource='Incomplete'), + dict(Task="Test DA implementation for VIIRS", Start='2024-11-11', Finish='2024-11-28', Resource='Not Started'), + dict(Task="Cloudsat processor", Start='2024-11-01', Finish='2024-11-28', Resource='Incomplete'), + dict(Task="Creating Grid Config for rotated and regular global grids (14)", Start='2024-11-18', Finish='2024-11-28', Resource='Not Started'), + dict(Task="Add original indices of the data to the outputted netcdf (13)", Start='2025-01-01', Finish='2025-01-14', Resource='Not Started'), + dict(Task="Add history to the (10)", Start='2025-01-01', Finish='2025-01-14', Resource='Not Started'), + dict(Task="Change variable names to IODA variables (17)", Start='2024-12-01', Finish='2025-01-14', Resource='Not Started'), + dict(Task="Update grid representations to include Vertical profiling (20)", Start='2024-12-01', Finish='2025-01-14', Resource='Not Started') +] + + + +colors = {'Not Started': 'rgb(220, 0, 0)', + 'Incomplete': (1, 0.9, 0.16), + 'Complete': 'rgb(0, 255, 100)'} + + + +fig = ff.create_gantt(df, colors=colors, index_col='Resource', show_colorbar=True, + group_tasks=True) + + + +fig.show() \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 2613cd0c..e7a51743 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,6 +28,7 @@ packaging==24.1 pandas==2.0.3 partd==1.4.1 pillow==10.4.0 +plotly==5.24.1 pluggy==1.5.0 pyparsing==3.1.4 pyproj==3.5.0 -- GitLab