Closed ccrook closed 11 months ago
Partially (and crudely) implemented as a "quick fix" in version 2.8.3. Support is limited to the coordinate files, data files, and command/config files.
Filenames with spaces are quoted in the command file, eg:
data_file "data files/distance obs.dat"
Supported is limited in that:
There may be other limitations not yet identified!
Issue raised by @mermy where SNAP cannot handle spaces in filenames or directories.
At first sight it looks like amending SNAP to handle spaces in filenames is a major exercise, more a rewrite. However this is largely a parsing issue with the historical use of the C library function strtok (something like 170 uses in 40 files?)
But it may be possible in the short time to write a plugin replacement for strtok that handles "some text with spaces" in the same way as strtok doesn't. In which case a "good enough" solution for the short term could work. Would need to assess impact on other potential issues, such as " in valid strings.