[R] OPeNDAP access / OPeNDAP subsetting with R

Roy Mendelssohn - NOAA Federal roy.mendelssohn at noaa.gov
Tue Sep 27 19:51:24 CEST 2016


Look at the package ncdf4.  You can use an OPeNDAP URL in place of the file name to perform subsets.,

-Roy

> On Sep 27, 2016, at 9:06 AM, Debasish Pai Mazumder <pai1981 at gmail.com> wrote:
> 
> Hi all,
> 
> I would like to access and subset following OpeNDAP files.
> server:
> http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cfsv2_forecast_ts_9mon/2014/201404/20140403/2014040312/
> 
> file name: tmax.01.2014040312.daily.grb2
> <http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cfsv2_forecast_ts_9mon/2014/201404/20140403/2014040312/catalog.html?dataset=modeldata/cfsv2_forecast_ts_9mon/2014/201404/20140403/2014040312/tmax.01.2014040312.daily.grb2>
> I would like to access and subset the file. Any help will be appreciated.
> 
> with regards
> -Deb
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new address and phone***
110 Shaffer Road
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.



More information about the R-help mailing list