<div dir="ltr"><div dir="ltr"><div>Hi Vanucia,</div><div>What is the error? and which line do you think is problematic?</div><div>I think you should use integer for year, month and day numbers:</div><div><br></div><div>        y    := tointeger( str_get_field(data(j), 1, "-") )<br>        m   := tointeger( str_get_field(data(j), 2, "-") )<br>        d    := tointeger( str_get_field(data(j), 3, "-") )</div><div><br></div><div>However I am not what is the issue here. It is more helpful when you provide specific error messages and variable summaries etc.</div><div><br></div><div>Cheers,</div><div>Rashed<br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 29, 2020 at 4:20 AM Vanúcia Schumacher via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<span style="margin:0px;font-size:12pt;color:rgb(51,51,51)">Hi users</span></div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<span style="margin:0px;font-size:12pt;color:rgb(51,51,51)">I would like help to save 1 file per day-time.</span></div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<span style="margin:0px;font-size:12pt;color:rgb(51,51,51)">The data are in list format, I need to calculate the routine commands (attachment) for the year 2018 by a separate day
<span style="font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255);display:inline">
(e.g. <a href="http://2018.12.30.nc" target="_blank">2018.12.30.nc</a>, <a href="http://2018.12.31.nc" target="_blank">2018.12.31.nc</a>, ... )</span>, there are several informations for each day </span><span style="margin:0px"><br>
</span><span style="margin:0px;font-size:12pt;color:rgb(51,51,51)">I tried to use the if condition but it is not working</span></div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<span style="margin:0px;font-size:12pt;color:rgb(51,51,51)">If someone can help me or guide me in what I am missing.</span><br>
</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<span style="margin:0px"><br>
</span></div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<span style="margin:0px;font-size:12pt;color:rgb(51,51,51)">Thanks</span></div>
<br>
</div>
</div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div>