issue with the quicklook quality check UnboundLocalError: local variable 'date' referenced before assignment
@mvanhove I get this error bellow concerning the quicklook quality check
Traceback (most recent call last):
File "/home/eprofile/eprofile/script/stratfinder/qc-sf-python/plot_daily.py", line 160, in <module>
sys.exit(main())
File "/home/jupyterweb/python_envs/pangeo/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/jupyterweb/python_envs/pangeo/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/jupyterweb/python_envs/pangeo/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/jupyterweb/python_envs/pangeo/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/eprofile/eprofile/script/stratfinder/qc-sf-python/plot_daily.py", line 82, in main
date = date(
UnboundLocalError: local variable 'date' referenced before assignment
you can see bellow this error
/home/jupyterweb/python_envs/pangeo/bin/python /home/eprofile/eprofile/script/stratfinder/qc-sf-python/plot_daily.py /bdd/E-PROFILE/L2A/falkenberg/2023/2023_02_12/eprofile_L2A_STRATFINDER_falkenberg_chm15k-0_v01_20230212.nc /bdd/E-PROFILE/L2B/falkenberg/2023/2023_02_12/eprofile_L2B_STRATFINDER_falkenberg_chm15k-0_v01_20230212.nc /bdd/E-PROFILE/QL/falkenberg/2023/2023_02_12/eprofile_L2QC_STRATFINDER_falkenberg_chm15k-0_v01_20230212.png