<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is related to the recent thread on comparing defined variables independent of their time metadata. You must create a new data set and override the lat/lon metadata in the subsets you create. <div><br></div><div>Just for the sake of argument, and to be sure I've understood your question correctly, let's say you're looking at precip patterns around a hurricane and want to have the hurricane center be at the center of your grid for each time step and so the lat/lon values of the grid change with each new time step. I assume the grid size is the same for each time (i.e. the lat/lon increments don't change). Then,<div>1. locate the grid point that contains the hurricane center<br>2. use fwrite to write out a lat/lon grid that is centered on that grid point, let's say your grid has 101 points in the X and Y directions. </div><div>3. go to the next time step and repeat steps 1 and 2 until you've written out the number of grids of interest, say it's 48</div><div>4. write a descriptor file that contains the following entries:</div><div><br></div><div>xdef 101 linear -50 1</div><div>ydef 101 linear -50 1</div><div>tdef 48 linear <initial_time> <time_increment></div><div><br></div><div><div>When you look at this data in GrADS, be sure to 'set mproj off' and then it won't try to map your grids to world coordinates, X and Y will just be abstract coordinates, and (0,0) will always be the location of the center of the hurricane. Then you can do whatever analysis you want without worrying that your grids are not co-located in lat/lon space. You could animate over time and see blobs of precip rotating around the center of your grid. Is that what you need? </div><div><br></div><div>--Jennifer</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><div>On Jul 19, 2011, at 4:36 PM, Rowell, Mason D. wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello Grads community,<br><br>I can see from the tutorial that one can open several different case files in grads(file1, file2 etc) and average the data from these files for subsequent display. Is there an advanced option that would allow me to specify the domain for each case and then average them? I was hoping to use this function to easily complete an average of 25 cases or so but relative to some specific type of event, which requires different domain centering for each case prior to averaging.<br><br>Mason <br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></div></body></html>