Search found 1 match

by mdsumner
Wed Mar 02, 2016 11:30 pm
Forum: ROMS Discussion
Topic: Reading ROMS files in R (R-project)
Replies: 4
Views: 6295

Re: Reading ROMS files in R (R-project)

At base you can use the ncdf4 package, the system deps are in the source tar ball:

https://cran.rstudio.com/web/packages/ncdf4/index.html

A bit of simplistic pseudo code.


## install.packages("ncdf4") ## assuming system deps are installed
library(ncdf4)
rfile <- "/path/to/roms/r0001.nc"
nc ...