Questions tagged [grib-2]

GRIB (from GRIdded Binary, or General Regularly-distributed Information in Binary form) has two editions - GRIB2 is the second version. It is common in weather history and forecast.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
83 views

Convert .grib2 in triangular grid to regular grid

I have ICON datasets (.grib2.bz2 file format) from Deutscher Wetterdienst (DWD) in triangular grid that I would like to transform to a regular grid. Currently, I run the following statement in my ...
2
votes
0answers
142 views

Why QGIS cannot georeference a Grib2 file with CRS (PROJ.4 and OGC WKT2)?

Situation: I have some .grib2 files that I downloaded from a (supposed to be) reliable source. When I do $ gdalsrsinfo file.grib2 I get: PROJ.4 : +proj=lcc +lat_0=38.5 +lon_0=262.5 +lat_1=38.5 +...
2
votes
0answers
140 views

GeoServer WMS using NetCDF plugin and GRIB2 time dimension

I am attempting to use GeoServer with the NetCDF plugin to create a WMS-T (WMS with time dimension) service. My input is a GRIB2 file containing a single parameter (temperature) and multiple forecast ...
2
votes
0answers
543 views

reprojection and write grib files

I'm working on GRIB file, In input, I have the file with data from 0 to 360°. As gdalwarp does not write GRIB file (only gdal_translate), I use gdal warp to projct data from [0,360] & [-90;90] to ...
2
votes
0answers
336 views

PostGIS: Querying raster data along a path

I've got a raster loaded into PostGIS that contains grib forecast data which I loaded using raster2pgsql using SRID 4326. To keep things simple I am not tiling the raster so I only have one row in my ...
1
vote
0answers
21 views

Proper way to calculate a selection of GRIB2 data points?

I have a GRIB2 file that I have successfully parsed and got an array of temperatures for a specific latitude and longitude. What would be the proper way to convert this array to a single value? I wasn'...
1
vote
0answers
108 views

Seeking source for grib data download?

I am trying to integrate wind maps into an existing map and I would like to download the latest wind data for a local area like zyGrib does and then attach it into the map. I am aware that there are ...
1
vote
0answers
152 views

Geotransformation, from sat coordinates to Earth coordiantes

I'm using this code: https://github.com/mcidasv/mcidasv/blob/master/ucar/unidata/geoloc/projection/sat/GEOSTransform.java to retrieve longitude and latitude in Earth system from column, line ...
0
votes
0answers
44 views

Reprojecting Rotated Lat-Lon Grids gives GDAL Warp Error

I have stumbled on an unusual error that I have not encountered in GDAL previously. I downloaded a GRIB2 file that contains several data grids. This file is described as a rotated lat-lon grid with ...
0
votes
0answers
30 views

How to read multiple GRIB files in R and take mean of those rasters?

I have downloaded multiple monthly mean GRIB files from https://cds.climate.copernicus.eu/cdsapp#!/dataset/ecv-for-climate-change?tab=form for Surface Air temperature , from 1979 to 1990. 144 GRIB ...
0
votes
0answers
43 views

Wrong scale units when reading raster grib2 in QGIS 3

I downloaded grid2 files to read meteorogical variables. I wanted to read them through QGIS 3.10.2 (windows and I have to stick with this version) but I encountered problems with the scale of the ...
0
votes
0answers
20 views

MapServer: How to find all high and low spots in a raster?

I'm currently tinkering with MapServer to see if it could work as a backend for the remodel of my hobby stormchaser website. Is it possible (in MapServer) to find all high and low spots in a raster ...
0
votes
0answers
71 views

How to gdal_translate a NOAA GFS grib2 file and cut a piece out with -projwin (coordinate system chaos)?

So I'm trying to convert NOAA GFS gribs files to PNGs with gdal_translate. My grib2s have a pretty big area undefined with wgrib, which appears in white on the resulting image. I have been trying for ...
0
votes
0answers
48 views

Reading some NOMADS grib files fails

I am trying to read in a file from https://nomads.ncep.noaa.gov I can read all multigrid files like here but my script fails to read files from other links that are supposed to be Grib files such as ...
0
votes
0answers
17 views

Add extra metadata to each message of a GRIB file?

I wonder, is there a tool to allow one add an extra metadata to each message of a GRIB file? For example: from grib_dump of a GRIB file, I have: #============== MESSAGE 6 ( length=976330 ) ...
0
votes
0answers
16 views

Missing grib metadata when using CDO tool to invert Lat axis from South-North to North-South?

I have a grib file (it is quite big) and I tried to use cdo to copy it to another grib file. cdo -R copy ws10m_mean24h.grib test.grib However, in this diff: https://www.diffchecker.com/w25sayVz it ...
0
votes
1answer
114 views

Create KML "animation" / time domain from separate KML files

I'm currently working on creating a weather map system with leaflet. I'm using grads to create KML files from NOAA/NCEP GFS data in grib2 format. Grads seems to be only able to write out one layer pro ...
0
votes
0answers
785 views

Showing global temperature data in Leaflet layers by GRIB2 files?

Wind data already shown in map by danwild/leaflet-velocity Now I want add temperature to map by tiles. How can I convert GRIB2 files to tiles?
0
votes
1answer
92 views

Eccodes grib_copy - How to identify the levels and parameters?

I would like to generate a grib from a full GFS grib2 having, for example, only the U and V component for 850 hPa. To do so, I've seen I could use the eccodes library or the command line grib_copy but ...
-1
votes
1answer
24 views

Projecting rectangular stereography centred on 42°N, 10°E

I have a precipitation GRIB2 file obtained at EUMETSAT H-SAF I am able to decode it to ascii but the software I am using (gdal, ArcMap,...) does not recognize the projection (in the title) so I am not ...