<div dir="ltr">Thanks Kishore Ji  and  Suman Maity Ji. <div>I have succeed to merge .nc file</div><div><br></div><div><br></div><div><br></div><div>Thanks </div><div>Narendra </div><div class="gmail_extra"><br><div class="gmail_quote">On 28 November 2016 at 07:25,  <span dir="ltr">&lt;<a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send gradsusr mailing list submissions to<br>
        <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gradsusr digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: gradsusr Digest, Vol 81, Issue 38 (NARENDRA SHARMA)<br>
   2. to merge .nc files (NARENDRA SHARMA)<br>
   3. Re: to merge .nc files (Suman Maity)<br>
   4. Re: print nc to txt.file (lon, lat and var) (wendi harjupa)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 28 Nov 2016 05:03:29 -0800<br>
From: NARENDRA SHARMA &lt;<a href="mailto:narendra.brh89@gmail.com">narendra.brh89@gmail.com</a>&gt;<br>
Subject: Re: [gradsusr] gradsusr Digest, Vol 81, Issue 38<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:CAEbzqG7EKRh3fdpD1Fw3t1we66CoYfR18Ex-7jw1w9y6UkkxGw@mail.gmail.com">CAEbzqG7EKRh3fdpD1Fw3t1we66Co<wbr>YfR18Ex-7jw1w9y6UkkxGw@mail.<wbr>gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear all grads users,<br>
                               Please guide me the commands to merge the<br>
.NC files . For Example we have 10 .NC files of 10 years data in each.<br>
These are of same parameter. I want to merge all 20 files and make 1 .NC<br>
which will be of 100 years.<br>
<br>
<br>
Thanks<br>
<br>
Narendra<br>
<br>
On 26 November 2016 at 09:00, &lt;<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><wbr>&gt; wrote:<br>
<br>
&gt; Send gradsusr mailing list submissions to<br>
&gt;         <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;         <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;         <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt;         <a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of gradsusr digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;    1. print nc to txt.file (lon, lat and var) (wendi harjupa)<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>----------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Sun, 27 Nov 2016 01:07:12 +0900<br>
&gt; From: wendi harjupa &lt;<a href="mailto:wendiharjupa@gmail.com">wendiharjupa@gmail.com</a>&gt;<br>
&gt; Subject: [gradsusr] print nc to txt.file (lon, lat and var)<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID:<br>
&gt;         &lt;CA+<wbr>u6P9NNzZYxQTLQBzb5TWUwYRepGgg+<wbr>XRVrRCeFjUA16H+NNg@mail.gmail.<br>
&gt; com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; Dear All<br>
&gt;<br>
&gt; I need help for my grads script problem.<br>
&gt;<br>
&gt; I want to print my NC data to txt.file<br>
&gt;<br>
&gt; I use this script<br>
&gt;<br>
&gt; &#39;sdfopen <a href="http://try.nc" rel="noreferrer" target="_blank">try.nc</a>&#39;<br>
&gt; &#39;set lon 134 137&#39;<br>
&gt; &#39;set lat 33 36&#39;<br>
&gt; &#39;set gxout print&#39;<br>
&gt; &#39;set prnopts %g 1 1&#39;<br>
&gt; &#39;d var&#39;<br>
&gt;<br>
&gt; I got only one variable in ouput (var)<br>
&gt; how to get lon, lat and var in my output data??<br>
&gt;<br>
&gt; Thank you very much<br>
&gt; Best regards,<br>
&gt; wendi<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20161127/" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20161127/</a><br>
&gt; 166446da/attachment-0001.html<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; End of gradsusr Digest, Vol 81, Issue 38<br>
&gt; ******************************<wbr>**********<br>
&gt;<br>
<br>
<br>
<br>
--<br>
*Narendra  Sharma*<br>
*(M.Sc.(Mathematics) )(B.H.U.) ,*<br>
*Research Scholar in IESD B.H.U.*<br>
* varanasi*<br>
*+91-8574486661*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20161128/074d39df/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20161128/<wbr>074d39df/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 28 Nov 2016 05:04:41 -0800<br>
From: NARENDRA SHARMA &lt;<a href="mailto:narendra.brh89@gmail.com">narendra.brh89@gmail.com</a>&gt;<br>
Subject: [gradsusr] to merge .nc files<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
        &lt;CAEbzqG68xtLb_icoDrn=<a href="mailto:SKujR%2BGS3FTFjTMoY8BGrMaaQ%2Bs9Aw@mail.gmail.com">SKujR+<wbr>GS3FTFjTMoY8BGrMaaQ+s9Aw@mail.<wbr>gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear all grads users,<br>
                               Please guide me the commands to merge the<br>
