While profiling baler with codecarbon, the profiling logs can be stored as a .CSV file. This PR creates plots from the .CSVlog file for better visualization of the energy profiles.
For a sample .CSV as shown below
The PR plots figures as
These plots are stored at the location workspaces/CFD_workspace/CFD_project_animation/output/profiling
I have created an empty folder profiling under the output directory and added a .gitkeep
~However it seems that the empty profiling folder is still getting ignored and not being pushed into GitHub. For now, this PR can be reviewed by explicitly creating the profiling folder but this needs to be fixed in the .gitignore which I am unable to figure out and I need help.~
The .gitignore present in the root of baler directory has some issues. It is not ignoring as intended, in particular, if we add new contents/folders/files inside the workspaces directory. I fixed the above mentioned strikethrough issue by directly making an empty folder named profiling with a .gitkeep inside and committed the changes on GitHub itself.
However the same doesn't seem to work when I do it locally. Git cannot track the empty folder and cannot push the empty folder into GitHub. Making changes to the .gitignore also doesn't seem to work.
While profiling baler with codecarbon, the profiling logs can be stored as a
.CSV
file. This PR creates plots from the.CSV
log file for better visualization of the energy profiles.For a sample
.CSV
as shown belowThe PR plots figures as
These plots are stored at the location
workspaces/CFD_workspace/CFD_project_animation/output/profiling
I have created an empty folderprofiling
under theoutput
directory and added a.gitkeep
~However it seems that the empty
profiling
folder is still getting ignored and not being pushed into GitHub. For now, this PR can be reviewed by explicitly creating theprofiling
folder but this needs to be fixed in the.gitignore
which I am unable to figure out and I need help.~The
.gitignore
present in the root of baler directory has some issues. It is not ignoring as intended, in particular, if we add new contents/folders/files inside theworkspaces
directory. I fixed the above mentioned strikethrough issue by directly making an empty folder namedprofiling
with a.gitkeep
inside and committed the changes on GitHub itself. However the same doesn't seem to work when I do it locally. Git cannot track the empty folder and cannot push the empty folder into GitHub. Making changes to the.gitignore
also doesn't seem to work.