Displaying 9 results from an estimated 9 matches for "ncfiles".
Did you mean:
bcfiles
2012 Jun 29
1
number of items to replace is not a multiple of replacement length
Hello,
I'm a complete newbie to R so sorry if this is too basic..:-S
I have to modify some scripts someone else did to make it work with my data.
For some reason, one of the scripts which were supposed to work is not, and
I get the error message "number of items to replace is not a multiple of
replacement length".
The script is this one:
*open_lpj_nc_gpp <-
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
I'm working with the ncdf package, and I'm seeing a behavior which I
am unsure whether it is a bug or a feature. I am creating a variable,
which I make with the precision of "byte" and also set a missing
value, When I put into this variable, all my NA values are put in
properly as the missing value. However, when I read it back, I get
the missing value rather than NA.
2017 Aug 02
3
Remove attribute from netcdf4 object
Dear all
For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this?
I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that for earlier versions of netcdf objects, there was the function att.delete.nc{RNetCDF}. But
1997 Oct 16
0
Browsing on WfW
...dead time = 5
password server = dbo1fl19
security = server
log file = /usr/local/samba/log/%m.log
log level = 2
[IPC$]
path = /tmp
guest ok = yes
[nc_files]
path = /es130065/bocad/grpdata/cam/ncfiles
comment = NC-Files
browsable = yes
read only = yes
guest ok = no
For example the directory "/es130065/bocad/grpdata/cam/ncfiles/3000" has two
subdirectories named "171808-1" and "171808-2". Under 171808-1 th...
2013 Apr 12
1
Batch open netcdf files and get variables
...9;m new to R. I have some daily soil moisture data for the year 1979 in netcdf format such as these
sm19790101.1.nc
sm19790102.1.nc
.
.
.
sm19791231.1.nc
I need to average a variable called "sm" to monthly resolution. I've done these
days = formatC(1:31, width=2, flag="0")
ncfiles = lapply(days, function(d){
filename = paste("sm197901", d, ".1.nc", sep="")
#print(filename)
open.nc(filename)
})
to open the files in January. Questions is: how may I get the variable from each opened file. Rnetcdf package has the var.get.nc() that only...
2017 Aug 02
0
Remove attribute from netcdf4 object
Le 02/08/2017 ? 12:03, raphael.felber at agroscope.admin.ch a ?crit :
> Dear all
>
> For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this?
>
> I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that
2017 Aug 02
0
Remove attribute from netcdf4 object
Dear Marc
Thanks for your remark. I don't want to use both packages. I mentioned the package RNetCDF to show that there is a similar function I' d like to use.
Raphael
Von: Marc Girondot [mailto:marc.girondot at u-psud.fr]
Gesendet: Mittwoch, 2. August 2017 14:51
An: Felber Raphael Agroscope <raphael.felber at agroscope.admin.ch>; r-help at r-project.org
Betreff: Re: [R] Remove
2017 Aug 02
0
Remove attribute from netcdf4 object
Hi Marc
That's a workaround I can use. Thanks. I'm a newbie regarding netCDF data. Is there any information I'm losing when switching between the packages?
Raphael
Von: Marc Girondot [mailto:marc.girondot at u-psud.fr]
Gesendet: Mittwoch, 2. August 2017 15:13
An: Felber Raphael Agroscope <raphael.felber at agroscope.admin.ch>
Betreff: Re: AW: [R] Remove attribute from netcdf4
2000 Dec 22
2
REading the netCDF format into R
Hi!
I have been coding a C-program which will read data from the
netCDF format (a commonly used file format in the geophysical research
community: see Unidata's URL for explanation:
http://www.unidata.ucar.edu/packages/netcdf/), and have got to the point
where I don't know what the error message mean. The C-program is called
nc2r.c.
When compiling the code, I get a number of warnings,