Displaying 2 results from an estimated 2 matches for "lyear".
Did you mean:
year
2011 Feb 28
0
MultiDimensional arrays
...Eden_2000_2009.nc")
v2 <- woodstorks$var[[2]] # longname
"probability_of_successful_foraging_cycle_daily"
DaysToMonth365 <- c(0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334,
365)
DaysToMonth366 <- c(0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335,
366)
Lyear <- isLeapYear(2000:2009) # returns boolean vector TRUE FALSE for
years in sequence
start_year<- 1999 # we process 11 years with 265 daily data records in
a 287 x 405 row x column map.
for(t in 1:11) {
currentYear = start_year + t
leapYear <- isLeapYear(currentYear:currentYea...
2011 Mar 26
0
NetCDF - rolling means and StdDev
...;WoodStork_Eden_2000_2009.nc")
print(woodstorks)
print(v2)
# next two lines create index values for temporal sequences.
DaysToMonth365 <- c(0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334,
365)
DaysToMonth366 <- c(0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335,
366)
Lyear <- isLeapYear(2000:2009) # returns boolean TRUE FALSE vector for
years in sequence
# next function is used latter in script see line 50
processMonth<-function(x){
print(x)
}
start_year<- 1999
# initiates 1 year before to capture December of correct year, next line
us...