Dear all,
I am trying to make the best of the time corona is giving me and therefore am building my own map of germany with the newly available earth reliefs. As long as I use a lower resolution than 15s everything works fine, but every time I try to use a higher resolution some problems with dimensions of the intensity grid in regard to the data grid arise.
To make my problem more comprehensible I created a minimum working example of my code:
-
grdgradient @earth_relief_03s -Nt0.6 -A315 -Gearth_relief_03s_int.nc -R5.6666/15.1666/47.1666/55.1666*
-
psbasemap -Bag1d -R5.6666/15.1666/47.1666/55.1666 -JM10/95c -X-0.2c -Y2c -P --PS_MEDIA=Custom_100cx135c -K -O >> resultingMap.ps *
-
psclip borderGermany.ASC -R5.6666/15.1666/47.1666/55.1666 -JM10/95c -K -O >> resultingMap.ps
-
grdimage -V @earth_relief_03s -R5.6666/15.1666/47.1666/55.1666 -JM10/95c -Iearth_relief_15s_int.nc -CWorld2.cpt -P -K -O >> resultingMap.ps*
-
psclip -C -K -O >> resultingMap.ps*
-
psxy borderGermany.ASC -R5.6666/15.1666/47.1666/55.1666 -JM10/95c -P -W1.2p -K -O >> resultingMap.ps*
-
psconvert -Tf -Vv resultingMap.ps*
The resulting error throws the message:
grdimage [ERROR]: Dimensions of intensity grid do not match that of the data grid!
GMT: Module return with failure while executing the command
grdimage -V @earth_relief_03s -R5.6666/15.1666/47.1666/55.1666 -JM10/95c -Iearth_relief_03s_int.nc -CWorld2.cpt -P -K -O >> resultingMap.ps
What is interesting about this problem ist, that the code runs without errors als long as the resolution is rougher than 15s. To be honest I am not able to comprehend why the resolution should be a problem. For convenience and to eliminate this point as possible error I already downloaded the higher resolutions for offline usage.
If somebody could please be so kind and give me hint what I have to change at my code to get it done I would be very thankful.
Best regards
Sebastian
P.S.: Here is my border-file I use to clip the region.
borderGermany.zip (74.5 KB)