Closed mrs98 closed 4 years ago
Hi @mrs98, thanks for reporting your issue.
I had a look and, the name of the file in the metadata does not match "Wheatear Compiled.txt"
in metadata vs "Wheater.Compiled.txt"
in the file system.
It would make your life a lot easier if you did not use space in filenames, so i suggest changing the metatada entries to "Wheater.Compiled.txt"
(rather than renaming the file). (note that you also have "Wheater" vs "Wheatear")
It is possible that your original file name had a spae, but github also hate spaces as it serves your file on https://github.com/rethomics/damr/files/4858315/Wheater.Compiled.txt
, which cannot contain a space either.
I am able to go further but then when I load the data:
library(damr)
DATA_DIR = ("./")
metadata = link_dam_metadata("metadata.txt", result_dir = DATA_DIR)
dt = load_dam(metadata)
However, I run into another issue:
Error in find_dam_first_last_lines(path, start_datetime, stop_datetime, :
No data in selected date range
This is related to how your DAMS result file is formated. We should open a new issue just for that. TBC
so regarding not being able to find any data (after you fixed the first hurdle). your issue is similar to #26. this is because the format of DAM text file is inconsistent... I will update on #26. closing this issue
Hello! I succesfully completed the tutorial for this package, but am running into trouble at the load_dam command while trying to use my own data. I am hoping somebody can help, because I'm currently stumped:
Wheater Compiled.txt metadata.txt