Re: [R] World Ocean Database files

From: Roy Mendelssohn <Roy.Mendelssohn_at_noaa.gov>
Date: Fri, 20 Jun 2008 14:00:07 -0700

Hi Franz:

we have a web service that will get you the Pacific. Look at http:// coastwatch.pfel.noaa.gov/erddap/tabledap/pmelWOD5np.html it will show you how to use form the URL request, and by changing the file ender you can change the format.

To use in R, you would so something like (say for a csv file):

> download.file(url="http://coastwatch.pfel.noaa.gov/erddap/tabledap/
> WOD5np.csv?SOME CONSTRAINTS", destfile="/users/frans/wodb.csv")
> wodb<-read.csv(file="wodb.csv")

There are a variety of different format available. We are essentially reserving in a different way the service provide by the PMEL Dapper service.

HTH, -Roy

PS - I believe ODV also has access to the WODB, but not directly into R.

On Jun 20, 2008, at 1:25 PM, Franz J Mueter wrote:

>
> Has anyone written a script or function to read data from NODCís World
> Ocean Database files?
>
> (I know there are simple Fortran and C programs to read these
> files, but
> the output is not suitable for easy analysis)
>
> Thanks, Franz
>
> _____________________________________________________
>
> Dr. Franz J. Mueter
> School of Fisheries and Ocean Sciences, Juneau Center
> University of Alaska Fairbanks
> 11120 Glacier Highway
> Juneau, Alaska 99801-8677
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> 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
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn_at_noaa.gov (Note new e-mail address) voice: (831)-648-9029
fax: (831)-648-8440
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"



R-help_at_r-project.org mailing list
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. Received on Fri 20 Jun 2008 - 21:06:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 20 Jun 2008 - 21:31:56 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive