[Thread Prev][Thread Next][Index]

[ferret_users] doubt in combining netcdf files



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,







[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement