[Thread Prev][Thread Next][Index]

Re: [ferret_users] Problem in concatenating multiple data

What you have done looks correct, but it will work only if there is a time axis within each file that identifies the time step that the file represents. Often when there is just one time step per file, the files themselves don't have time information in them.

When you open a file,

yes? use  3B42_daily.1998.01.01.7.nc

the SHOW DATA and SHOW GRID commands will indicate what grids the variables are on.  In the Documentation about the SAVE command, http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/SAVE, there is a discussion about adding time information to the grid of a variable. Look for the word "Timestamp" to find that information.


On 8/2/2012 10:54 AM, FISSEHA G. BERHANE wrote:
Hello dear ferreters;

I have daily global satellite precipitation data each in separate NetCDF files. I want to concatenate them. I wrote a code in excel, but when I try to run it, it gives me the first data only (i.e L =1). I also tried manually with only two datasets and the problem persists. What could be the solution?

There are 5113 daily  *.nc data and I am doing like:

cancel data/all; cancel var/all; set mem/size = 690

use  3B42_daily.1998.01.01.7.nc; save/clobber/file = TRMM.cdf   R  ;cancel data/all

use  3B42_daily.1998.01.02.7.nc; save/append/file = TRMM.cdf   R  ;cancel data/all
use  3B42_daily.1998.01.03.7.nc; save/append/file = TRMM.cdf   R  ;cancel data/all

Thank you,

Fisseha Berhane
PhD student
Johns Hopkins University
Baltimore, Maryland
e-mail: fisseha@xxxxxxx

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

Privacy Policy | Disclaimer | Accessibility Statement