Closed komazsofi closed 3 years ago
Does "D:/Sync/_Amsterdam/NextJob/LiDARPos_BangorU/interview/data//sim 24250500400127557.metric.txt" exist after the function is run? If so you can open it as a with read.csv as a workaround as we can't reproduce your problem.
Please, provide us the values of the variables wf
and outRoot
that you
are using so we can test here. Which is your R version, rGEDI version and
platform/OS?
Em qui., 14 de jan. de 2021 às 11:24, Zsófia Koma notifications@github.com escreveu:
Hi,
I have found that the gediWFMetrics() function which calculates the waveform metrics from ALS simulated data has most possibly a bug in the case of the exported name and the one that the function expects to read back into the memory.
als_metrics<-gediWFMetrics(
input = wf,
outRoot = file.path(outdir, paste("sim",pulse),sep=""))
Here is the error message:
Wave 1 of 1 Reading D:\Sync_Amsterdam\NextJob\LiDARPos_BangorU\interview\data\gediWF_simulation_24250500400127557.h5 Written to D:/Sync/_Amsterdam/NextJob/LiDARPos_BangorU/interview/data//sim 24250500400127557.metric.txt Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'D:/Sync/_Amsterdam/NextJob/LiDARPos_BangorU/interview/data/sim 24250500400127557..metric.txt': No such file or directory
Best, Zsófia
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/carlos-alberto-silva/rGEDI/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2H472SKLSSL7R4NJGS3BDSZ35BRANCNFSM4WCQEZVA .
Hi,
I have found that the gediWFMetrics() function which calculates the waveform metrics from ALS simulated data has most possibly a bug in the case of the exported name and the one that the function expects to read back into the memory.
Here is the error message:
Wave 1 of 1 Reading D:\Sync_Amsterdam\NextJob\LiDARPos_BangorU\interview\data\gediWF_simulation_24250500400127557.h5 Written to D:/Sync/_Amsterdam/NextJob/LiDARPos_BangorU/interview/data//sim 24250500400127557.metric.txt Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'D:/Sync/_Amsterdam/NextJob/LiDARPos_BangorU/interview/data/sim 24250500400127557..metric.txt': No such file or directory
Best, Zsófia