<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Garamond;
        panose-1:2 2 4 4 3 3 1 1 8 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi peter,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">You may encapsulate the
</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">read_wrf_nc call in a shell or perl script in a loop, so you’ll be able to call read_wrf_nc at the locations you want using shell or perl arguments or even reading a list of the
 location you want. I have no simple examples of this, just go and see perl tutorials for this for example.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">I join an example of a perl call to
</span><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">getTimeSerie function and the function itself in perl.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">You may get some hints from that.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">Of course it’s not usable like that and if you don’t know perl langage you should follow some tutos before.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Thierry<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Example of making a list of variables to read for a given location and call reading the function<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">&nbsp; # ----------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">&nbsp; $list_var=&quot;U10 V10 T2 Q2 RAINNC PSFC SNOWH TSK&quot;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # V3.10 2016-01-14 add TSK reading (surface T)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">&nbsp; # ----------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">&nbsp; $level = 1;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">&nbsp; $fileout=&quot;${dirout_arg}/${locname}${infixe}_d${domain}_${latlonhgt}_ground.dat&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">&nbsp; $tmpfile = &amp;getTimeSerie($WRFOUT_ptr, $latitude, $longitude, $list_var, $level, $fileout);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black">The timeserie reading function calling
</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">read_wrf_nc</span><span lang="EN-US" style="font-family:&quot;Courier New&quot;;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">#&nbsp; Extaction d'une serie temporelle quelconque d'un wrfout<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">sub getTimeSerie{<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; push(@subindent,$indent);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; my ($WRFOUT_ptr, $latitude, $longitude, $vars, $level, $fileout) = @_;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; my $subname = (caller(0))[3];<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; ($debug) &amp;&amp; print&nbsp; &quot;@subindent&gt;$subname&gt;vars=$vars\n&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">#On détruit le vieux fichier tsfileout sinon read_wrf_nc ajoute les extractions à la fin du fichier<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;
</span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">my $tsfileout=&quot;TIME_SERIES.out&quot;; # compulsory name from read_wrf_nc prm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; (-e $tsfileout) &amp;&amp; (unlink($tsfileout) || die &quot;$pf&gt;@subindent&gt;$subname&gt;ERROR: Cant erase file:$tsfileout\n&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">#arguments<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; my $filein = &quot;&quot;;&nbsp;&nbsp;&nbsp; # Fichier wrfout à lire<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; my $latitude&nbsp; = 0;&nbsp; # Latitude du point à extraire<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; my $longitude = 0;&nbsp; # Longiitude du point à extraire<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; my $vars&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;&quot;; # Liste des variables à extraire<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; my $level&nbsp;&nbsp;&nbsp;&nbsp; = &quot;&quot;; # Indice du niveau vertical d'extraction<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;
</span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">#&nbsp;&nbsp;&nbsp;&nbsp; my $fileout&nbsp;&nbsp; = &quot;&quot;; # Fichier de sortie<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; my $tmpfile=$fileout.&quot;.tmp&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; foreach my $filein(@$WRFOUT_ptr) {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">( -e $filein) || die &quot;$pf&gt;@subindent&gt;$subname&gt;ERROR le fichier wrfout...:$filein est introuvable\n&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; print &quot;$pf&gt;@subindent&gt;$subname&gt;Treat $filein.\n&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; # Lecture/ecriture des séries depuis le wrfout<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;
</span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">if ($level) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # One level is aked for<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @args = (&quot;$READ_WRF_NC $filein -rot -ts ll $latitude $longitude $vars -lev $level 2&gt; read_wrf_nc.err&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; } else {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # all levels<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @args = (&quot;$READ_WRF_NC $filein -rot -ts ll $latitude $longitude $vars 2&gt; read_wrf_nc.err&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; print&nbsp; &quot;$pf&gt;@subindent&gt;$subname&gt;@args\n&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;
</span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">system(@args) == 0 or die &quot;$pf&gt;@subindent&gt;$subname&gt;ERROR: Can't execute system command @args\n&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; } # foreach my $filein(<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; if (-e &quot;$tsfileout&quot; ) {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; ($debug) &amp;&amp; print&nbsp; &quot;mv $tsfileout $tmpfile\n&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">`mv $tsfileout $tmpfile`;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; } else {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; die &quot;$pf&gt;@subindent&gt;$subname&gt;ERREUR: Le fichier $tsfileout n'a pas été créé.&quot;;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;
</span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; pop(@subindent);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp; return($tmpfile);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">De&nbsp;:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Peter Tuju [mailto:peterenos@ymail.com]
<br>
<b>Envoyé&nbsp;:</b> lundi 30 mai 2016 15:53<br>
<b>À&nbsp;:</b> wrf-users@ucar.edu; HEDDE Thierry 137147<br>
<b>Objet&nbsp;:</b> Re: Extracting time series at a given geographical position<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div id="yui_3_16_0_ym19_1_1464615356136_9546">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Dear Thierry,<o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_10318">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_10313">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">I was succeeded to compile the read_wrf_nc.f and to extract T2 using the code &quot;./read_wrf_nc wrfout_d02_2015-03-01 -w T2&quot; which gives me the ascii file
 T2.out at every grid point, but I want to extract T2 at different specific locations say lat1, lat2, etc and lon1, lon2, etc. So, how can I do to solve this??.
<br>
<br>
</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_11565">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><br>
<br>
</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_11566">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Also I, tried to use the ncl scrips you sent to me but it just gives me the ts output&nbsp; in graphic format but I want to have in ascii format say .csv or
 .txt.</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_11567">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><br>
<br>
</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_11568">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Please guide me once more again!</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_9597">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">&nbsp;<o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym19_1_1464615356136_9610">
<div id="yui_3_16_0_ym19_1_1464615356136_9609">
<div id="yui_3_16_0_ym19_1_1464615356136_9608">
<div id="yui_3_16_0_ym19_1_1464615356136_9607">
<div id="yui_3_16_0_ym19_1_1464615356136_9606">
<div id="yui_3_16_0_ym19_1_1464615356136_9605">
<div id="yui_3_16_0_ym19_1_1464615356136_9604">
<div id="yui_3_16_0_ym19_1_1464615356136_9603">
<div id="yui_3_16_0_ym19_1_1464615356136_9602">
<div id="yui_3_16_0_ym19_1_1464615356136_9601">
<div id="yui_3_16_0_ym19_1_1464615356136_9600">
<div id="yui_3_16_0_ym19_1_1464615356136_9599">
<div id="yui_3_16_0_ym19_1_1464615356136_9598">
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:blue;background:white">_____________</span></b><b><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:black"><br>
Peter&nbsp; E. Tuju</span></b><b id="yui_3_16_0_1_1427660060282_3395"><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:black"><br>
<span style="background:white">Dar es Salaam</span><br>
T A N Z A N I A<br>
</span></b><b><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:blue">----------------------</span></b><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">On Friday, May 27, 2016 7:21 AM, Peter Tuju &lt;</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><a href="mailto:peterenos@ymail.com"><span lang="EN-US">peterenos@ymail.com</span></a></span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&gt;
 wrote:</span><span lang="EN-US" style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span lang="EN-US" style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<div>
<div id="yiv9221176407">
<div>
<div>
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3572">
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">&nbsp;<o:p></o:p></span></p>
</div>
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3585">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3584">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3583">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3582">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3581">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3580">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3579">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3578">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3577">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3576">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3575">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3574">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3573">
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:blue;background:white">_____________</span></b><b><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:black"><br>
Peter&nbsp; E. Tuju<br>
<span style="background:white">Dar es Salaam</span><br>
T A N Z A N I A<br>
</span></b><b><span style="font-size:10.0pt;font-family:&quot;Garamond&quot;,&quot;serif&quot;;color:blue">----------------------</span></b><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3913">
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="yiv9221176407yqt92401">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3917">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3916">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3915">
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3914">
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">On Thursday, May 26, 2016 12:53 PM, HEDDE Thierry 137147 &lt;</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><a href="mailto:thierry.hedde@cea.fr"><span lang="EN-US">thierry.hedde@cea.fr</span></a></span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&gt;
 wrote:</span><span lang="EN-US" style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span lang="EN-US" style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<div id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3919">
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black">Hi peter,<br>
<br>
To do this job you may use this tool :<br>
<a href="http://www2.mmm.ucar.edu/wrf/src/read_wrf_nc.f" target="_blank" id="yiv9221176407yui_3_16_0_ym19_1_1464322833424_3920">http://www2.mmm.ucar.edu/wrf/src/read_wrf_nc.f</a><br>
it's easy to use. I don't use NCL for extracting this kind of variables which are directly available from the wrfout file.<br>
<br>
But of course you may use one of the script given on NCL site as the one I joined which I used some time ago<br>
Or use the scripts given here :<br>
<a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/SPECIAL/meteograms.htm" target="_blank">http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/SPECIAL/meteograms.htm</a><br>
<br>
Have fun!<br>
Cheers<br>
Thierry<br>
<br>
-----Message d'origine-----<br>
De&nbsp;: <a href="mailto:wrf-users-bounces@ucar.edu" target="_blank">wrf-users-bounces@ucar.edu</a> [mailto:<a href="mailto:wrf-users-bounces@ucar.edu" target="_blank">wrf-users-bounces@ucar.edu</a>] De la part de
<a href="mailto:wrf-users-request@ucar.edu" target="_blank">wrf-users-request@ucar.edu</a><br>
Envoyé&nbsp;: mercredi 25 mai 2016 20:00<br>
À&nbsp;: <a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a><br>
Objet&nbsp;: Wrf-users Digest, Vol 141, Issue 15<br>
<br>
Send Wrf-users mailing list submissions to<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
&nbsp;&nbsp;&nbsp; <a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">
http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:wrf-users-request@ucar.edu" target="_blank">wrf-users-request@ucar.edu</a><br>
<br>
You can reach the person managing the list at<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:wrf-users-owner@ucar.edu" target="_blank">wrf-users-owner@ucar.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific than &quot;Re: Contents of Wrf-users digest...&quot;<br>
<br>
<br>
Today's Topics:<br>
<br>
&nbsp; 1. Re: NCL Script to extract ASCII data from wrfout (Peter Tuju)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 25 May 2016 04:37:40 &#43;0000 (UTC)<br>
From: Peter Tuju &lt;<a href="mailto:peterenos@ymail.com" target="_blank">peterenos@ymail.com</a>&gt;<br>
Subject: Re: [Wrf-users] NCL Script to extract ASCII data from wrfout<br>
To: &quot;<a href="mailto:wrf-users-request@ucar.edu" target="_blank">wrf-users-request@ucar.edu</a>&quot; &lt;<a href="mailto:wrf-users-request@ucar.edu" target="_blank">wrf-users-request@ucar.edu</a>&gt;,<br>
&nbsp;&nbsp;&nbsp; <a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a><br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:316471855.208077.1464151060245.JavaMail.yahoo@mail.yahoo.com" target="_blank">316471855.208077.1464151060245.JavaMail.yahoo@mail.yahoo.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Dear wrf users,?Please help me with the ncl script to extract ascii parameters say RAINC, RAINNC,
 T2, RH, U_10m, V_10m etc from wrfout.nc at a specific point latitude and longitude ?and save the output in a . csv or . txt format. Please help, I'm totally bored now!!!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160525/3c78d6bc/attachment-0001.html" target="_blank">
http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160525/3c78d6bc/attachment-0001.html
</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu" target="_blank">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br>
<br>
End of Wrf-users Digest, Vol 141, Issue 15<br>
******************************************<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>