That seems to be an XYZ raster format
https://gdal.org/drivers/raster/xyz.html

Maybe some of the tests could help you:
gdal/autotest/gdrivers/xyz.py

Cheers

On Tue, 30 Jul 2024 at 11:03, Stefan Gofferje via gdal-dev <
gdal-dev@lists.osgeo.org> wrote:

> Hi all,
>
> I'm still learning Python and GDAL.
>
> I'm pulling the NOAA Aurora forecast in Python and create an array from
> it in this format:
>
> [ [lon, lat, value], [lon, lat, value], [lon, lat, value] ...]
>
> like
>
> [ [-180,-90,0], [-180,-89,0], ... , [359, 89, 0], [359, 90, 0] ]
>
> I would like to write this into a 1 band GeoTIFF but I'm missing some
> understanding of data types apparently.
> I was wondering if somebody could point me in the right direction...
>
> -Stefan
>
> --
>   (o_   Stefan Gofferje            | SCLT, MCP, CCSA
>   //\   Reg'd Linux User #247167   | VCP #2263
>   V_/_  https://www.gofferje.net   | https://www.saakeskus.fi
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to