.NC files . For Example we have 10 .NC files of 10 years data in each.<br>
These are of same parameter. I want to merge all 20 files and make 1 .NC<br>
which will be of 100 years.<br>
<br>
<br>
Thanks<br>
<br>
Narendra<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20161128/f0064a7e/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20161128/<wbr>f0064a7e/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 28 Nov 2016 19:53:36 +0530<br>
From: Suman Maity &lt;<a href="mailto:suman.buie@gmail.com">suman.buie@gmail.com</a>&gt;<br>
Subject: Re: [gradsusr] to merge .nc files<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAGbSuGywUpXWhJWCauociP8GF7anEFC65WaXdMy7NLd6jx%2BF-w@mail.gmail.com">CAGbSuGywUpXWhJWCauociP8GF7an<wbr>EFC65WaXdMy7NLd6jx+F-w@mail.<wbr>gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear Narendra Sharma<br>
It is very easy using cdo(climate data operator). Use the following command:<br>
cdo mergetime *.nc <a href="http://new.nc" rel="noreferrer" target="_blank">new.nc</a><br>
<a href="http://new.nc" rel="noreferrer" target="_blank">new.nc</a> will contain all the parameter for 100 years.<br>
Hope the command work for you.<br>
Cheers<br>
Suman Maity<br>
Ph.D student<br>
CORAL,IIT Kharagpur<br>
West Bengal,India<br>
On Nov 28, 2016 6:35 PM, &quot;NARENDRA SHARMA&quot; &lt;<a href="mailto:narendra.brh89@gmail.com">narendra.brh89@gmail.com</a>&gt; wrote:<br>
<br>
<br>
Dear all grads users,<br>
                               Please guide me the commands to merge the<br>
.NC files . For Example we have 10 .NC files of 10 years data in each.<br>
These are of same parameter. I want to merge all 20 files and make 1 .NC<br>
which will be of 100 years.<br>
<br>
<br>
Thanks<br>
<br>
Narendra<br>
<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20161128/1760483e/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20161128/<wbr>1760483e/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 29 Nov 2016 00:25:16 +0900<br>
From: wendi harjupa &lt;<a href="mailto:wendiharjupa@gmail.com">wendiharjupa@gmail.com</a>&gt;<br>
Subject: Re: [gradsusr] print nc to txt.file (lon, lat and var)<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>
        &lt;CA+<wbr>u6P9MSHiTxAXGaUTg5aqtSrjoScf5k<wbr>hSO1Qki-h3Fds=<a href="mailto:Cu4g@mail.gmail.com">Cu4g@mail.gmail.<wbr>com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear Jennifer<br>
