<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Jason-<div><br></div><div>You can achieve the desired result by writing a control file (sometimes called a data descriptor file) to redefine the times on one set of files to match the times on the other set.</div><div><br></div><div>For example, the contents of the data descriptor file might look like</div><div><br></div><div>DSET filename_template.%y4%m2%d2.nc4</div><div>OPTIONS template</div><div>TDEF time 8 linear 0z1jan2009 3hr</div><div><br></div><div>where in my example filename_template.%y4%m2%d2.nc4 is the path and filename template describing the dataset you wish to modify and I assume you are dealing a total of 8 times spaced 3 hours apart in time. You'd need to edit that DSET line to look like the particular filenames you're working with, obviously. See the documentation for data descriptor files: <a href="http://www.iges.org/grads/gadoc/descriptorfile.html">http://www.iges.org/grads/gadoc/descriptorfile.html</a> and look especially at the link for "Using Templates".</div><div><br></div><div>Then you can xdfopen the data descriptor file to work with that data set and open the other file set as before.</div><div><br></div><div>Pete</div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Jan 21, 2010, at 2:43 AM, Jason Snyder wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I have a data set with time signatures so that at time 1 (when I enter set t 1) for example the date is January 1 2009 3:00z. There is another data set that I want to use with this data set with time signatures so that at time 1,(when I enter set t 1) the date is January 1 2009 0:00 z. How am I able to use the two data sets together in calculations when each has time steps starting on different hours Z (3:00 z versus 0:00 z)? Or how do I correct the time on the first data set where each time step begins on 3:00 z?</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Jason</div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">--------------------------------------------------------------------</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Peter Colarco</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">NASA GSFC</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Code 613.3</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">NASA Goddard Space Flight Center</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Greenbelt, MD 20771</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">301.614.6382 (ph)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">301.614.5903 (fax)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:peter.r.colarco@nasa.gov">peter.r.colarco@nasa.gov</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="http://hyperion.gsfc.nasa.gov/People/Colarco">http://hyperion.gsfc.nasa.gov/People/Colarco</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">--------------------------------------------------------------------</font></div><div><br class="webkit-block-placeholder"></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>