Jump to content
Ornithology Exchange

Louise de Raad

General Members
  • Content Count

  • Joined

  • Last visited

Community Reputation


Profile Information

  • Location
  • Country
    United Kingdom

Recent Profile Visitors

691 profile views
  1. Thanks Eldar, I am going to try this straight away (as well as the ggmap one you answered elsewhere) and will let you know how I get on! update - tried the updated FlightR and it worked for staging areas (not the ggmap one though, will put it in other post).
  2. Hi, I'm experiencing a strange error when I run the FLightR script with nParticles = 1e6 : > Staging <- stationary.migration.summary(Result, prob.cutoff = 0.8, min.stay = 4) Error in Potential_stat_periods[period, 1]:Potential_stat_periods[period, : NA/NaN argument I don't know what this means or how I can fix it, but the strange thing is I don't get this error when I run the script with nParticles = 1e4 (or fewer) particles ... But when I run it with 1e4 particles I get an unrealistic 20+ number of staging areas (we are looking for 0-4 staging areas at most)
  3. Hello partifecske, unfortunately I do not have an answer for you, I just wanted to add a very similar / the same (?) error I have recently been getting in the hope there will be an answer for both of us. > map.FLightR.ggmap(Result) Error in download.file(url, destfile = tmp, quiet = !messaging, mode = "wb") : cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=34.65,-8.191707&zoom=2&size=640x640&scale=2&maptype=terrain&language=en-EN&sensor=false' In addition: Warning message: In download.file(url, destfile = tmp, quiet =
  4. Depending on why you only have one calibration period (e.g. the tag died half way through, but you still recaptured the bird and retrieved the tag), you have to make some additional changes to the FlightR script: in the run.particle.filter function you may need to change "known.last=TRUE" to "known.last=FALSE" (because you won't know where the tag has died) and when you only have one calibration period, you also have to remove the model aging part in the make.calibration function: Calibration<-make.calibration(Proc.data, Calibration.periods, model.ageing = TRUE) I had the same issue
  5. Hiya, the coordinate file that is an output of the FlightR script shows latitude and longitude: when uploading these data to e.g. ArcMap, what geographic coordinate system should I specify (for a handheld GPS the default I usually choose is WGS 1984, but I'm not sure that is accurate for the FlightR output, as some of my known locations seem a bit far North? thanks Louise
  6. Hi, I'm at the stage of interpreting my results (after now having produced the beautiful maps). One thing that slightly troubles me is that, for most birds, the locations in Africa either side of the autumn equinox differ. I am wondering if this is real, or an artefact of the equinox. Most of the locations after the equinox are further S, but a couple are N. There is a similar effect for some birds in spring. I tried to insert some examples (lat-lon plot & map), but seem unable to insert pictures (unless they have a URL?) and I am unsure how to upload files (to my "media library") to attac
  7. Ok - so a colleague of mine found the answer. The error I was getting was: > map.FLightR.ggmap(Result) Error in mapproj::mapproject(x, y, projection = coord$projection, parameters = coord$params, : object 'C_setproj' not found Meaning the error was in the package called "mapproj" in the function mapproject. He looked up the mapproj package on github (https://github.com/cran/mapproj/blob/master/R/mapproj.r) and we removed the package from my library and re-installed it. >remove.packages("mapproj") >install.packages("mapproj") And this solved the problem. Still not su
  8. I have a number of tags that stopped working (at an unknown location) at some point, before the bird returned and the tag was retrieved. I have changed the Calibration.periods as follows: > Calibration.periods<-data.frame( + calibration.start=as.POSIXct(NA), # start of the second calibration period + calibration.stop=as.POSIXct(c("2013-08-05", NA)), # end of the first calibration period + lon=-4.37, lat=58.38) > print(Calibration.periods) calibration.start calibration.stop lon lat 1 <NA> 2013-08-05 -4.37 58.38 2 <NA> <NA> -4.37 58.38 and removed the model
  9. Hi Eldar, thanks for your tip. Indeed the .lux file was corrupted and had a range of NA values further down. The function worked ok for the other files.
  10. Hi Eldar, I saved all the output files, script and workspace to Dropbox and shared the folder with you. I hope you received the link. Thanks, Louise
  11. Hi Eldar, This is the result from sessionInfo() – thanks for that, I didn’t know how to do that! How do I “package” my result object to send to you? Thanks for your help, Louise (PS I can’t make new TAGS files at the moment – see other query on the forum about the LightImage function– or I would try on a few other bird - running the script from scratch, this particular bird has only one calibration period, but the same happened with my other result files) > sessionInfo() R version 3.4.2 (2017-09-28) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (bui
  12. I have run the LightImage function as part of the FLightR script many times without any issues, but recently it "stopped working". I have updated various packages, R studio and R versions, but I don't see why I'm now getting the error I do. > d.lux$Light<- log(d.lux$Light) > head(d.lux) Date Light 1 2013-04-20 15:14:01 6.302619 2 2013-04-20 15:19:01 5.159055 3 2013-04-20 15:24:01 5.257495 4 2013-04-20 15:29:01 5.594711 5 2013-04-20 15:34:01 5.181784 6 2013-04-20 15:39:01 4.663439 > lightImage(tagdata = d.lux, + offset = offset, + zlim = c(0, 12), # y axis + dt = 300) # re
  13. I have recently been getting an error when trying to map the FlightR results. I have re-installed and loaded the latest versions of packages: ggmap, ggplot2, RgoogMaps, maptools and grid (just in case this had anything to do with it). I even installed the latest version of ggmap from GitHub > install_github("dkahle/ggmap") as I read in some forum that the error would be resolved with version 2.7 .. but not so). > map.FLightR.ggmap(Result) Error in mapproj::mapproject(x, y, projection = coord$projection, parameters = coord$params, : object 'C_setproj' not found Any thoughts much
  • Create New...