Friday, 10 February 2012

For downloading NOAA data sets, after scrutinizing a lot, a colleague told me about this web page.
http://las.pfeg.noaa.gov/oceanWatch/oceanwatch_safari.php#

Unfortunately, although the fabulous posts from Luke Miller, and the email from Dave Foley, which send me a link with a function xtracto, I did not managed to download this data sets and work with it easily. Dave mentioned me the EDC site, which I am now giving a try.
They have installers for R and excel (among others). The excel one, we simple download the zip, unpack it and run the 'EDC Excel Installer.msi' (not the 'setup.exe', apparently) file. It will create a folder on the program files and install the respective add in in the excel, among with other office components that are required (I am running on win 7, office xp pro). If you are successful, when you run excel, this will have an extra menu on the top, named ASA. Once you click on it, it will show EDC botton that you can use to navigate through the datasets. I am now exploring it... 




The EDC for R, has two zip libraries (EDCR and ncdf4), that we can download and install through 'RGui>Packages>install packages from local zip file'. For the moment, this can only be done in R 2.13, but they are tiding it to be used in 2.14 also.


Than we can run the installation demo

require(ncdf4);require(EDCR)
example1 <- EDC.get(1)

and a window (where we navigate and connect to the data set, etc.) pops up from R, like this: 


press connect, select the data set you want, and navigate...

The data is than available in R, to play.