Hi,
You are using the ideas for adding a "timestamp" to data, and that
should work fine for appending each step to the output file, because
we can append to a netCDF dataset in the time dimension. What you
have done should work. Do the variables in the original files have
time axes? If so is there just one time step in each file? What
error messages are you seeing?
Ansley
On 2/1/2012 3:10 AM, Geetha R wrote:
Dear Users,
I have 10 netcdf files. I have to combine 10 of these files into
single file such that if l=1, i have to get first file and l=2,
second file etc.. I have tried using the following command:
define axis/t=1-jan-1980:10-jan-1980:1/unit=days t10days
define grid/t=t10days gg
let var1_with_T = t[g=gg]*0 + var1
set variable/title="xxx"/units="uuu" var1_with_T
use file1.cdf
save/file=concat.cdf var1_with_T[l=1]
use file2.cdf
save/file=concat.cdf/append var1_with_T[l=2]
Instead of var1 i hv
given temperature, which is my parameter... But i am getting
error.. Kindly help me to solve this problem.
--
With regards,
|