# Basic understanding grdimage & -JL projection

**URL:** <https://forum.generic-mapping-tools.org/t/basic-understanding-grdimage-jl-projection/3501>\
**Category:** Q&A\
**Tags:** gmt\
**Created:** [December 1, 2022, 1:55pm UTC](https://forum.generic-mapping-tools.org/t/basic-understanding-grdimage-jl-projection/3501 "2022-12-01T13:55:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KristofKoch](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/kristofkoch/32/314_2.png) [@KristofKoch](https://forum.generic-mapping-tools.org/u/KristofKoch)\
**Post date:** [December 1, 2022, 1:55pm UTC](https://forum.generic-mapping-tools.org/t/basic-understanding-grdimage-jl-projection/3501/1 "2022-12-01T13:55:08Z")

</div>

Plotting gridded data in the Hawaii area I wonder if the plot is actually correct or if I’m missing something:

 ![mauna_loa_so2](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/f/f06e82c5b324b90519b763b2b1e2dc145690e845.png)

Take a closer look at the N20° parallel. The Lambert Conic Conformal projection makes the parallel bend southwards. When you look at the gridded data, it appears to be oriented parallel to the plot borders and not curved as I expected it:

 ![Bildschirm­foto 2022-12-01 um 10.32.22](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/1/1cf211030179f9c42bcc21aa428c38533761fc44.jpeg)  
Green: orientation of gridded data  
Blue: I expected the data to bend like the parallel

I’m not sure if I just don’t understand how `grdimage` works or if I’m missing some option in my `grdimage` call? Thank you for your help!

Simplified example code:

```
gmt begin so2_data png
  gmt basemap -R-165/5/-105/35+r -JL-135/22.5/15/25/20c -B+f
  gmt grdimage so2.nc -Ccmocean/matter
  gmt coast -W0.2p,black -Bg10 -A200
gmt end show

```

[Download so2.nc](http://kristofkoch.de/verschiedenes/gmt/so2.nc) (~1.2 MB)

Attribution: Generated using Copernicus Atmosphere Monitoring Service information 2022

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [December 1, 2022, 2:15pm UTC](https://forum.generic-mapping-tools.org/t/basic-understanding-grdimage-jl-projection/3501/2 "2022-12-01T14:15:53Z")

</div>

**grdimage** calls the PostScript _image_ operator which expects a rectangular raster. Hence, the map projection converts lon/lat grids into projected rectangular grids which are then imaged as you see. So this is expected. You can try **grdview -T** for “raw” tiles.

---

<div class="post-metadata">

**Author:** ![KristofKoch](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/kristofkoch/32/314_2.png) [@KristofKoch](https://forum.generic-mapping-tools.org/u/KristofKoch)\
**Post date:** [December 1, 2022, 3:26pm UTC](https://forum.generic-mapping-tools.org/t/basic-understanding-grdimage-jl-projection/3501/3 "2022-12-01T15:26:03Z")

</div>

Thank you for your explanation @pwessel!

I should have used the `grdview -T` command.
