<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><SPAN style="RIGHT: auto">
<DIV style="RIGHT: auto"><SPAN style="RIGHT: auto"><BR style="RIGHT: auto" class=yiv603419998yui-cursor></SPAN></DIV>
<DIV>Hola Mario que tal como estas?</DIV>
<DIV style="RIGHT: auto">Gracias por lo que me decis pero lo mio es operativo y el archivo en ASCII con la fecha lo arma automaticamente un script,que ejecuto en un servidor con linux . Por eso viene mi pregunta, como leer automaticamente el archivo ASCII o binario, porque es operativo. El resto del grafico y los titulos no tengo problema ya lo tengo armado<BR><SPAN class=yiv603419998hps></SPAN></DIV>
<DIV style="RIGHT: auto"><SPAN style="RIGHT: auto" class=yiv603419998hps></SPAN>&nbsp;</DIV>
<DIV style="RIGHT: auto"><SPAN style="RIGHT: auto" class=yiv603419998hps>Mario</SPAN> <SPAN class=yiv603419998hps>Hello</SPAN> <SPAN class=yiv603419998hps>how are you</SPAN> <SPAN class=yiv603419998hps>such</SPAN><SPAN style="RIGHT: auto">?</SPAN><BR><SPAN style="RIGHT: auto" class=yiv603419998hps>Thank you for</SPAN> <SPAN class=yiv603419998hps>what you say</SPAN> <SPAN class=yiv603419998hps>but</SPAN> <SPAN class=yiv603419998hps>mine is</SPAN> <SPAN class=yiv603419998hps>operating</SPAN> <SPAN class=yiv603419998hps>and the</SPAN> <SPAN class=yiv603419998hps>ASCII</SPAN> <SPAN class=yiv603419998hps>file</SPAN> <SPAN class=yiv603419998hps>with the date</SPAN> <SPAN class=yiv603419998hps>the</SPAN> <SPAN class=yiv603419998hps>weapon</SPAN> <SPAN class=yiv603419998hps>automatically</SPAN> <SPAN class=yiv603419998hps>a script, which</SPAN> <SPAN class=yiv603419998hps>runs on a</SPAN> <SPAN class=yiv603419998hps>Linux</SPAN> <SPAN
 class=yiv603419998hps>server</SPAN><SPAN>.</SPAN> <SPAN class=yiv603419998hps>So</SPAN> <SPAN style="RIGHT: auto" class=yiv603419998hps>my question</SPAN> <SPAN class=yiv603419998hps>is</SPAN><SPAN>, how to read</SPAN> <SPAN style="RIGHT: auto" class=yiv603419998hps>ASCII or binary</SPAN>&nbsp;<SPAN class=yiv603419998hps>file</SPAN> <SPAN class=yiv603419998hps>automatically</SPAN><SPAN>, because it is</SPAN> <SPAN class=yiv603419998hps>operating</SPAN><SPAN>.</SPAN> <SPAN class=yiv603419998hps>The rest of the</SPAN> <SPAN class=yiv603419998hps>chart and</SPAN> <SPAN class=yiv603419998hps>the titles</SPAN> <SPAN class=yiv603419998hps>I have no problem</SPAN> <SPAN class=yiv603419998hps>I have it</SPAN> <SPAN style="RIGHT: auto" class=yiv603419998hps>reinforced</SPAN></DIV>
