Skip to content

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.

71 results for “from:Jonsson”

How to add a function to another written code?
Jonsson · Jan 24, 2013 · r-help

I have two directories https://echange-fichiers.inra.fr/get?k=AcHKdNI4No44GEsj7PK with 12 (global maps)binary files in each.I used the code given below to calculate the spatial correlation between these files and it worked well(the output...

Min , Max
Jonsson · Apr 30, 2012 · r-help

Hi again, Sorry for connecting you again(I am still getting this error:subscripts out of bounds). the problem is that I am trying to apply R script for one file to many files. It succeeded to do that for...

How to merge two functions into one?
Jonsson · Feb 22, 2013 · r-help

I am using the code below to calculate the correlation map between two datasets. This code worked fine. dir1 <- list.files("D:thly", "*.bin", full.names = TRUE) dir2 <- list.files("D:002", "*.envi", full.names = TRUE) file_tot <- array(dim...

How to get the rolling standard deviation in rasters?
Jonsson · Mar 19, 2013 · r-help

I am using this code to calculate the moving average mean.It worked fine but when I wanted to also calculate based on sd(stander deviation) I got the error shown below. I read this documentation of R movingFun and...

Min , Max
Jonsson · Apr 28, 2012 · r-help

This code bellow will calculate average daily wind speed(measurements are taken every three hours). library(Matrix) setwd("C:\\Users\\aalyaari\\Desktop\\img") listfile<-dir() long <- file("C:\\Users\\aalyaari\\Desktop\\New folder (5)\\inra.bin", "rb") A=readBin(long...

tick marks and barchart
Stefán Hrafn Jónsson · Oct 16, 2003 · r-help

Dear R community. I have two problems with figures. First deals with short vector on the x-axis and the second with two-panel barchart. 1) For demonstration I create the following pseudo data for three years, 2001:2003. The...

How write raster files after manipulation?
Jonsson · Feb 14, 2013 · r-help

I have 12 binary (raster) files https://echange-fichiers.inra.fr/get?k=k3M2jatJyHy65Cs99G4 . I would like to calculate the moving average for the 12 values for each pixel in the 12 files. For a simple vector we can get...

Why I am getting error when writing a function for "optim"?
Jonsson · Feb 13, 2015 · r-help

I have three directories where there is inside each of them 5 files.each file is a matrix lines 500 and columns 300. I want to perform an optimization using values from three corresponding pixels.Finally I get a matrix...

How to re-project ease( Equal Area Scalable Earth) grid with a ~25 km cylindrical projection to WGS84 0.25 degree?
Jonsson · Jan 18, 2013 · r-help

I have nc files for global soil moisture,here is one file https://echange-fichiers.inra.fr/get?k=f9DDllPKdUKs5ZNQwfq from the metadata ,the projection is cylindrical and the resolution is 25 km(it is based on authalic sphere based...

problem in while loop?
Jonsson · Aug 30, 2013 · r-help

I have three datasets that I want to compute the errors between them using linear regression.for this, I want to iterate to reach certain criteria for the calibration. if changes become smaller than eps the iteration is successful, hence...

How to calculate the statistcs for extracted region?
Jonsson · Jun 13, 2012 · r-help

I have a binary file(a) with size of (360 720 )for the globe.I wrote the code given below to read and extract an area (south america)from that file. when I use summary for the whole file I...

Can't find what you're looking for? Try searching with Google .