search for: mon2

Displaying 5 results from an estimated 5 matches for "mon2".

Did you mean: mon
2006 Nov 20
2
problem with loop to put data into array with missing data for some files
...data.out <- list(lats=seq(88.542, -88.542, length=94), lons=seq(0, 360-1.875, length=192), date=vector(length=months), data=array(NA, c(months, 94*192)) ) #the loop for(yr in 1:nyrs){ for(mon in 1:12){ i<- startyr+yr if(mon < 10) {j <- 0} if(mon < 10) {mon2 <- mon} if(mon == 10) {(j <- 1)} if(mon == 10) {mon2 <- 0} if(mon == 11) {(j <- 1)} if(mon == 11) {mon2 <- 1} if(mon == 12) {(j <- 1)} if(mon == 12) {mon2 <- 2} outfile <- paste("/home/jmb/sst_precip/gribdata/",i, j, mon2, ".grib", sep="&q...
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
..., length=94), > lons=seq(0, 360-1.875, length=192), > date=vector(length=months), > data=array(NA, c(months, 94*192)) >) >#the loop >for(yr in 1:nyrs){ > for(mon in 1:12){ > i<- startyr+yr > > if(mon < 10) {j <- 0} > if(mon < 10) {mon2 <- mon} > if(mon == 10) {(j <- 1)} > if(mon == 10) {mon2 <- 0} > if(mon == 11) {(j <- 1)} > if(mon == 11) {mon2 <- 1} > if(mon == 12) {(j <- 1)} > if(mon == 12) {mon2 <- 2} > > outfile <- paste("/home/jmb/sst_precip/gribdata/",i, j, mon2,...
2009 Aug 20
4
expanding 1:12 months to Jan:Dec
Dear R users I would like to do some spreadsheet style expansion of dates. For example, I would need to obtain a vector of months. I approached in an obviously wrong way: > paste(01:12) [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" > as.Date(paste(01:12),
2010 Jan 18
6
[Bug 26102] New: Rotating one monitor of a dual-head setup causes cursor problems
http://bugs.freedesktop.org/show_bug.cgi?id=26102 Summary: Rotating one monitor of a dual-head setup causes cursor problems Product: xorg Version: 7.5 Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo:
2012 Dec 15
2
troubles reading a text file
Dear R experts, For quite some time I have been trying to solve a mistery of reading a seemingly trouble-free text file. The data is temperature reconstruction arranged as a huge grid, preceded by seven "header lines" (which you see better if file is opened in Firefox or Chrome). This is the data (gridded temperature reconstruction)