Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
I have just contacted the sources and I am told that he checked min/max lat/lon for the file and it was right. He is using Linux while I am using Windows, would that be problematic? -- View this message...
extract will extract values if you provide the x , y but then who to know which lat and long correspond to which x and y -- View this message in context: http://r.789695.n4.nabble.com/how-to-extract-values...
That worked fine, thanks. But only worked when the values are positive but when I added negative values, the box was wrong. May be the order I lat and long should be different?any ideas -- View this message in context...
Dear R users, I have been searching thru the documentation of R but did not find anything about reading or manipulating a binary data block file (.DBL).a link to one example https://echange-fichiers.inra.fr/get?k=5Hzw2B1wZDng9ztO34E...
Has one try to install the ggplot2 package recently? I tried to install it on my new system and had trouble: I tried a different CRAN mirror but didn't work library(ggplot2) Error in loadNamespace(i, c(lib.loc...
Yes, But what is your opinion about d in sprintf("C:\\Users\\aalyaari\\Desktop\\New folder (6)\\Yar_%00d.bin", d), because will go from one to the number of rows(some files have 248 and others have 224) and...
I tried to read only one file and get some information but this is what I got: sam=file("C:\\Users\\2001\\SWdown_200101_01.img", "rb") file1<- readBin(sam, double(),size=4, n=360*720) file.info(file1)$size...
Thanks you meant it shoud be: file1=do.call(rbind, lapply(dir1, readBin, integer(), size = 2, n = 360 * 720, signed = T)) file2=do.call(rbind, lapply(dir2, readBin, integer(), size = 2, n = 360 * 720, signed = T)) Please see the error...
Hello All, I am having a problem with this: file<-array(dim=c(1440,720,700,3)) Error in array(dim = c(1440, 720, 700, 3)) : 'dim' specifies too large an array I have a memory of 20GB, But I...
The piece of R code given above is meant to perform calculations for many files(12) in one folder.But I am getting this error:Error: subscript out of bounds.It finished reading the first file(successfully) but the error...
Dear Rui, I really appreciate your help. This is exactly what I was looking for.I know there is simpler way than mine but I couldn't figure it out.So, many many thanks. I wonder what is the difference...
Dear All, I am trying to replace a value of 528.8933 to -9999 in my file t<- file("C:\\Users\\Amin\\Desktop\\1999n_Resample11.img", "rb") e=readBin(t, double(), size=4,n=720*360, signed=TRUE) e[e...
In fact,it is netcdf file(even if the extension is DBL). I am new to prjections and i just tried that spTransform,I did not know projectraster. Could you please tell me what is the command using project raster...
Dear David, I think you meant tm[ta[i],tb[i]]= round(10 * mean(D[((d-1)*8 + 1:8),i]-273.15)) not tm[ta[i],tb[i]]= round(10 * mean(D[((d-1)*8 + 1:8)-273.15...
I have a raster file(1440*720 rows) contains values of 1 ,2 , and 3. when I plot the file , I got a map of three colors but I do not know which is which. How can I put those...
This code will read binary file and display it as a map. may problem is that this code is using a continuous colour scheme, even though I have discrete data (which is a classification scheme). How can I map numbers...
I have this https://echange-fichiers.inra.fr/get?k=6TdTdezNeZwAqJtpwVm grib file which is a regular lat-lon 0.25x0.25 degrees and contains 4 fields . I tried to open it using : grib <- readGDAL("C:\\Users\\aalyaari\\Desktop\\Vol...
I know this,but i meant how can i insert them here: for(h in listfile){ print(h) ### Shall i keep this as it is print(file.info(h)$size) ### Shall i keep this as it is } b=file.info...
Yes this what I meant. I think no need for this line h=listfile[[n]],if I can just put it directly in the other line to do the calculations for every file in my list.they are not really...
I would like to add some boxes with special extent to my plot. Example gh <- raster() gh[] <- 1:ncell(gh) SP <- spsample(Spatial(bbox=bbox(gh)), 10, type="random") Then plot them levelplot(gh, col.regions = rev(terrain.colors(255...
Can't find what you're looking for? Try searching with Google .