<div>I tried the script but how do I get it to turn the date to a number? I ran this script and it does not seem to do anything except create the text file date.txt, which shows the date as December 31 2008 0 hours. when I enter </div>
<div>ga-'>set t 1 </div>
<div> </div>
<div>I still get the date <br></div>
<div>Time values set: 2009:1:1:3 2009:1:1:3, </div>
<div> </div>
<div>where I would like it to be </div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Time values set: 2009:1:1:0 2009:1:1:0., which is what the other netcdf file has.</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Nothing has really changed in terms of the time settings when I used this script. How do I use it? Do I have to run it on both .nc files I want to use and then I can use them together?</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Let me know.</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Thank,</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Jason</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">On Thu, Jan 21, 2010 at 11:10 AM, eliav schmulewitz <span dir="ltr"><<a href="mailto:eliavs@gmail.com">eliavs@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr"><br><br>
<div class="gmail_quote">On Thu, Jan 21, 2010 at 9:07 PM, eliav schmulewitz <span dir="ltr"><<a href="mailto:eliavs@gmail.com" target="_blank">eliavs@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr"><br>Jason<br></div></blockquote>
<div>Hi again<br>i found the old script i wrote here is the part that turns string date to number:<br>'<br> 'q time'<br>date=subwrd(result,3)<br>hour=substr(date,1,3)<br>day=substr(date,4,2)<br>month=substr(date,6,3)<br>
year=substr(date,9,10)<br>'!date -d 'date' +%m >> date.txt'<br>a=read('date.txt')<br>month1=sublin(a,2)<br>' <br></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr">eliav<br></div></blockquote></div><br></div></blockquote></div><br>