If you haven't come across this, I found this to be a useful example for converting netCDF files in R <https://publicwiki.deltares.nl/display/OET/OPeNDAP+subsetting+with+R> to a different spatial format and it seems to be along the lines of what you are looking to do.
-- Kelly J. Iknayan Dept. of Environmental Science, Policy, and Management University of California - Berkeley 130 Mulford Hall #3114 Berkeley, CA 94720 [email protected] On Thu, Sep 14, 2017 at 1:45 PM, Lindsay Veazey <[email protected]> wrote: > Hi all, > > I'm new to the netCDF file format, but I need to rapidly familiarize > myself. > In attempting to manipulate IOOS data (specifically, > http://oos.soest.hawaii.edu/thredds/ncss/hioos/roms_assim/ > hiog/ROMS_Oahu_Regional_Ocean_Model_Assimilation_best.ncd/dataset.html > ) in R, I've found that online resources are helpful only to a point, as > netCDF files are variable- one snippet of code isn't very transferable. > > Since I can't see the data in a netCDF file like I could in a table, I'm > not > sure how to best learn how to work with these files in R. I need to analyze > years of data across a swath of area, so pulling one set of coordinates at > a > time is not efficient. Does anyone have advice on how to transform a netCDF > file into a TIFF or csv? Or has anyone pulled IOOS data in the past? > > Thanks for your advice! >
