<div>I cannot find a .ctl file for this data set. I got it from the following website:</div>
<div> </div>
<div><a href="http://portal.nccs.nasa.gov/cgi-lats4d/webform.cgi?&i=GEOS-5/yotc/0.25_deg/assim/inst3_3d_aer_Nv">http://portal.nccs.nasa.gov/cgi-lats4d/webform.cgi?&i=GEOS-5/yotc/0.25_deg/assim/inst3_3d_aer_Nv</a></div>
<div> </div>
<div>I tried changing the hours from 3 to 0 there but I got buggy files that do not open in GrADS. I could not find a control file. Can I make one and redefine TDEF? If so how?<br><br></div>
<div class="gmail_quote">On Thu, Jan 21, 2010 at 12:15 PM, Jeffrey Duda <span dir="ltr"><<a href="mailto:jdduda@iastate.edu">jdduda@iastate.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I tried it out on one of my own .ctl files and it worked just fine. Realize that you won't be able to plot data outside the time range of the initial data, but it syncs up the times just fine.
<div>
<div></div>
<div class="h5"><br><br>
<div class="gmail_quote">On Thu, Jan 21, 2010 at 2:12 PM, Jeffrey Duda <span dir="ltr"><<a href="mailto:jdduda@iastate.edu" target="_blank">jdduda@iastate.edu</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"><br>Jason,<br><br>Have you tried simply changing the TDEF line in the .ctl file to the time you want?<br>
<br>Jeff Duda
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Thu, Jan 21, 2010 at 2:06 PM, Jason Snyder <span dir="ltr"><<a href="mailto:jmssnyder@ucdavis.edu" target="_blank">jmssnyder@ucdavis.edu</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>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" target="_blank">eliavs@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 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></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>
3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br></font></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>
3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br></div></div></blockquote></div><br>