<br>
Many thanks for your information..<br>
<br>
Best regards,<br>
wendi<br>
<br>
On Mon, Nov 28, 2016 at 9:31 PM, Jennifer M Adams &lt;<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>&gt; wrote:<br>
<br>
&gt; Wendi ?<br>
&gt; This page <a href="http://cola.gmu.edu/grads/gadoc/ascii.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/<wbr>gadoc/ascii.html</a> has some advice and<br>
&gt; examples showing how to organize the output from &#39;gxout print&#39;.<br>
&gt; ?Jennifer<br>
&gt;<br>
&gt; On Nov 27, 2016, at 9:54 PM, wendi harjupa &lt;<a href="mailto:wendiharjupa@gmail.com">wendiharjupa@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Dear Mr. Kishore<br>
&gt;<br>
&gt; Thank a lot for your comments.<br>
&gt; I did not mean that. I want know how to use prnopts command.<br>
&gt;<br>
&gt; Regards,<br>
&gt; wendi<br>
&gt;<br>
&gt; On Mon, Nov 28, 2016 at 3:36 AM, Kishore Ragi &lt;<a href="mailto:kishoreragi@gmail.com">kishoreragi@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;&gt; You may try the following<br>
&gt;&gt;<br>
&gt;&gt; ncdump -h <a href="http://yourfile.nc" rel="noreferrer" target="_blank">yourfile.nc</a> &gt;output.txt<br>
&gt;&gt;<br>
&gt;&gt; or<br>
&gt;&gt;<br>
&gt;&gt; ncdump -c <a href="http://yourfile.nc" rel="noreferrer" target="_blank">yourfile.nc</a> &gt;output.txt<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Kishore<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; *PhD student in climate science, *<br>
&gt;&gt;<br>
&gt;&gt; *National Institute of Technology, Rourkela, *<br>
&gt;&gt;<br>
&gt;&gt; *India- 769008 *<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; *Phone: +91-8908671881 &lt;%2B91-8908671881&gt;<br>
&gt;&gt; <a href="http://www.researchgate.net/profile/Kishore_Ragi" rel="noreferrer" target="_blank">http://www.researchgate.net/<wbr>profile/Kishore_Ragi</a><br>
&gt;&gt; &lt;<a href="http://www.researchgate.net/profile/Kishore_Ragi" rel="noreferrer" target="_blank">http://www.researchgate.net/<wbr>profile/Kishore_Ragi</a>&gt;<br>
&gt;&gt; <a href="https://in.linkedin.com/in/kishoreragi" rel="noreferrer" target="_blank">https://in.linkedin.com/in/<wbr>kishoreragi</a><br>
&gt;&gt; &lt;<a href="https://in.linkedin.com/in/kishoreragi" rel="noreferrer" target="_blank">https://in.linkedin.com/in/<wbr>kishoreragi</a>&gt; *<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Nov 27, 2016 at 12:07 AM, wendi harjupa &lt;<a href="mailto:wendiharjupa@gmail.com">wendiharjupa@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Dear All<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I need help for my grads script problem.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I want to print my NC data to txt.file<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I use this script<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &#39;sdfopen <a href="http://try.nc" rel="noreferrer" target="_blank">try.nc</a>&#39;<br>
&gt;&gt;&gt; &#39;set lon 134 137&#39;<br>
&gt;&gt;&gt; &#39;set lat 33 36&#39;<br>
&gt;&gt;&gt; &#39;set gxout print&#39;<br>
&gt;&gt;&gt; &#39;set prnopts %g 1 1&#39;<br>
&gt;&gt;&gt; &#39;d var&#39;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I got only one variable in ouput (var)<br>
&gt;&gt;&gt; how to get lon, lat and var in my output data??<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thank you very much<br>
&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt; wendi<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; gradsusr mailing list<br>
&gt;&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Jennifer Miletta Adams<br>
&gt; Center for Ocean-Land-Atmosphere Studies (COLA)<br>
&gt; George Mason University<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20161129/d1c8d6f3/attachment.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20161129/<wbr>d1c8d6f3/attachment.html</a><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
<br>
End of gradsusr Digest, Vol 81, Issue 40<br>
******************************<wbr>**********<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">Narendra  Sharma</font></i></b><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">(M.Sc.(Mathematics) )(B.H.U.) ,</font></i></b></div><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">Research Scholar in IESD B.H.U.</font></i></b></div><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f"> varanasi</font></i></b></div><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">+91-8574486661</font></i></b></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>