tinawunderlich / MultichannelGPR

A collection of MATLAB scripts for proccesing and visualization of (Multichannel) GPR data
GNU General Public License v3.0
9 stars 0 forks source link

Problem finding .temp files #1

Open lrverdon opened 17 hours ago

lrverdon commented 17 hours ago

When following the Tutorial as part of the JOSS review (https://github.com/openjournals/joss-reviews/issues/6767), in different steps of the tutorial, I had problems with the .temp files which the system could not find, e.g. when running the scripts 'DZT_convert.m' (dzt.temp), 'processing.m', 'Radargrams2bins.m', 'make_timeslices.m' (temp.temp), 'saveFigures.m' (radtemp.temp). This occurred during different tests on different computers, but did not occur after I had removed a previous version of MultichannelGPR which had been in the Matlab Search Path. If more information is available on what may cause this (older version of MultichannelGPR in the search path?), it may be useful to mention this in the documentation to remind the users.

I ran the tests on PCs with Windows 10 Pro 64 bits, Version 22H2

tinawunderlich commented 5 hours ago

Thank you for testing this. Unfortunately, this is an issue not easy to solve. The .temp-files are saved for remembering the last given folder so that when you run a script multiple times you do not need to click through the complete folder structure. Normally I am working on a Mac, but at some point I was forced to use a Windows PC for programming. At this specific PC it occured that there was a problem with creating/reading these files as there seems to be a special thing on how to create hidden files. Unfortunately I cannot use that PC anymore. At that point I added the "if ispc..." part in the beginning when reading/creating the temp files. Obviously, some Windows versions have a problem with this. I'll think about this problem and how to solve it in the next few days. There is already a small hint in the Troubleshooting-part of the Wiki, but maybe I should post it more pronounced, and also in the Tutorial. I'll come back to this issue...

tinawunderlich commented 3 hours ago

For me to better understand the problem, could you reproduce the error and post the error message? Thanks!