<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<br>
<div>
<blockquote type="cite"><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto;">
<p><span style="font-size: 12pt;">I'm emailing you directly instead of posting to the GrADS Mailing List because I'm not sure if my question is even possible...</span></p>
<div><br>
</div>
</div>
</div>
</blockquote>
<div><b><i>All </i></b>questions are valid and should be shared with the hive mind of the forum instead of just one person. I may know a lot of answers, but posting the whole group is ALWAYS better. When you post to the forum, your question and the answer (if
you ask your question properly) get shared with the community and are available in the archives for the next time someone has the same question. Also, it is a tremendous help to me when other users contribute to the task of answering questions. </div>
<div><br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto;">
<p><br>
</p>
<p>Do you know of any way to combine (via lterp or some similar function) multiple GRIB model datasets (GFS, HRRR, GEM, NAM, etc) and create an average from it, using GrADS? I realize that this might not be possible because each of the datasets have different
spatial and temporal resolutions.</p>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Sure, this is possible with lterp. For example,</div>
<div><br>
</div>
<div>‘set dfile 1'</div>
<div>foo=‘12z02june2016'</div>
<div>‘set time ‘foo</div>
<div>'avg = (var.1+lterp(var.2(time=‘foo’),var.1)+lterp(var.3(time=‘foo’),var.1))/3’</div>
<div><br>
</div>
<div><br>
</div>
<div>—Jennifer</div>
<div><br>
</div>
<div><br>
</div>
<br>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</body>
</html>