Skip to content

A bug when using @earth_relief_03s in win11 #7012

Closed

Description

@CovMat

Dear developers

I am using GMT 6.4.0 in win11 64bit. Following codes got a broken figure:

gmt begin figure png,pdf
    gmt grdimage @earth_relief_03s -JM10c -R87/91/34/37 -Baf -I+d
gmt end

GMT_2020ZB_Fig2_87-91_34-37_03sJM

And in terminal there are following error messages:

C:\Users\chenxh\Desktop\XXX>gmt begin figure png,pdf

C:\Users\chenxh\Desktop\XXX>gmt grdimage @earth_relief_03s -JM10c -R87/91/34/37 -Baf -I+d
grdblend [ERROR]: Failed to remove C:\Users\chenxh\AppData\Local\Temp/grdblend_resampled_a16956.nc! [remove error: Permission denied]
grdblend [ERROR]: Failed to delete file C:\Users\chenxh\AppData\Local\Temp/grdblend_resampled_a16956.nc

C:\Users\chenxh\Desktop\XXX>gmt end

If I use @earth_relief_15s, the figure looks right and there is no error message:

gmt begin figure png,pdf
    gmt grdimage @earth_relief_15s -JM10c -R87/91/34/37 -Baf -I+d
gmt end

GMT_2020ZB_Fig2_87-91_34-37_03sJM

I think it may be a bug of GMT 6.4.0 in win11. Thanks

Activity

  1. added
    bug
    on Aug 31, 2022
  2. CovMat commented on Aug 31, 2022

    @CovMat
    ContributorAuthor

    by the way, I have tried gmt clear all, and many other data servers, this problem remained

  3. Esteban82 commented on Aug 31, 2022

    @Esteban82
    Member

    I am not sure but maybe there was an error when the file was download. It remains my an issue (#6233) I had some time ago.

    Just maybe Paul's suggestion works in this case. #6233 (comment)

  4. added
    priority
    on Jul 18, 2023
  5. added a commit that references this issue on Jan 5, 2026
    28997ad
  6. joa-quim commented on Jan 5, 2026

    @joa-quim
    Member

    #8853 should fix this

  7. added a commit that references this issue on Jan 5, 2026
    d516e67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions