Importing NetCDF datasets with Python and GDAL

In this recipe, you will write a Python script to import data from the NetCDF format to PostGIS.

NetCDF is an open standard format, widely used for scientific applications, and can contain multiple raster datasets, each composed of a spectrum of bands. For this purpose, you will use the GDAL Python bindings and the popular NumPy (http://www.numpy.org/) scientific library.

Get PostGIS Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.