METEOPATH link getting lost
In some (admittedly weird) circumstances, the link between METEOPATH and STATION# is lost:
- in ~/.config/SLF/INIshell/inishell_config.xml, set last_panel_path to an invalid path (practically, this happens when the last remembered path was on a mounted drive that is not mounted anymore);
- open inishell, select meteoio application;
- in the [Input] section, select the CSV plugin. Select the METEOPATH field, do not enter anything in it;
- now select the SMET plugin;
- open the path selector for METEOPATH. It opens up at your CWD since the last remembered path is invalid;
- select a path different from CWD;
- now add a STATION key. Select a file -> it opens up a file selector at CWD instead of METEOPATH;
- moreover, when trying to build a relative path, it builds it relative to CWD instead of relative to METEOPATH, so the path+filename combination that will be generated (internally) in MeteoIO will be wrong
Of course, I found this when doing a demo... :-(
I guess that by selecting but not entering anything in METEOPATH for the CSV plugin we overwrite the base_path_ variable with an empty string and somehow it never recovers from there...