Displaying 20 results from an estimated 1000 matches similar to: "360-day calendar-netcdf"
2010 Nov 17
1
: plot different axis, same plot position
Dear R-users,
I am trying to make a plot in R where x and y are plotted in a regular way, but the x axis corresponds to another set of values.
For example I have x,y and T (all 29 values)
x<- c( -1.31846232, -1.04744756, -0.87034853, -0.72883370, -0.60618971, -0.49501845, -0.39128988, -0.29250120, -0.19694055, -0.10334039, -0.01069355, 0.08185470, 0.17507665, 0.26971270, 0.36651292,
2011 Mar 16
3
making dataframes
Dear all,
I have a dataframe which looks like this (dummy):
date<-c("jan", "feb", "mar", "apr", "may", "june", "july",
"aug","sep","oct","nov","dec")
col1<-c(8.2,5.4,4.3,4.1,3.1,2.5,1.1,4.5,3.2,1.9,7.8,6.5)
col2<-c(3.1,2.3,4.7,6.9,7.5,1.1,3.6,8.5,7.5,2.5,4.1,2.3)
2011 Dec 09
3
ggplot with geom_tile
Dear R-users,
I am trying to make a plot with ggplot-geom_tile(), but cannot remove some unwanted (white) lines through my plot.
Below a reproducible example:
#####
library(ggplot2)
tot=as.data.frame(rep(seq(-50,50,5),each=21))
names(tot)="precip"
temp=rep(seq(-5,5,0.5),21)
tot$temp=temp
disc=array(dim=c(21,21))
for(i in 1:21){
for(y in 1:21){
temp<-
2010 Nov 02
0
spatial plots maps-ssplot
Hi all,
I have made a plot with ssplot, using a SpatialPointsDataFrame. The
content is quite simple, as I have 9 grid points with lon/lat
coordinates and 9 values attached to these coordinates. They are in a
square area of 3 by 3 gridboxes.
I would like to lay a map from maps() over these values, but when I try
this, the grids of the maps (smaller) do not overlap with the grids I
have
2010 Jun 22
3
lapply and boxplots with variable names
Hi all,
I have a dataset with several variables, each of which is a separate
column. For each variable, I want to produce a boxplot and include the
name of the variable (ie, column name) on each plot.
I have included a sample dataset below. Can someone tell me where I am
going wrong?
Thank you for your help,
Shawn Morrison
# Generate a sample dataset
var1 = rnorm(1000)
var2 = rnorm(1000)
2010 Aug 12
0
- combining lists
Hi all,
I have used this library to create a (360 day)calendar for my rainfall
data (which is divided over 9 gridcells):
## CODE##
library(udunits)
utInit()
calendar <- att.get.nc(nc,'time','calendar')
T <- var.get.nc(nc,"time")
times.list <- utCalendar(T,"days since
1961-01-01",style='array',calendar=calendar)
## END CODE##
****
To separate
2008 Nov 12
1
Query about Call Recording with Asterisk / Freeswitch in Cisco IPCC deployment
Hello,
One of our client company is providing hosted contact center solutions with
Cisco IPCC. To keep the Call Recording cost at low, they are planning to use
Asterisk / Free Switch. Can anyone integrate Cisco IPCC with Asterisk for
call recording ?
Regards,
Kashif Naeem
Business Development Manager
Hadi Telecom
www.haditelecom.com
Cell: +92 (0)345 4226006
Office: +92 (0)42 5692766
Email:
2009 Jul 22
0
download.file() help! setting the proxy for user /passw0rd
I would like to download climate data files from PCMDI website using R. I
tried this line below and I was not able to get the file mainly due to user
name and password requirements. I am looking for help for setting up the
user and password within R (or somewhere). I have read the FAQ but
unfortunately I am a newbie on R and couldnt figure out how to do it. Many
thanks in advance
2006 Feb 09
0
bootstrapping lambda values from projections matrices
Dear all,
I'm working with a population projections matrix model from demographic
data. The dominant eigenvalue of the matrix is the growth rate of the
population (lambda). I would like to estimate confidence intervals for the
lambda values with bootstrap.
The function for calculating the eigenvalue I wrote like this:
mat.fun <- function(d,i){
mat<-matrix(c(0,
2011 Sep 07
3
Editing the variables attributes section in the netCDF header of netCDF files created using the package ncdf.
Hi,
I am using the package ncdf to create netCDF files and I want to mimic the the header of an exiting netCDF file created outside of R. Below is what the existing header looks like (part of it that is different):
netcdf ccd1984_05_08 {
dimensions:
lat = 1974 ;
lon = 1894 ;
time = UNLIMITED ; // (1 currently)
variables:
int time(time) ;
2002 Dec 09
2
netcdf
Hello,
I have been having difficulties opening netcdf files using the netcdf
library. I am able to successfully open the file and I can determine the
names and size. However, when I try to read it I receive an error.
Reading the documentation, I am wondering if this might be due to a
difference between netcdf version 2 and more recent netcdf format? I've
tried using different values for the
2004 Apr 06
2
A package to read and write NetCDF?
I am looking for a package to read and write NetCDF files.
NetCDF package says it can only read, not write.
Another package for the standard binary file format?
Daehyok Shin
2002 Feb 14
1
netCDF
Thomas,
I'm using your package netCDF. Thanks for making
it and for leave it available for public use.
It took me a little while installing it, as my
netcdf library is libnetcdf.a (not libnetcdf)
and my library directory is not /usr/local/lib.
Finally, I was able to install with the following:
1. ln -s libnet.a libnet (in my usr/local/netcdf-3.5.0/lib directory)
2. R CMD INSTALL
2003 Nov 20
2
netCDF, ncdf library
Dear all,
I would like to use data in .netcdf format and for those I have to use
the netCDF or ncdf packages.
Problem : these packages don't seem to work :
"Error in testRversion(descfields) : This package has not been
installed properly
See the Note in ?library" (with netCDF package)
Does anybody have the same problems with these packages ?
Is there any
2002 Nov 25
0
Installing netCDF module in R
I am attempting to install the netCDF module into R on a computer
running solaris 5.8 but it keeps saying it can not find the required
netCDF libraries & header files, error below. I have run configure, as
./configure --with-netCDF=/usr/local/netcdf-3.5.0
To configure the path, but keep getting the following error.
climate at netCDF : > R CMD INSTALL /home/climate/murphyb/netCDF
*
1998 Feb 03
3
netcdf
Has anyone experimented with the Network Common Data Format (netcdf)
described at
http://www.unidata.ucar.edu/packages/netcdf
for archiving data?
Is this format widely used outside of atmospheric research?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2012 Apr 02
2
how to read netcdf file in R
Dear R Users,
I am using R 2.14.1 on windows
How to read netcdf files in R ?
Which packeges do we need to install for this,
and what commands are used for reading netcdf files.
Thanks,
Best Regards,
Yogesh Tiwari
--
Yogesh K. Tiwari (Dr.rer.nat),
Scientist,
Centre for Climate Change Research,
Indian Institute of Tropical Meteorology,
Homi Bhabha Road,
Pashan,
Pune-411008
INDIA
Phone:
2011 Mar 16
2
how do we read netcdf / hdf files in R?
Dear R Users,
How do we read netcdf / hdf format files in R ?
Also, can we convert netcdf to hdf format in R?
Great Thanks,
Best Regards,
Yogesh
[[alternative HTML version deleted]]
2009 Jan 19
1
gz netCDF files
Hello,
I am trying to access several netCDF files that are also zipped (via
gzip I guess) (and stored in a directory that I only have reading
permit)
I tried to unzip them using gzfile, gzcon, etc, and then open them
with open.ncdf (from ncdf package). Everything was unsuccesful.
I had no problem using the ncdf package with "normal" netCDF files
I would really appreciate any
2010 Nov 17
1
Problem downloading and opening netcdf file
I am trying to download and open an on-line netcdf file.
I'm using Windows XP and R 2.11.1
Here's my script
library(ncdf)
link <-
"http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc"
dest <- "C:/temp/slr_sla_gbl_free_all_66.nc"
download.file(url=link,destfile=dest)
nc1 <- open.ncdf(dest)
The file appears in my C:/temp