Feature or improvement description
This pull request starts the process of converting from print, and the custom function printnow, to using python's logging modules. The code is based on FLORIS' implementation with a central logging_manager.py, however it has been somewhat refactored for FLASC:
1) Because there isn't a central FLASC object like there is for FLORIS, couldn't rely on external code to call the logging configuration functions with the input yaml instructions like you can with FLORIS, so the configuration is instead done by the LoggingManager class at init based on passed inputs
2) Based on printnow function, assumed the desired default formatting includes the timestamp
There's not too much left to do, but was curious to see what you think @misi9170 and @Bartdoekemeijer before going to much further. If you want to see what it looks like, example examples_artificial_data/01_raw_data_processing/01_northing_calibration.ipynb has logging outputs in it
Related issue, if one exists
Draft for now
Feature or improvement description This pull request starts the process of converting from print, and the custom function printnow, to using python's logging modules. The code is based on FLORIS' implementation with a central logging_manager.py, however it has been somewhat refactored for FLASC:
1) Because there isn't a central FLASC object like there is for FLORIS, couldn't rely on external code to call the logging configuration functions with the input yaml instructions like you can with FLORIS, so the configuration is instead done by the LoggingManager class at init based on passed inputs 2) Based on printnow function, assumed the desired default formatting includes the timestamp
There's not too much left to do, but was curious to see what you think @misi9170 and @Bartdoekemeijer before going to much further. If you want to see what it looks like, example examples_artificial_data/01_raw_data_processing/01_northing_calibration.ipynb has logging outputs in it Related issue, if one exists
135