Re: [R] Remove attribute from netcdf4 object

2017-08-02 Thread Marc Girondot
Le 02/08/2017 à 12:03, raphael.fel...@agroscope.admin.ch a écrit : > Dear all > > For a model I need to combine several netCDF files into one (which works > fine). For better overview I'd like to delete/remove some of the attributes. > Is there a simple way doing this? > > I'm using the package

Re: [R] Remove attribute from netcdf4 object

2017-08-02 Thread raphael.felber
<raphael.fel...@agroscope.admin.ch> Betreff: Re: AW: [R] Remove attribute from netcdf4 object ok. Sorry, I didn't understood good. I don't think you can do it in ncdf4 functions. The only solution would be to open it in RNetCDF, delete the attribute, save it and then open it in ncdf4. Marc Le 02/0

Re: [R] Remove attribute from netcdf4 object

2017-08-02 Thread raphael.felber
<raphael.fel...@agroscope.admin.ch>; r-help@r-project.org Betreff: Re: [R] Remove attribute from netcdf4 object Le 02/08/2017 à 12:03, raphael.fel...@agroscope.admin.ch<mailto:raphael.fel...@agroscope.admin.ch> a écrit : Dear all For a model I need to combine several netCDF files int

[R] Remove attribute from netcdf4 object

2017-08-02 Thread raphael.felber
Dear all For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this? I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that for