comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Add a new variable to netCDF file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Add a new variable to netCDF file? [message #86933 is a reply to message #78073] Sun, 15 December 2013 04:49 Go to previous messageGo to previous message
fereshtehkomijani is currently offline  fereshtehkomijani
Messages: 1
Registered: December 2013
Junior Member
On Tuesday, October 25, 2011 3:14:29 AM UTC+3:30, Ashley Berg wrote:
> So, I know how to overwrite a variable in a netCDF file, but how do I
>
> add a new one?
>
>
>
> I have a netCDF file with about 30 variables and I want to add two new
>
> ones. It would be a pain to have to copy over all 30 vars plus the
>
> new ones into a new file, so is there a way to add variables using the
>
> netCDF operators? I've been experimenting but haven't been able to
>
> find a way to do it (when I try to write a new variable to the file,
>
> it complains that it can't find the variable, which implies it's
>
> looking to overwrite an existing one rather than tack on the new one).
>
>
>
> Thanks!

dear
i am newbie with netcdf files manipulate. my aim is same as Ashley Berg to add 3 variables which all of them are in 3 different netcdf files with fourth netcdf file. all of them have same time step, longitude and latitude. but i cant fine way to do that. is it possible to do that with MATLAB? if it is, would you please tell me how.
cheers
fereshte
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to identify outliers or short fluctuation signal data from an array of data?
Next Topic: join two .csv files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:22:00 PDT 2025

Total time taken to generate the page: 0.99354 seconds