OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
weather.hrrr_tiles Namespace Reference

Download one HRRR GRIB field, decode with GDAL, and render map tiles. More...

Classes

class  HrrrTileSource
 Cache decoded fields and serialize native work to limit phone memory use. More...
 

Functions

 check_gdal_tools ()
 Require native tools packaged by Termux, without Python GDAL bindings.
 
 tile_bounds (z, x, y)
 Return an XYZ tile's EPSG:3857 bounds.
 
 location_tile (latitude, longitude, zoom=7)
 Return the XYZ tile containing a geographic location.
 
 reflectivity_summary (data)
 Count covered and visible-reflectivity pixels without confusing missing data with clear weather.
 
 color_hrrr_reflectivity (data, color_table)
 Convert raw numeric reflectivity into a transparent Universal PNG.
 

Detailed Description

Download one HRRR GRIB field, decode with GDAL, and render map tiles.