Description Usage Arguments Note Author(s) See Also Examples
R Interface for 'cdo.seldate'
1 2 |
infile |
input necdf file |
outfile |
name of the outputfile |
start |
start date |
end |
end date |
return.raster |
logical value. If is |
... |
further arguments |
This function calls cdo seldate
.
See http://www.fourtythree.org/tech/remapping-a-netcdf-file-using-cdo/,
https://code.zmaw.de/projects/cdo/embedded/1.4.7/cdo.html
Emanuele Cordano
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ##
## Not run:
ncname <- "chirps-v2.0.2005.days_p05.nc"
url <- "ftp://ftp.chg.ucsb.edu/pub/org/chg/products/CHIRPS-2.0/global_daily/netcdf/p05"
temp <- tempdir()
x <- paste(temp,ncname,sep="/")
download.file(url=paste(url,ncname,sep="/"),destfile=x)
infile <- x
outfile <- NA
ncs <- cdo.seldate(infile,outfile,start="1997-05-01",end="1997-05-31")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.