[ ] This issue is present in the most recent code (i.e. after running git pull this is still a problem).
Found in 15825ba9(?).
Step 2: Describe your environment
irfu-matlab branch (e.g. master, devel): devel
Matlab version used (e.g. Matlab R2020b): MATLAB R2019b
Operating system (e.g. Windows 10, Mac OS X 10.15.6, Linux Ubuntu 20.04): Ubuntu 20.04.5 LTS
[X] A 64-bit installation of Matlab was used.
Step 3: Describe the problem
Crashes when making the call solo.qli.quicklooks_main_cron('/nonhome_data/work_files//SOLAR_ORBITER/irfu-matlab_qli/mission/solar_orbiter/+solo/irf_logo.png', '/data/solo/data_yuri/', '/home/erjo/temp/so_qli/so_qli_MTEST.2022-09-12_10.41.21.1_1_2022-08-08T00:00:00---2022-08-09T00:00:00', '1', '1', '2022-08-08T00:00:00', '2022-08-09T00:00:00');.
SPICE/MICE is OK
IRBEM .. not OK. Please contact IRFU if you need IRBEM for your intended use of irfu-matlab!
Operating system is OK
Matlab version is OK
CDF_LEAPSECONDSTABLE is OK
saving caching status
DB caching enabled
exception.message=No cdf files specified
dataobj, row 72
rcdf, row 229
read_TNR, row 53
quicklooks_24_6_2_h, row 203
quicklooks_24_6_2_h_local, row 314
quicklooks_main, row 151
quicklooks_main_cron, row 55
The reason is that solo.read_TNR()(via rcdf()) looks up "solo_L2_rpw-tnr-surv-cdag" files through explicit paths but does not have any functionality for handling the file not being found. Presumably, the same code is not called when isempty(data.Etnr) (solo.qli.quicklooks_24_6_2_h()), ths avoiding many (but not all) failure (@ErikPGJ's guess).
I have a temporary/final(?) bugfix for this in bc8b504b. But it seems ugly.
Step 1: Latest code?
git pull
this is still a problem). Found in 15825ba9(?).Step 2: Describe your environment
master
,devel
): develMatlab R2020b
): MATLAB R2019bWindows 10
,Mac OS X 10.15.6
,Linux Ubuntu 20.04
): Ubuntu 20.04.5 LTSStep 3: Describe the problem
Crashes when making the call
solo.qli.quicklooks_main_cron('/nonhome_data/work_files//SOLAR_ORBITER/irfu-matlab_qli/mission/solar_orbiter/+solo/irf_logo.png', '/data/solo/data_yuri/', '/home/erjo/temp/so_qli/so_qli_MTEST.2022-09-12_10.41.21.1_1_2022-08-08T00:00:00---2022-08-09T00:00:00', '1', '1', '2022-08-08T00:00:00', '2022-08-09T00:00:00');
.The reason is that
solo.read_TNR()
(viarcdf()
) looks up "solo_L2_rpw-tnr-surv-cdag" files through explicit paths but does not have any functionality for handling the file not being found. Presumably, the same code is not called whenisempty(data.Etnr)
(solo.qli.quicklooks_24_6_2_h()
), ths avoiding many (but not all) failure (@ErikPGJ's guess).I have a temporary/final(?) bugfix for this in bc8b504b. But it seems ugly.