DeDop / dedop-core

DeDop is a User Configurable Tool for Processing Delay Doppler Altimeter Data.
http://dedop.org/
GNU General Public License v3.0
14 stars 8 forks source link

`dedop output compare` fails on windows with long file names #57

Open mark-ep opened 6 years ago

mark-ep commented 6 years ago

Expected behavior

running dedop output compare (or launching the comparison from DeDop Studio) launches the comparison notebook.

Actual behavior

The notebook fails to launch. In DeDop Studio, an error message is shown.

Steps to reproduce the issue

  1. Add a file with a long filename to the workspace
  2. Process with two configurations
  3. Attempt to compare the output files with each other

Specifications

DeDop 1.5.1, Windows 7.

mark-ep commented 6 years ago

this happens because the filename to which dedop attempts to save the comparison notebook file contains the filenames of both L1B files - if these are long, the combined filename is longer than the maximum length for a filename in windows. The error this causes doesn't make it obvious that this is the problem. Truncating the name of the comparison notebook should fix the problem