Description Usage Arguments See Also Examples
It puts valus of a data frame in a netCDF archive
1 2 3 |
x |
names of the variables to get |
nc |
An object of class |
start |
index vactor where to start the reading data. |
count |
vector containing the data layers to be read. |
dimTime |
name of Time dimension. If it is declared
(Default is |
show_month,show_year,show_season |
logical values.
If |
dimStation |
TO DO |
... |
further arguments for
|
ncvar_put
,ncvar_get_multidf_values
1 2 3 4 5 6 7 | library(ncdf4df)
## ncname <- "/Users/ecor/Dropbox/iasma/RMAWGENdev/ncdf4df/inst/trentino/data/trentino_hourlyweatherdata.nc"
ncname <- system.file("trentino/data/trentino_hourlyweatherdata.nc",package="ncdf4df")
nc <- nc_open(ncname)
meteoPrec <- ncvar_get_df_values(nc=nc,x="Prec",verbose=TRUE)
meteoPrec2 <- ncvar_get_df_values(nc=nc,x="Prec",verbose=TRUE,show_year=TRUE,show_month=TRUE)
nc_close(nc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.