Closed chasapis closed 3 years ago
Dear @chasapis, following @vaivads e-mail (dated 2020-10-14T05:42) I have sent an invitation to your user which should allow you to merge this now.
I have but one comment for this lookup (perhaps it is better to use a dir("filename_v*.cdf") and then select to load only the highest file version number found instead of looping through all possible numbers. But I am not at all familiar with PSP and it file naming (perhaps there is some compatibility between versions to take into consideration).
-- Edit: Ah, now I saw you managed to merge it while I was writing this.. Then it is all good. :)
You are correct, a dir is best, the current solution is very clunky. I'll update it with a dir instead when i get the chance.
added a version check loop. It loads the highest version found Starts from 00 and goes up to 20 (update in the future if needed). Gives warning if there are multiple versions - only one file version should be in the servers.