[Thread Prev][Thread Next][Index]
Re: how to add the many netcdf files
Hi Yogesh,
I'd recommend looking into using a Descriptor file to do this. Check out
the documentation on Descriptor files and see if that helps. I actually
just sent an example of one ( the Linux version) to the list due to a
problem I'm having with one. You might be able to use it to start with.
I think it fits well with what you are trying to do.
If you still want to just create one file take a look at the netCDF
Operator tools at nco.sourceforge.net. you can use ncks to do what you
want.
Of the two I'd probably recommend using the descriptor file.
Good luck,
Steve
______________________________________________________________________
Steve Cousins, Ocean Modeling Group Email: cousins@umit.maine.edu
Marine Sciences, 208 Libby Hall http://rocky.umeoce.maine.edu
Univ. of Maine, Orono, ME 04469 Phone: (207) 581-4302
On Fri, 14 May 2004, Yogesh K. Tiwari wrote:
> Hello Dear Friends,
>
> I want to add many netcdf files in a one file inside ferret.
>
> My data files looks like :
>
> 1>./Data_Jan_1987.nc
>
> name title I J K L
> CO2 CO2 concentration 1:360 1:180 ... 1:1
>
>
> 2>./Data_Feb_1987.nc
>
> name title I J K L
> CO2 CO2 concentration 1:360 1:180 ... 1:1
>
>
>
> 3>./Data_March_1987.nc
>
> name title I J K L
> CO2 CO2 concentration 1:360 1:180 ... 1:1
>
>
> -------------------------
> -----------------
> -------------
>
> There are many months for many years, total 60 files ----------------
> --------------------------------------
> --------------
>
>
>
> I want to add all the files in a single file so it should look like :
>
> >./Data_added.nc
>
> name title I J K L
> CO2 CO2 concentration 1:360 1:180 ... 1:60
>
> Is it possible ??
>
> Or is there any other way that I can use all the files and plot
> timeseries - seasonal cycle and other features.
>
> Thanks for your help,
>
> Regards,
> Yogesh
>
>
> --
>
> =================================================================
> Yogesh K. Tiwari,
> Max-Planck Institute for Biogeochemistry,
> Hans-Knoell-Strasse 10, D-07745 Jena, Postal Address:
> Germany Postfach 10 01 64
> D-07701 Jena,
> Office : +49 3641 576376 Germany
> Fax : +49 3641 577300
> Home : +49 3641 672232
> Mobile : +49 1736988789
> e-mail : yogesh.tiwari@bgc-jena.mpg.de
> __0 __0
> -\<, -\<,
> (_)/(_) (-)/(_)
> =================================================================
>
>
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement