Error Code 4 and 50- Nest Survival

announcements (new versions, changes, bugs, installation problems...) related to program MARK

Error Code 4 and 50- Nest Survival

Postby sergiodel90 » Fri Jun 14, 2019 5:13 am

Hi,
I am doing a research with Mark Program, specifically with Nest Survival. The problem that I have, it is each ocassion that I try to run the models is Error Code 4 and 50 appear. My data is the following:

Nest survival group=1;
110 129 131 0 1 3 66.2;
110 138 141 0 1 3 67.87;
110 138 143 0 1 3 75.56;
110 135 136 0 1 3 67.78;


And my errors are:

Error code 4 []
Subsysten: BASE
Function LOG
Argument 1116
Callstrack
MYTOPAPPPWN:APPENDOUTPUT (LINE35)
MYTOPAPPPWN:RUNMULTMODELSNT (LINE 147)
MYTOPAPPPWN:RUNMARKF (LINE891)
MYTOPAPPPWN:RUNMULTMODES(LINES 2)
APP:START (LINE 1116)

Error code 50[]
Subsysten: VO-CODE
Error subcode 5333
Argument 2
Callstrack
MYTOPAPPPWN:APPENDOUTPUT (LINE35)
MYTOPAPPPWN:RUNMULTMODELSNT (LINE 147)
MYTOPAPPPWN:RUNMARKF (LINE891)
MYTOPAPPPWN:RUNMULTMODES(LINES 2)
APP:START (LINE 1116)

I need help!!!!!!
Sergio
sergiodel90
 
Posts: 4
Joined: Thu Jun 13, 2019 5:49 am

Re: Error Code 4 and 50- Nest Survival

Postby B.K. Sandercock » Fri Jun 14, 2019 9:12 am

Sergio:

You may need to standardize the dates in the first three columns of your encounter histories. The nest survival model is expecting the earliest date that a nest was found to be set as day 1. If 110 is the earliest date in your file, subtract 109 from each of the three dates in your encounter histories. The latest date in your third column will be the duration of your nesting season, and you'll have to provide that information when you bring your encounter histories into Mark. If the fate code = 0, the last two dates should be the same but if the fate code = 1, the last two dates should bracket the timing of failure. You can use the attached snippet of R code to see if your encounter histories are formatted correctly.

Good luck, Brett.

Code: Select all
#  ERROR CHECKING OF FORMAT
# dates in raw data are from 110 to 143
# rescale from 1 to 34
nest$FirstFound = nest$FirstFound-109
nest$LastPresent = nest$LastPresent-109
nest$LastChecked = nest$LastChecked-109

# look at first and last occasions
# needs to be 1 for dataset
(min = min(nest$FirstFound)) 
# this gives maximum count for number of occasions
(occ = max(nest$LastChecked))

# check input for errors
nest$Error="No"
nest$Error[(nest$LastPresent-nest$FirstFound)<0] <- "Yes"
nest$Error[(nest$LastChecked-nest$LastPresent)<0] <- "Yes"
nest$Diff = nest$LastChecked-nest$LastPresent
nest$Error[nest$Fate==1 & nest$Diff<=0] <- "Yes"
nest$Error[nest$Fate==0 & nest$Diff!=0] <- "Yes"
# look at nests flagged with errors
(Error <- subset(nest, Error=="Yes"))
# drop errors if present
nest <- nest[which(nest$Error=='No'), ]
B.K. Sandercock
 
Posts: 48
Joined: Mon Jun 02, 2003 4:18 pm
Location: Norwegian Institute of Nature Research

Re: Error Code 4 and 50- Nest Survival

Postby sergiodel90 » Tue Jul 09, 2019 6:33 am

Thanks!

Now, I can continue working on my dataset.
sergiodel90
 
Posts: 4
Joined: Thu Jun 13, 2019 5:49 am


Return to software problems/news

Who is online

Users browsing this forum: No registered users and 12 guests

cron