Re: [R] MODISTools Help

2017-06-23 Thread Caroline
In case anyone else experiences the same error: The package creators responded and the issue was that I was using time frames between 14-30 days. EVI and NDVI are only calculated every 16 days so using that time span entailed that there was only one pixel per observation. I expanded my timefra

Re: [R] MODISTools Help

2017-06-23 Thread Robert Baer
On 6/22/2017 7:05 PM, Caroline wrote: ##MODISTools example library(MODISTools) library(lubridate) setwd('~/Documents/Modis data') #MODISTools with buffalo data ###Read in data rename for easier coding tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv') Since this dataset is only

Re: [R] MODISTools help - with reproducible examples

2017-06-23 Thread Caroline
In case anyone else experiences the same error: The package creators responded and the issue was that I was using time frames between 14-30 days. EVI and NDVI are only calculated every 16 days so using that time span entailed that there was only one pixel per observation. I expanded my timefram

Re: [R] MODISTools help - with reproducible examples

2017-06-23 Thread Jeff Newmiller
Please read up [1][2][3] on what constitutes reproducibility. A sample of data that triggers the problem is essential. [1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example [2] http://adv-r.had.co.nz/Reproducibility.html [3] https://cran.r-project.org/web/

Re: [R] MODISTools help - with reproducible examples

2017-06-23 Thread Caroline
I have and they have not yet replied - however that was only two or three days ago. I have included a code example. > On Jun 22, 2017, at 8:25 PM, David Winsemius wrote: > >> >> On Jun 22, 2017, at 4:44 PM, Caroline >> wrote: >> >> I am using the R-package MODISTools (different than MODIS

Re: [R] MODISTools help - with reproducible examples

2017-06-22 Thread David Winsemius
> On Jun 22, 2017, at 4:44 PM, Caroline > wrote: > > I am using the R-package MODISTools (different than MODIS) and am having a > lot of difficulty troubleshooting my code. I have spent awhile going through > MODISTools tutorials, searching for my error code, looking at the source > code. Ho

[R] MODISTools help - with reproducible examples

2017-06-22 Thread Caroline
I am using the R-package MODISTools (different than MODIS) and am having a lot of difficulty troubleshooting my code. I have spent awhile going through MODISTools tutorials, searching for my error code, looking at the source code. However, I have not been able to find any relevant information re

Re: [R] MODISTools Help

2017-06-22 Thread Caroline
##MODISTools example library(MODISTools) library(lubridate) setwd('~/Documents/Modis data') #MODISTools with buffalo data ###Read in data rename for easier coding tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv') firstobs <- subset(tbdata, capture.ID == 'B1-1108') firstobs <- firs

Re: [R] MODISTools Help

2017-06-22 Thread Bert Gunter
1. You should always cc the list unless there is a clear reason not to. 2. You still have failed to follow the posting guide: You say you have difficulty troubleshooting your code, but you have shown us no code. You got an error message that seems explicit, but with neither code nor data, I do not

Re: [R] MODISTools Help

2017-06-22 Thread Bert Gunter
This is a specialized package that fairly few of us are likely to have familiarity with, especialy when you have not followed the posting guide (below) and posted code and a reproducible example. That said, a web search on R MODIS appeared to bring up relevant hits, including a MODIS tutorial. Hav

[R] MODISTools Help

2017-06-22 Thread Caroline
I am using MODIS Tools and am having a lot of difficulty troubleshooting my code. I am a PhD student studying African buffalo in Kruger National Park, South Africa. The study I am currently working on involves a herd of 200 African buffalo caught every six months for 4 years. I am trying to us