<div dir="ltr"><div><div><div><div>Good day all,<br><br></div>Just downloaded an archived GFS data file from NOMADS. <br><br>gfs_3_20160814_0000_003.grb<br><br><br><br></div>Now I convert it to a NetCDF file by the following command:<br><br>~/nclDnS/datasets$ ncl_convert2nc gfs_3_20160814_0000_003.grb<br><br></div>It does its thing and works, good now I want to practice with it. Therefore I use a script from the FAQ question section:<br><br>begin<br>  grib_file  = addfile(&quot;gfs_3_20160814_0000_003.grb&quot;,&quot;r&quot;)  ; Open GRIB file to read<br>  ncfile_out = addfile(&quot;<a href="http://data.nc">data.nc</a>&quot;,&quot;c&quot;)             ; Open NetCDF file to write<br><br>; Write some data to NetCDF file.<br>  ncfile_out-&gt;HGT   = grib_file-&gt;HGT_6_SFC <br>  ncfile_out-&gt;A_PCP = grib_file-&gt;A_PCP_6_SFC_acc<br>  ncfile_out-&gt;NCPCP = grib_file-&gt;NCPCP_6_SFC_acc<br>  ncfile_out-&gt;ACPCP = grib_file-&gt;ACPCP_6_SFC_acc<br>  ncfile_out-&gt;CAPE  = grib_file-&gt;CAPE_6_SFC<br>end<br><br></div>ERROR//<br><br><div><br> <br> Copyright (C) 1995-2015 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.3.0<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.<br>warning:NclGRIB: Unrecognized parameter table (center 7, subcenter 0, table 255), defaulting to NCEP operational table: variable names and units may be incorrect<br>warning:NclGRIB: Unknown grib parameter number detected (255, center 7, table version 255 grib record 3), using default variable name (VAR_255)<br>warning:NclGRIB: Unknown grib parameter number detected (191, center 7, table version 133 grib record 308), using default variable name (VAR_191)<br>fatal:[&quot;Execute.c&quot;:6332]:variable (HGT_6_SFC) is not in file (grib_file)<br>fatal:[&quot;Execute.c&quot;:8575]:Execute: Error occurred at or near line 7 in file writegrib.ncl<br><br><br></div></div>