<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Grads User List I'm looking for some help with g2grb. </div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am trying to save 500mb height anomaly fields to a grib file and I've tried the following g2grb commands and all of the files are empty. The script runs w/out issue; the output from the runs are below. </div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Am I looking for the wrong variable? The input files are 500mb fields with one field being GP500mb and the other being Z500mb. When I run d smth9(GP500mb.1 - Z500mb.2) I get a series of height anomaly maps for all 21 timesteps. I'm using the default template.grb2
template. </div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
define anomaly=(GP500mb.1 - Z500mb.2)</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
g2grb anomaly GP_Var.grib d=2024102300:GP:500 mb:24 hour fcst</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
g2grb anomaly HGT_Var.grib d=2024102300:HGT:500 mb:24 hour fcst</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
For GP</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
ga-> g2grb anomaly GP_Var.grib d=2024102300:GP:500 mb:6 hour fcst</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
dlon=0.25 nx = 1441 lon0 = 0</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Y is varying Lat = -90 to 90 Y = 1 to 721</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
dlat=0.25 ny = 721 lat0 = -90</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
new grads found undef=-999000000.000000</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
making template file</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
! /home/rm11714/wgrib2 /Archive/grib/template.grb2 -d 1 -lola 0:1441:0.25 -90:721:0.25 GP_Var.grib.template grib</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
1:0:d=2009080100:var discipline=0 master_table=2 parmcat=255 parm=255:no_level:-2147483647 missing fcst:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
opening fwrite GP_Var.grib.tmp</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
going to display anomaly</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
result is Wrote 1038961 of 1038961 elements to GP_Var.grib.tmp as Sequential Big_Endian</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
metadata = 1:0:d=2024102300:GP:500 mb:6 hour fcst:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
! /home/rm11714/wgrib2 GP_Var.grib.template -import_ieee GP_Var.grib.tmp -set_metadata GP_Var.grib.inv -undefine_val -999000000.000000 -grib_out GP_Var.grib</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
1:0:d=2024102300:GP:500 mb:6 hour fcst:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
!rm GP_Var.grib.tmp GP_Var.grib.inv</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
!rm GP_Var.grib.template</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
For HGT</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
ga-> g2grb anomaly HGT_Var.grib d=2024102300:HGT:500 mb:6 hour fcst</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
dlon=0.25 nx = 1441 lon0 = 0</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Y is varying Lat = -90 to 90 Y = 1 to 721</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
dlat=0.25 ny = 721 lat0 = -90</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
new grads found undef=-999000000.000000</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
making template file</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
! /home/rm11714/wgrib2 /Archive/grib/template.grb2 -d 1 -lola 0:1441:0.25 -90:721:0.25 HGT_Var.grib.template grib</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
1:0:d=2009080100:var discipline=0 master_table=2 parmcat=255 parm=255:no_level:-2147483647 missing fcst:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
opening fwrite HGT_Var.grib.tmp</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
going to display anomaly</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
result is Wrote 1038961 of 1038961 elements to HGT_Var.grib.tmp as Sequential Big_Endian</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
metadata = 1:0:d=2024102300:HGT:500 mb:6 hour fcst:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
! /home/rm11714/wgrib2 HGT_Var.grib.template -import_ieee HGT_Var.grib.tmp -set_metadata HGT_Var.grib.inv -undefine_val -999000000.000000 -grib_out HGT_Var.grib</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
1:0:d=2024102300:HGT:500 mb:6 hour fcst:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
!rm HGT_Var.grib.tmp HGT_Var.grib.inv</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
!rm HGT_Var.grib.template</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for the look</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Rob</div>
COMPANY CONFIDENTIALITY NOTICE: The information in this e-mail may be confidential and/or privileged and protected by work product immunity or other legal rules. No confidentiality or privilege is waived or lost by mis-transmission. If you are not the intended
recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination, or copying of this e-mail and its attachments, if any, or the information contained herein is prohibited. If you have received this
e-mail in error, please immediately notify the sender by return e-mail and delete this e-mail from your computer system.
</body>
</html>