We will start with the PRISM average monthly minimum-temperature raster dataset for 2016 with coverage for the continental United States. The raster is provided by the PRISM Climate Group at Oregon State University, with additional rasters available at http://www.prism.oregonstate.edu/mtd/.
On the command line, navigate to the PRISM directory as follows:
> cd C:\postgis_cookbook\data\chap05\PRISM
Let us spot check one of the PRISM rasters with the GDAL utility gdalinfo. It is always a good practice to inspect at least one raster to get an idea of the metadata and ensure that the raster does not have any issues. This can be done using the following command:
> gdalinfo PRISM_tmin_provisional_4kmM2_201703_asc.asc
The gdalinfo ...