You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to calculate the lake number index, but I could not load the data. I've used the example data headers (Sparkling) and I get the following error:
Error in utils :: read.table (fPath, sep = "\ t", header = TRUE, as.is = TRUE):
'file' must be a character string or connection
I used data.frame and this time data were loaded, but doing lake number calculation, it throws this error:
Error in layer.density (0, m.d [1], wtr.mat [i,], depths, bathy $ areas, bathy $ depths):
surface area cannot be zero, check bathymetry file
In addition: Warning messages:
1: In min (bthD): no non-missing arguments to min; returning Inf
2: In max (bthD): no non-missing arguments to max; returning -Inf
3: In max (bthD): no non-missing arguments to max; returning -Inf
I don´t know what to do, any recommendation will be very helpful.
Thank you very much.
The text was updated successfully, but these errors were encountered:
I had this same issue and formatted my data and ran the code exactly as it is in the extdata folder from the RLakeAnalyzer package and was able to get the data to run. There's probably an easier way to input your own data but I have it working for the time being!
I'm going to calculate the lake number index, but I could not load the data. I've used the example data headers (Sparkling) and I get the following error:
Error in utils :: read.table (fPath, sep = "\ t", header = TRUE, as.is = TRUE):
'file' must be a character string or connection
I used data.frame and this time data were loaded, but doing lake number calculation, it throws this error:
Error in layer.density (0, m.d [1], wtr.mat [i,], depths, bathy $ areas, bathy $ depths):
surface area cannot be zero, check bathymetry file
In addition: Warning messages:
1: In min (bthD): no non-missing arguments to min; returning Inf
2: In max (bthD): no non-missing arguments to max; returning -Inf
3: In max (bthD): no non-missing arguments to max; returning -Inf
I don´t know what to do, any recommendation will be very helpful.
Thank you very much.
The text was updated successfully, but these errors were encountered: