I am trying to process GRIB2 files that contain forecast_time in minutes, but ungrib does not seem to recognize the time in minutes and is failing during the processing.
When I use the ncl_filedump tool to inspect the GRIB2 file, it correctly identifies the forecast_time as 40 minutes.
However, when I try to use ungrib in WPS, it does not seem to process the file correctly, likely due to the fact that ungrib is expecting the forecast_time to be in hours rather than minutes.
Should I modify the GRIB2 file, modify the Vtable, or do something else to ensure that the forecast_time in minutes format in the GRIB2 file can be successfully recognized by ungrib?
(ncl_stable) :~/Build_WRF/WPS$ ncl_filedump WRFPRS_20170822064000WRFPRS00.40.Grb
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See NCAR Command Language (NCL) for more details.
Variable: f
Type: file
filename: WRFPRS_20170822064000WRFPRS00.40
path: /home/wanglue/Research_SSD2/wrfout_to_grib2_run_1713/grib2_files/WRFPRS_20170822064000WRFPRS00.40.Grb
file global attributes:
dimensions:
lat_0 = 339
lon_0 = 561
lv_HYBL0 = 57
lv_HTGL1 = 2
lv_SPDL2 = 6
lv_SPDL3 = 3
lv_SPDL4 = 3
lv_HTGL5 = 2
lv_DBLL6 = 4
variables:
float TMP_P0_L1_GME0 ( lat_0, lon_0 )
center : US National Weather Service - NCEP (WMC)
production_status : Operational products
long_name : Temperature
units : K
_FillValue : 1e+20
grid_type : Mercator
parameter_discipline_and_category : Meteorological products, Temperature
parameter_template_discipline_category_number : ( 0, 0, 0, 0 )
level_type : Ground or water surface
level : 0
forecast_time : 40
forecast_time_units : minutes
initial_time : 08/22/2017 (06:00)
When I use the ncl_filedump tool to inspect the GRIB2 file, it correctly identifies the forecast_time as 40 minutes.
However, when I try to use ungrib in WPS, it does not seem to process the file correctly, likely due to the fact that ungrib is expecting the forecast_time to be in hours rather than minutes.
Should I modify the GRIB2 file, modify the Vtable, or do something else to ensure that the forecast_time in minutes format in the GRIB2 file can be successfully recognized by ungrib?
(ncl_stable) :~/Build_WRF/WPS$ ncl_filedump WRFPRS_20170822064000WRFPRS00.40.Grb
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See NCAR Command Language (NCL) for more details.
Variable: f
Type: file
filename: WRFPRS_20170822064000WRFPRS00.40
path: /home/wanglue/Research_SSD2/wrfout_to_grib2_run_1713/grib2_files/WRFPRS_20170822064000WRFPRS00.40.Grb
file global attributes:
dimensions:
lat_0 = 339
lon_0 = 561
lv_HYBL0 = 57
lv_HTGL1 = 2
lv_SPDL2 = 6
lv_SPDL3 = 3
lv_SPDL4 = 3
lv_HTGL5 = 2
lv_DBLL6 = 4
variables:
float TMP_P0_L1_GME0 ( lat_0, lon_0 )
center : US National Weather Service - NCEP (WMC)
production_status : Operational products
long_name : Temperature
units : K
_FillValue : 1e+20
grid_type : Mercator
parameter_discipline_and_category : Meteorological products, Temperature
parameter_template_discipline_category_number : ( 0, 0, 0, 0 )
level_type : Ground or water surface
level : 0
forecast_time : 40
forecast_time_units : minutes
initial_time : 08/22/2017 (06:00)