[R-sig-Geo] Merge dataframe with NetCDF file
Roy Mendelssohn - NOAA Federal
roy@mende|@@ohn @end|ng |rom no@@@gov
Sat May 20 23:40:57 CEST 2023
You have it what sense? Is it your R workspace? If so, assume what you have is called "obj", what is the result of str(obj). Also have you googled writing netcdf files from R? There are any number of online tutorials. Have you looked at the packages ncdf4 or RNetCDF? Also, who is your target audience? Just dumping data to netcdf is not that hard, creating netcdf files that others can understand by following a convention, like the CF convention, takes some thought and work, As I said in my first reply, you are likely to get more help when you can show the effort you have put into solving this, and where you got stuck.
-Roy
> On May 20, 2023, at 1:51 PM, Miluji Sb <milujisb using gmail.com> wrote:
>
> What I have is data for 49 years at grid cells (0.5°×0.5°) which I would
> like to write as a NetCDF file. Any help will be greatly appreciated.
> Thanks!
**********************
"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
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn using noaa.gov www: https://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
More information about the R-sig-Geo
mailing list