Search the Community
Showing results for tags 'GLS'.
Hi, I am analysing GLS data and got errors using lightImage() and preprocessLight() functions. The error I get is following (actually the same for both cases): TwGeos::lightImage(raw, offset = offset, zlim = c(0, 64), main = gls_sel) Error in if (as.numeric(tmin) > as.numeric(date)) tmin <- tmin - 24 * : argument is of length zero twl <- preprocessLight(raw, threshold = threshold, offset = offset, lmax = 64, # max. light value gr.Device = "x11") Error in if (as.numeric(tmin) > as.numeric(date)) tmin <- tmin - 24 * : argument is of length zero In addition: Warning messages: 1: In min(tagdata$Date) : no non-missing arguments to min; returning Inf 2: In max(tagdata$Date) : no non-missing arguments to max; returning -Inf I was able to get the lightImage at the beginning, but later for some reason I only got the error message. Interestingly, I can plot the light image using the tsimage() function with the same data: tsimage(date = raw$dtime, y = raw$lig, offset = offset, ylab = "Hour local [GMT + 10h]", main = gls_sel) I tried it on three versions of R (3.6.3, 4.0.2, 4.1.0) on different computers all running on Mac, also on data from different tracks, getting the same error message. Would be very thankful if you could help me to find out what may cause the errors. Zuzana
I am using FLightR (ver.0.4.5) to process light-level data from Migrate Technology GLS deployed on burrow nesting seabirds. Most GLS were deployed directly on the birds with no calibration period on the island where they nest. However, I kept a subset of different GLS near to the location where GLS were deployed on birds (i.e. within 20 km) in an open location, without artificial light and without any foliage shading, for 1 week. Of course, we know the location of the burrows, and those coordinates could be used as a calibration location, but the problem is that these birds go long distances (up to several hundred km) between attending their burrow and they only come and go from their burrows during dark hours of the night. The birds are long distance travelers and can be a long way from the colony by the time the sun rises. Therefore, as I see it, light-levels of the device would not correspond well with the actual light levels at the calibration location if I used the colony site as the calibration location. I would appreciate any advice on how best to deal with calibration in FLightR based on this scenario. Cheers, Luke