jmurphy
Well-known member
Wow, those are really long filenames! This makes an excellent testChecked normalization data and... had to pick an output directly, it won't write the xnml file to the same folder as the source, apparently, so I wrote them to yet another folder.
Windows 10 has a limit on the maximum file path length of 260 characters. NSG can add a weight prefix and an '_nsg' postfix, and I think this was pushing the full filename over the limit. I believe it was this 260 limit that was preventing you from saving the files to the same folder as the source.
If you need filenames this long, I think you can change a setting in Windows 10 to allow long names:
Bug confirmed. Even if there is a OS limit to the maximum filename length, NSG should still be writing the full filename to the .xnml data files. Currently it is truncating them at 225 characters. A fix is on its way!Hmmm... I looked in the xnml file and see data like this:
Code:<xnml version="1.0" xmlns="http://www.pixinsight.com/xnml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.pixinsight.com/xnml http://pixinsight.com/xnml/xnml-1.0.xsd"> <CreationTime>2022-02-15T23:26:26.579Z</CreationTime> <ReferenceImage>T:/Stage/M82/cosmetized/Light_BIN-1_EXPOSURE-120.00s_FILTER-Luminance_Mono_GAIN-0_OFFSET-50_SET-TEMP--10.00C_MORNING-20220204/LIGHT_M 82(1)_2022-02-04_01-09-54_Luminance_120.00s_SET-TEMP_-10.00C_Gain_0_Offset_50_Bin_1x1_2800m</ReferenceImage> <TargetImage>T:/Stage/M82/cosmetized/Light_BIN-1_EXPOSURE-120.00s_FILTER-Luminance_Mono_GAIN-0_OFFSET-50_SET-TEMP--10.00C_MORNING-20220204/LIGHT_M 82(1)_2022-02-04_01-40-15_Luminance_120.00s_SET-TEMP_-10.00C_Gain_0_Offset_50_Bin_1x1_2800m</TargetImage>
The file names are badly truncated
The file name (picking up with Offset) looks like this:
Offset_50_bin_1x1_2800mm_-10.00C_0003_c_cc.xisf
The bolded part is not present in the file. NSG must have some kind of file name length limitation? Or file path, not sure which?
But I suspect that is the issue? Though I'm not at all sure why the integration worked with normalization if so.
Update: I don't know this is the root cause as NSG has a few more hours to run, but I did a star align again to a top level folder, then started NSG, and it's got the whole file name now, so it appears to be NSG has some path (not necessarily file) name length limit and is truncating the file names.
Will pick up in the morning after it runs, but if used with WBPP which can build really long paths, this can be a problem (assuming these file names are the actual problem I am having)
Thanks for reporting this
John Murphy