4

The Norwegian Meterological Institute provides historical weather data. I download one of these .nc files:

curl https://thredds.met.no/thredds/fileServer/ngcd/version_22.09/RR/type2/2022/08/NGCD_RR_type2_version_22.09_20220823.nc -o NGCD_RR_type2_version_22.09_20220823.nc

Then turn it into a .tif file using gdal_translate:

gdal_translate NGCD_RR_type2_version_22.09_20220823.nc NGCD_RR_type2_version_22.09_20220823.tif

I successfully open the .tif file in QGIS:enter image description here

If I zoom in to the edge, I see pixel boundaries:

enter image description here

I would however, like to see these boundaries even when I am not at the edge. This thread is about a similar topic, but the first answer does not go into much detail, using the second answer I try:

Vector -> Research Tools -> Create Grid...

leading to:

enter image description here

which does not seem to be a place where I can just show a grid for a given raster, but rather create a grid from scratch.

How could I visualize the boundaries of pixels of a given raster in QGIS? The data is clearly there, the software knows where a pixel ends and the next starts, I just need to show it.

zabop
  • 2,050
  • 7
  • 35

1 Answers1

8

Go to

  • View - Decorations - Grid
  • "Update intervals / Offsets from" click "Active Raster Layer"

Then click the Line symbol and adjust the symbol. I made the lines 0.06 wide enter image description here

BERA
  • 72,339
  • 13
  • 72
  • 161