uopg | R Documentation |
Get data from the Upper Ocean Proccesses Group (UOPG).
uopg( dataset = "smile", type = "meteorology", path = "~/.ots/uopg", overwrite = TRUE )
dataset |
A dataset code name, one of arabian_sea, asrex_91, asrex_93, biowatt, cmo, coare, coop, fasinex, lotus, mlml89, mlml91, sesmoor, smile, or subduction. Or their unique abbreviations. |
type |
A data type, one of meteorology, water_velocity, temperature, or salinity. Or their unique abbreviations. |
path |
A path to store the files, Default: |
overwrite |
(logical) To overwrite the path to store files in or not, Default: TRUE. |
We download NetCDF files from UOPG, using ncdf to parse the data to a data.frame.
http://uop.whoi.edu/archives/dataarchives.html
## Not run: # Smile dataaets (met <- uopg(dataset = 'smile', type = "meteorology")) (sal <- uopg(dataset = 'smile', type = "salinity")) (water <- uopg(dataset = 'smile', type = "water")) (temp <- uopg(dataset = 'smile', type = "temp")) # biowatt dataaets (biowatt_met <- uopg(dataset = 'biowatt', type = "meteorology")) biowatt_met$data$`1` # lotus datasets (lotus_met <- uopg(dataset = 'lotus', type = "meteorology")) lotus_met$data$lotus lotus_met$metadata # coare datasets (coare_sal <- uopg(dataset = 'coare', type = "salinity")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.