<DIV style="RIGHT: auto"><SPAN style="RIGHT: auto" class=yiv603419998hps></SPAN>&nbsp;</DIV>
<DIV style="RIGHT: auto"><SPAN style="RIGHT: auto" class=yiv603419998hps></SPAN>&nbsp;</DIV>
<DIV style="RIGHT: auto"><STRONG style="RIGHT: auto"><FONT size=5><SPAN style="RIGHT: auto" class=hps>Can someone tell me</SPAN> <SPAN class=hps>what is wrong</SPAN> <SPAN class=hps>because the date</SPAN> <SPAN class=hps>did not</SPAN> <SPAN style="RIGHT: auto" class=hps>draw?</SPAN></FONT></STRONG></DIV>
<DIV style="RIGHT: auto"><STRONG></STRONG>&nbsp;</DIV>
<DIV style="RIGHT: auto">This is the example.gs&nbsp; fecha is the ASCII file that contein the fech read automatically<VAR id=yui-ie-cursor></VAR><BR style="RIGHT: auto" class=yui-cursor></DIV></SPAN>
<div style="RIGHT: auto">'reset'<BR>'reinit'<BR>'open c:\example.ctl'<BR>'enable print c:\example1.gmf'<BR>'set strsiz .16'<BR>'set annot 2 6'<BR>'set display color white'<BR>'c'<BR>*** date of analisys ***</div>
<div style="RIGHT: auto">fech='c:\fecha'</div>
<div style="RIGHT: auto">'q fech'<BR>res1='read(fech)'<BR>result=sublin(res1,1)<BR>nombre=subwrd(result,3)<BR>anio=substr(nombre,9,4)<BR>mes=substr(nombre,6,3)<BR>dia=substr(nombre,4,2)<BR>tmg=substr(nombre,1,2)<BR>fec=' 'dia'/'mes'/'anio' 'tmg'UTC'<BR>'set string 1 bc'<BR>'set strsiz 0.15'<BR>'set font 0'<BR>'draw string 5.6 0.18&nbsp; Diagnostico de&nbsp; los primeros 50 mts'<BR>'set lat -60 -20'<BR>'set lon -70 -45'<BR>'set lev 25'<BR>'set clskip 3'<BR>'set clopts 2 4 0.23'<BR>'set ylopts 1 4 0.11'<BR>'set xlopts 1 4 0.11'<BR>'set grads off'<BR>'set clevs -440 -400 -360 -320 -280 -240 -200 -157'<BR>'set ccols&nbsp; 6 14 11 5 3 16 12 7 0 '<BR>'set gxout shaded'<BR>'d pn1'<BR>'run cbar.gs'<BR>'set font 0'<BR>'draw string 4.2 7.6 CARTA DIAGNOSTICADA' <BR>'draw string 4.2 7.3&nbsp;&nbsp;&nbsp;&nbsp; 'fec<BR>'disable print'<BR><BR></div>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><B><SPAN style="FONT-WEIGHT: bold">De:</SPAN></B> Mario Caffera &lt;rmcaffera@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Para:</SPAN></B> Maria Elena Segura &lt;segmalena@yahoo.com.ar&gt;; GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Enviado:</SPAN></B> jueves, 11 de agosto de 2011 23:30<BR><B><SPAN style="FONT-WEIGHT: bold">Asunto:</SPAN></B> Re: [gradsusr] How to draw a map date<BR></FONT><WBR>
<DIV id=yiv1102837568>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>María Elena,<BR><BR>&nbsp;yo siempre pongo:<BR><BR>draw title la fecha que quiero<BR><BR>y aparece arriba del mapa, luego escribo:<BR><BR>enable print nameArchivo.gmf<BR>print<BR>disable print<BR><BR>&nbsp; y me queda un archivo imagen para ver en el "gv32" que acompaña la versión de GrADs que tengo.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; saludos<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mario caffera<BR><BR>--- On <B>Thu, 8/11/11, Maria Elena Segura <I>&lt;segmalena@yahoo.com.ar&gt;</I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Maria Elena Segura &lt;segmalena@yahoo.com.ar&gt;<BR>Subject: [gradsusr] How to draw a map date<BR>To: "gradsusr@gradsusr.org" &lt;gradsusr@gradsusr.org&gt;<BR>Date: Thursday, August 11, 2011, 12:39 PM<BR><BR>
<DIV id=yiv1102837568>
<DIV style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
<DIV><SPAN lang=en><SPAN class=yiv1102837568hps><SPAN id=yiv1102837568result_box lang=en><SPAN class=yiv1102837568hps>Who</SPAN> <SPAN class=yiv1102837568hps>can tell me how</SPAN> <SPAN class=yiv1102837568hps>to put the date</SPAN> <SPAN class=yiv1102837568hps>in</SPAN> <SPAN class=yiv1102837568hps>the graphics</SPAN> <SPAN class=yiv1102837568hps>from an</SPAN> <SPAN class=yiv1102837568hps>ASCII</SPAN> <SPAN class=yiv1102837568hps>file</SPAN> <SPAN class=yiv1102837568hps>where this</SPAN> the <SPAN class=yiv1102837568hps>date.</SPAN> <SPAN class=yiv1102837568hps>The drawing</SPAN> <SPAN class=yiv1102837568hps>of the map is</SPAN> <SPAN class=yiv1102837568hps>from a</SPAN> <SPAN class=yiv1102837568hps>binary</SPAN> <SPAN class=yiv1102837568hps>file</SPAN><SPAN>.</SPAN> <SPAN class=yiv1102837568hps>I use Grads for</SPAN> <SPAN class=yiv1102837568hps>PC</SPAN> <SPAN class=yiv1102837568hps>and I have<VAR id=yiv1102837568yui-ie-cursor></VAR> a</SPAN> <SPAN
 class=yiv1102837568hps>archivo.ctl</SPAN> <SPAN class=yiv1102837568hps>and</SPAN> <SPAN class=yiv1102837568hps>script.gs</SPAN></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN lang=en><SPAN class=yiv1102837568hps><SPAN lang=en><SPAN class=yiv1102837568hps></SPAN></SPAN></SPAN></SPAN></DIV></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=yiv1102837568plainMail>_______________________________________________<WBR>gradsusr mailing list<WBR><A rel=nofollow>gradsusr@gradsusr.org</A><WBR><A href="http://gradsusr.org/mailman/listinfo/gradsusr" rel=nofollow target=_blank>http://gradsusr.org/mailman/listinfo/gradsusr</A><WBR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV><WBR><WBR></DIV></DIV></div></body></html>