<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css"><!--#xd7e332ca0b224bb p.MsoNormal
{margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;}
#xd7e332ca0b224bb div.WordSection1
{page: WordSection1;}
--></style><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
--></style>
</head>
<body>
<div>hi Mike</div>
<div><br>
</div>
<div>first, I'd do wgrib2 -V, but suspect it has the same grib2 parameters.  I'd use wgrib2 to separate the two fields into separate files...</div>
<div><br>
</div>
<div id="signature_old">
<div id="x8f018f01bc4b4a58894c5b6a4e3a55c0">
<div id="x93967ce21a0947d291a1197fb14e5013">Best Regards, Mike<br>
<br>
Michael Fiorino, Ph.D. (meteorology, NPS)<br>
Commander, US Navy (retired)<br>
AOES George Mason University<br>
Fairfax, VA<br>
<br>
<a href="mailto:mfiorino@gmu.edu">mfiorino@gmu.edu</a> (GMU)<br>
<a href="mailto:tenkiman@pm.me">tenkiman@pm.me</a> (home)</div>
<div id="x93967ce21a0947d291a1197fb14e5013"><br>
</div>
<div id="x93967ce21a0947d291a1197fb14e5013">+1 720-204-0876 (mobile)<br>
<br>
AOES is the Atmospheric, Oceanic and Earth Sciences department<br>
<a href="https://science.gmu.edu/academics/departments-units/atmospheric-oceanic-earth-sciences">https://science.gmu.edu/academics/departments-units/atmospheric-oceanic-earth-sciences</a><br>
<br>
"Well Mike, it just goes to show ya, it's always something--if it ain't one thing, it's another"<br>
-- Roseanne Roseannadanna</div>
<div></div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>------ Original Message ------</div>
<div>From "<a href="mailto:mike@weatherwatch.net.au">mike@weatherwatch.net.au</a>" <<a href="mailto:mike@weatherwatch.net.au">mike@weatherwatch.net.au</a>></div>
<div>To "'GrADS Users Forum'" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>></div>
<div>Date 12/10/2022 1:04:14 AM</div>
<div>Subject [gradsusr] Issue with duplicate Varible in GRIB Data</div>
</div>
<div><br>
</div>
<div id="xd7e332ca0b224bb" style="word-wrap:break-word">
<blockquote cite="533801d90c5d$3b5b47b0$b211d710$@weatherwatch.net.au" type="cite" class="cite2">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><o:p xmlns:o="#unknown"> </o:p></p>
<p class="MsoNormal">I am currently dealing with an issue with GRIB2 data from The Australian BOM – They offer GRIB2 data for forecast satellite imagery.  The issue though is that the 2 different satellite images both use the same variable name of BRTEMP (see
 below):<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><o:p xmlns:o="#unknown"> </o:p></p>
<p class="MsoNormal">wgrib2 IDY25001.APS3.syncld.slv.2022120612.120.surface.grb2<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">1:0:d=2022120612:BRTEMP:no_level:120 hour fcst:GMS 5 VISSR (GMS-5) 10.79 um<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">2:171088:d=2022120612:BRTEMP:no_level:120 hour fcst:MTSAT-2 IMAGER/MTSAT-2 6.80 um<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><o:p xmlns:o="#unknown"> </o:p></p>
<p class="MsoNormal">How do I deal with this when creating a control file with g2ctl? Is this data unusable with GRADS because of this situation? If I just run g2ctl with no config, it produces a control file as follows:<br>
<br>
dtype grib2<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">options template<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">ydef 512 linear -54.902344 0.117187<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">xdef 427 linear 95.009765 0.175781<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">tdef 5 linear 00Z10dec2022 3hr<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">zdef 1 linear 1 1<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">vars 1<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">BRTEMP  0,-1 0,5,7 ** no_level Brightness Temperature [K]<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal">ENDVARS<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><o:p xmlns:o="#unknown"> </o:p></p>
<p class="MsoNormal">Then when I try and display that data I get all undefined data.<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><o:p xmlns:o="#unknown"> </o:p></p>
<p class="MsoNormal">Cheers, Mike<o:p xmlns:o="#unknown"></o:p></p>
</div>
</blockquote>
</div>
</body>
</html>