<div dir="ltr"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8px">Dear NCL experts,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am trying to convert a grb file to netcdf using ncl_convert2nc. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Attached are the output of ncl_filedump and ncdump -h. The raw file can be accessed </div><div style="font-size:12.8px">here:</div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><a href="https://www.dropbox.com/s/zcsik2tl8qpgjwi/fcst_phy2m125.1979010100?dl=0">https://www.dropbox.com/s/zcsik2tl8qpgjwi/fcst_phy2m125.1979010100?dl=0</a></span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am converting the file using the following command:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><b>ncl_convert2nc fcst_phy2m125.1979010100.grb -u -U time</b><br></div><div style="font-size:12.8px"><b><br></b></div><div style="font-size:12.8px">This is weird because the ncl_filedump has the "initial_time" attibute. Example:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>      float ULWRF_GDS0_SFC_ave3h ( g0_lat_0, g0_lon_1 )</div><div>         sub_center :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>241</div><div>         center :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>Japanese Meteorological Agency - Tokyo (RSMC)</div><div>         long_name :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Upward long wave radiation flux</div><div>         units :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>W/m^2</div><div>         _FillValue :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>1e+20</div><div>         level_indicator :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>1</div><div>         gds_grid_type :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>0</div><div>         parameter_table_version :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>200</div><div>         parameter_number :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>212</div><div>         forecast_time :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>3</div><div>         forecast_time_units :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>hours</div><div>         initial_time :<span class="gmail-m_-3584914191868895001gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>01/01/1979 (00:00)</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">It does not give an error but no "unlimited time" dimension is created:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>determining unlimited dimension dynamically</div><div>if   of</div><div>Processing file: fcst_phy2m125.1979010100.grb..<wbr>.</div><div> Copyright (C) 1995-2017 - All Rights Reserved</div><div> University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 6.4.0</div><div> The use of this software is governed by a License Agreement.</div><div> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Any suggestion on how to do this correctly?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'll appreciate any help.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Sincerely,</div></div><div><br></div><div>Lyndz<br></div></div></div></div></div></div></div></div></div></div></div>
</div>