Jump to content


Photo

Warnings when using 1 calibration period (no model ageing)?

FlightR Calibration

  • Please log in to reply
1 reply to this topic

#1 Louise de Raad

Louise de Raad
  • General Members
  • 13 posts
  • Inverness,
  • United Kingdom

Posted 25 October 2017 - 01:37 AM

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.ageing part from the make.calibration function:

> Calibration<-make.calibration(Proc.data, Calibration.periods, model.ageing = FALSE)
dusk 191 was excluded from the calibration
calibration method used: parametric.slope
likelihood correction switched to TRUE
dusk 189 was excluded from the calibration
calibration method used: parametric.slope
dusk 188 was excluded from the calibration
calibration method used: parametric.slope
estimating correction function...
There were 50 or more warnings (use warnings() to see the first 50)

 

This resulted in loads of warnings (see below). Is this normal, do I just proceed? What do they mean?

 

> warnings()
Warning messages:
1: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
2: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
3: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
4: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
5: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
6: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
7: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
8: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
9: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
10: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
11: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
12: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
13: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
14: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
15: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
16: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
17: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
18: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
19: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
20: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
21: In log(cur.slope$slope) : NaNs produced
22: In log(All.slopes$Slopes$Slope) : NaNs produced
23: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
24: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
25: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
26: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
27: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
28: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
29: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
30: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
31: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
32: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
33: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
34: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
35: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
36: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
37: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
38: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
39: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
40: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
41: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
42: In is.na(Last.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'
43: In log(cur.slope$slope) : NaNs produced
44: In log(All.slopes$Slopes$Slope) : NaNs produced
45: In log(all.slopes$Slopes$Slope) : NaNs produced
46: In log(Slope) : NaNs produced
47: In log(Slope) : NaNs produced
48: In log(Slope) : NaNs produced
49: In log(Slope) : NaNs produced
50: In is.na(First.LogIrrad) :
is.na() applied to non-(list or vector) of type 'NULL'

 

Thanks

Louise

 

 



#2 Eldar

Eldar
  • General Members
  • 47 posts
  • Netherlands,
  • Netherlands

Posted 30 October 2017 - 02:32 PM

  Hi Louise,

 You should have deleted second NA, something like:

Calibration.periods<-data.frame(
 calibration.start=NA, # start of the second calibration period
 calibration.stop=as.POSIXct("2013-08-05") # end of the first calibration period
 lon=-4.37, lat=58.38)

Cheers,

  Eldar







Also tagged with one or more of these keywords: FlightR, Calibration

0 user(s) are reading this topic

0 members(s), 0 guests(s) and 0 anonymous member(s)