Missing "v"-component of wind from NAM GRIB files.
See original GitHub issueI commented on #45 a few weeks ago, but I decided to create a new ticket since that ticket is closed and most likely not being tracked. For reference, I was the original reporter of that Issue. Here is the comment from that ticket:
I’m just now revisiting this, and I’m still experiencing the same bug where the
u
winds are present but thev
winds are not. This is usingcfgrib
version0.9.7.3
. Below is the output from opening a NAMawphys**
GRIB2 file which can be found within this database. I’ve made sure to check all thexarray.Dataset
objects output by thecfgrib.open_datasets
method and none containv
winds.
<xarray.Dataset>
Dimensions: (isobaricInhPa: 39, x: 614, y: 428)
Coordinates:
time datetime64[ns] 2019-10-30
step timedelta64[ns] 00:00:00
* isobaricInhPa (isobaricInhPa) int64 1000 975 950 925 900 ... 125 100 75 50
latitude (y, x) float64 12.19 12.22 12.25 12.28 ... 57.39 57.36 57.33
longitude (y, x) float64 226.5 226.6 226.8 226.9 ... 310.3 310.4 310.6
valid_time datetime64[ns] 2019-10-30
Dimensions without coordinates: x, y
Data variables:
t (isobaricInhPa, y, x) float32 ...
u (isobaricInhPa, y, x) float32 ...
w (isobaricInhPa, y, x) float32 ...
gh (isobaricInhPa, y, x) float32 ...
r (isobaricInhPa, y, x) float32 ...
tke (isobaricInhPa, y, x) float32 ...
Attributes:
GRIB_edition: 2
GRIB_centre: kwbc
GRIB_centreDescription: US National Weather Service - NCEP
GRIB_subCentre: 0
Conventions: CF-1.7
institution: US National Weather Service - NCEP
Additional information requested from your contributing guidelines:
- OS: macOS High Sierra v10.13.6
- Installed using
pip
withxarray==0.14.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:15
Top Results From Across the Web
NDFD GRIB All Sections - MDL - Virtual Lab - NOAA VLab
When contents are described as "Missing," all bits are set to "1" in accordance with regulation 92.1. 4.
Read more >Nerd talk: Interpolation Part Two: Wind - LuckGrib
Most GRIB files use the first method to represent wind - the files describe wind as a vector defined at each point.
Read more >qgis - Missing Global Forecast System wind data in northern ...
I've also opened the GRIB2 files in Panoply and the both wind components at all levels offered are there and complete. Does this...
Read more >cfgrib · PyPI
Python interface to map GRIB files to the NetCDF Common Data Model ... used in some GRIB products to store u and v...
Read more >wind vector direction in NAM and NARR data
and then added the rotations to the m file for NAM/NARR winds. ... to Matlab "ncread" parts of the code since it can't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Testing for GFS and RAP also confirms this is now resolved in 0.9.8.2. Great work on solving this.
I just tested on a NAM grib and it appears that the u and v components are now available. Thank you for the continued support of this issue. I hope this turns out to be stable and reliable!