Skip to content

Conversation

@dzole0311
Copy link

@dzole0311 dzole0311 commented Sep 17, 2025

Issue

N/A

What?

  • Added .grib2,.GRIB2 to CPL_VSIL_CURL_ALLOWED_EXTENSIONS in vedaRasterSettings.env
  • Added the same setting in docker-compose.yml under the raster service

Why?

Currently only tiff extensions are whitelisted by GDAL, so when trying to stream GRIB2 files directly to the Raster API, it throws an error (see testing url below). Some VEDA tools (eg. the fire tool) currently stream GRIB2 files to TiTiler for fetching wind information but still rely on the public demo TiTiler instance. We’d like to switch them over to the openveda raster API and for that grib2 support is needed.

Testing?

Tested locally:

  • Ran docker compose up
  • Verified .grib2 requests were rejected before the change and succeed after the update using this url in Chrome:
    http://localhost:8082/cog/preview.png?rescale=-127,128&url=vrt:///vsicurl/https://noaa-hrrr-bdp-pds.s3.amazonaws.com/hrrr.20250512/conus/hrrr.t06z.wrfsfcf04.grib2?bands=10,11&format=png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants