[R] Extracting time-series data from netCDF file for a defined period using ncdf4 package

2017-03-23 Thread കുഞ്ഞായി kunjaai
Dear All, I am trying to extract a time series from a netCDF file. I want to extract data for the time period 1971-1 to 1990-12-31 only. time axis units is 'days since 1850-1-1' For one or two files I can use "count" argument, but I have more than 100 such files and its time units are diff

[R] Extracting Monthly timeseries data for a defined period using ncdf4 package

2017-03-22 Thread കുഞ്ഞായി kunjaai
Dear All, I am trying to extract a time series dataset from a netCDF file. I want to extract data for the time period 1971-1 to 1990-12-31 only. time axis units is 'days since 1850-1-1' For one or two files I can use "count" argument, but I have more than 100 such files and its time units a

Re: [R] R help

2016-01-31 Thread കുഞ്ഞായി kunjaai
Hai Anukriti Gupta, While sending mail to mailing list, please change the subject from "R Help" to more specific one..(eg: R Regression error..) Because we all can refer your mail and the solution in future by checking the mail subject On Sat, Jan 30, 2016 at 9:55 PM, Boris Steipe wro

Re: [R] Singular Spectrum Analysis Plotting Skipping in a loop, but individually it works

2015-09-28 Thread കുഞ്ഞായി kunjaai
Dear Anton & Michael, Thanks a lot for your nice suggestion, Now its working cheers :) On Mon, Sep 28, 2015 at 1:24 PM, Michael Dewey wrote: > Dear Dileep > > What happens if you explicitly print it by wrapping the plot command in > print( ) > > > On 2

[R] Singular Spectrum Analysis Plotting Skipping in a loop, but individually it works

2015-09-27 Thread കുഞ്ഞായി kunjaai
Dear all, I am trying to plot Spectrum of Singular Values using "Rssa" package. I am trying to plot singular spectrum plot inside a loop, it is not plotting, but when I am trying to plot individually in terminal it works, and I can save this as png files. My code is given below: *# --

Re: [R] Convert to a vector to read.table output format

2015-05-17 Thread കുഞ്ഞായി kunjaai
for(i in 2:length(index_data)) > > dat <-cbind(dat, index_data[i]) > > names(dat) <- paste0("V", 1:length(index_data)) > > dat > > > > > > Hope this helps, > > > > Rui Barradas > > > > > > Em 1

[R] Convert to a vector to read.table output format

2015-05-16 Thread കുഞ്ഞായി kunjaai
Dear all, I want to convert a variable (that variable obtained from an 'nc ' file) I want to convert it into a* read.table* output format Example: > index_data<-get.var.ncdf(f_hist ,"meant_iitm_ALLIN_YEAR") > index_data [1] 24.06333 24.07208 24.20208 24.12625 24.27333 24.42458 24.26583 [8] 2

Re: [R] Showing error when trying to open a netcdf file using 'ncdf' package in R

2015-01-12 Thread കുഞ്ഞായി kunjaai
On Tue, Jan 13, 2015 at 2:17 AM, David W. Pierce wrote: > Hi, > > > *>library(ncdf)* > > > > *>f<-open.ncdf('Acc.nc')* > > > > *Error in R_nc_inq_dim: NetCDF: Invalid dimension ID or nameError in > > dim.inq.ncdf(nc, i) : using ncid 65536 dimid 1* > > I've fixed this error, and put a new sourc

[R] Showing error when trying to open a netcdf file using 'ncdf' package in R

2015-01-12 Thread കുഞ്ഞായി kunjaai
Dear all, I am tried to open an netcdf file in R, *>library(ncdf)* *>f<-open.ncdf('Acc.nc')* *Error in R_nc_inq_dim: NetCDF: Invalid dimension ID or nameError in dim.inq.ncdf(nc, i) : using ncid 65536 dimid 1* But I can open this same nc file using other software tool like UVCDAT. I have

[R] controlling the gamma and correlation axis tick label of taylor diagram in R

2015-01-05 Thread കുഞ്ഞായി kunjaai
Dear all, I am trying to control the font size of correlation axis and gamma label (0.6, 0.4 , 0.2 labeling of attached plot) of Taylor diagram in R. I am using **plotrix** package for making Taylor diagram. Thank you all in advance -- DILEEPKUMAR. R J R F, IIT DELHI ___

[R] Opening netCDF file with large number of variables but size is small in R

2014-10-01 Thread കുഞ്ഞായി kunjaai
Dear all, I am trying to open a netcdf file with size 1.2 MB contains more than 3000 variables using 'netcdf' package. I am facing problem that it taking more than 10 minute to open this small nc file. Is any way to make it fast ? I have attached one sample nc-file along with this mail.

[R] How to plot multiple density plot and scatter plot together

2014-08-25 Thread കുഞ്ഞായി kunjaai
Dear all, I want to plot kernal density of two set of data (theses both data set have same shape) and I want to insert scatter line segment plot ( http://stackoverflow.com/questions/24931006/r-simple-scatter-plot-with-vertical-lines) on this same plot. I can make two density plot together(I have