Hi, Somebody may write with a simple solution using tools like the
NCO operators. To do this in Ferret, you'd follow the scheme in
the Users Guide under "append a slab" to netcdf, http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/index-1/index/ append In the example, the data is being read in from ascii files, so
it's more elaborate than what you'll need. The important thing to
note is that on the first WRITE, you have a /KLIMITS qualifier to
create the whole Z axis. The other thing you need to do is give your individual grids a Z
dimension. This kind of thing is done in Example 5 of the same
documentation chapter on appending data. The thing to do there,
is to add a variable which is 0 at the z levels let new_var = var + 0*z[gz=plev] (Also give these variables units,
etc.) Now when you
save/append/file=outfile.nc/K=3 new_var you will be taking the data in file 3, adding 0 to it and writing it into K=3 of the new file. Ansley On 5/13/2016 6:20 AM, Nicolas Freychet wrote:
|