<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Luxi Sans">Abraham,<br>
Just in case, for netcdf files you can use ncrcat, ncecat from nco
(<a class="moz-txt-link-freetext" href="http://nco.sourceforge.net">http://nco.sourceforge.net</a>).<br>
Regards,<br>
Paul-Antoine.<br>
<br>
</font></font><br>
Abraham a écrit :
<blockquote cite="mid:145880.10162.qm@web62006.mail.re1.yahoo.com"
type="cite">
<pre wrap="">Thank you very much Eric
Abra
You cannot use 'cat' to combine binary files. The resulting file will not have the correct
structure. You need to use a fortran or C program to read all of the data in each file, then
write that
data into one file (in the proper order). You need to know how the input files were written in
order to correctly read the data in a program.
There is one situation where you CAN use 'cat' to combine data files, and that is if they are in
GRIB format. (I'm not sure if it works with GRIB-2 files.) But you can't do this with binary or
netcdf files.
Best regards,
Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:ela@cola.iges.org">ela@cola.iges.org</a>
Phone: (301) 902-1257
Fax: (301) 595-9793
----- Original Message -----
From: "Abraham" <a class="moz-txt-link-rfc2396E" href="mailto:freexavi@yahoo.com"><freexavi@yahoo.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>
Sent: Wednesday, April 16, 2008 12:14:55 AM GMT -05:00 US/Canada Eastern
Subject: [Wrf-users] joining binary files into one file
Hi wrf-user,
Does any one know how to combine some binary files (each file contains one time step data) into
one file without affecting the data's order. I tried to use cat to join them and it does combine
them but the data is not organised.For instance, when I try to desplay v field using grads, height
h is desplayed.
Your assistance will be appreciated
thanks
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. <a class="moz-txt-link-freetext" href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a>
_______________________________________________
Wrf-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/wrf-users">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; ">
<title>signature_clim</title>
<font color="#4c4c4c" face="Luxi Sans, sans-serif"><font size="2"><i>Paul-Antoine
Michelangeli </i></font>
<br>
<font style="font-size: 9pt;">Responsable R&D</font>
<br>
<font size="1"><b>CLIMPACT</b> - <a href="http://www.climpact.com">www.climpact.com</a>
<br>
IPSL - Université Pierre et Marie Curie <br>
Boîte 101 - Tour 45 - Couloir 45/46 <br>
4, place Jussieu, 75252 Paris CEDEX 05, France <br>
Tél. +33 (0) 1 44 27 34 31 <br>
Fax. +33 (0) 1 44 27 49 96
</font></font>
</div>
</body>
</html>