Earth_relief data

Dear all,

I am trying to download earth_relief data below 05 m and usually what happens is that it does not download and the map is blank
any reasons for this how can I fix it?

Kind regards,
K.

Below 05m or 06m? The 05m and lower (04, 03, etc) are all tiled dataset, so if 05 works for you then tehre is no reason the others shouldn not. However, files get bigger but again they are tiled. Please show what command you run and add -Vd so we can see what is happening.

if you try this scrip with _05m it would work but below this resolution it would not .

# Make a GMT map of Venezuela
gmt begin Venezuela_Color pdf,png # Starting our new gmt modern mode session, calling plot Venezuela and ask for pdf and png
#Lay down painted continent with national borders on a Mercator map

gmt basemap -R-075/-055/00.0/030.0 -Tdg-72/27+w1.2ci+f3+l,,,
gmt coast  -Wthin -Df -Sazure -B -N1/thick,red -JM15c

gmt makecpt -Cabyss -T-9000/1000 # pinta solo el agua
    gmt coast -Sc
    gmt grdimage @earth_relief_03m  -C -I+d #CAMBIAR A 03m
    gmt coast -Q

# gmt colorbar -DJBC -B3000 # se cambia de lugar como el inset

    gmt makecpt -Cgray -T-6000/6000 # pinta solo tierra
    gmt coast -Gc
    gmt grdimage @earth_relief_03m  -C -I+d #CAMBIAR A 03m
    gmt coast -Q

    gmt colorbar -DJBC -B3000

# Show where Venezuela is in the world via a map inset

    gmt inset begin -DjTR+w4c+o0.2c -M0 -F+gwhite+pthick
        gmt coast -Rg -JG70W/15S/4c -Ggray -Bg -EVE+gblue
    gmt inset end
gmt end show # end will finish the plots and open them in a viewer ```
ERROR 4: `/Users/Keyla/.gmt/server/earth_relief_03m.grd' not recognized as a supported file format.
grdimage (api_import_grid): Not a supported grid format [earth_relief_03m.grd]
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
ERROR 4: `/Users/Keyla/.gmt/server/earth_relief_03m.grd' not recognized as a supported file format.
grdimage (api_import_grid): Not a supported grid format [earth_relief_03m.grd]
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
bash-3.2$  ```

this would be the aout come with @earth_relief_03m

this would be the same scrip with @earth relief_05m

bash-3.2$ 
bash-3.2$ ./Venezuela_1CG.sh
gmt [DEBUG]: Obtained GMT_SESSION_NAME from the environment: 12329
gmt [DEBUG]: Enter: gmtinit_new_GMT_ctrl
gmt [DEBUG]: GMT->session.SHAREDIR = /Applications/GMT-6.0.0.app/Contents/Resources/share
gmt [DEBUG]: GMT->session.HOMEDIR = /Users/Keyla
gmt [DEBUG]: GMT->session.USERDIR = /Users/Keyla/.gmt [created]
gmt [DEBUG]: GMT->session.CACHEDIR = /Users/Keyla/.gmt/cache [created]
gmt [DEBUG]: GMT: 0. Will try to find subdir=postscriptlight stem = PSL_custom_fonts suffix=.txt
gmt [DEBUG]: GMT: 1. gmt_getsharepath trying current dir
gmt [DEBUG]: GMT: 2. gmt_getsharepath trying USERDIR /Users/Keyla/.gmt
gmt [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir /Users/Keyla/.gmt/postscriptlight
gmt [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir /Applications/GMT-6.0.0.app/Contents/Resources/share/postscriptlight
gmt [DEBUG]: GMT: 5. gmt_getsharepath failed
gmt [DEBUG]: Map distance calculation will be Cartesian
gmt [DEBUG]: Exit:  gmtinit_new_GMT_ctrl
gmt [DEBUG]: Enter: New_PSL_Ctrl
gmt [DEBUG]: Exit:  New_PSL_Ctrl
gmt [DEBUG]: Enter: gmt_manage_workflow
gmt [DEBUG]: GMT now running in modern mode [Session ID = 12329]
gmt [DEBUG]: Exit : gmt_manage_workflow
gmt [DEBUG]: Enter: PSL_beginsession
gmt [DEBUG]: Exit : PSL_beginsession
gmt [DEBUG]: Enter: PSL_setdefaults
gmt [DEBUG]: Exit : PSL_setdefaults
gmt [DEBUG]: Enter: gmtlib_io_init
gmt [DEBUG]: Exit : gmtlib_io_init
gmt [DEBUG]: Enter: gmt_hash_init
gmt [DEBUG]: Exit:  gmt_hash_init
gmt [DEBUG]: Enter: gmt_hash_init
gmt [DEBUG]: Exit:  gmt_hash_init
gmt [DEBUG]: The PROJ_GEODESIC set to Vincenty
gmt [DEBUG]: Enter: gmt_getdefaults
gmt [DEBUG]: Reading GMT Default parameters from file: /Users/Keyla/.gmt/sessions/gmt6.12329/gmt.conf
gmt [DEBUG]: Exit:  gmt_getdefaults
gmt [DEBUG]: Enter: gmtlib_plot_C_format
gmt [DEBUG]: Exit:  gmtlib_plot_C_format
gmt [DEBUG]: Enter: gmt_get_history
gmt [DEBUG]: Enter: gmt_hash_init
gmt [DEBUG]: Exit:  gmt_hash_init
gmt [DEBUG]: Exit:  gmt_get_history
gmt [DEBUG]: Initialize FFTW with 8 threads.
gmt [DEBUG]: GMT_Create_Session initialized GMT structure
gmt [DEBUG]: Shared Library # 0 (core). Path = libgmt.dylib
gmt [DEBUG]: Loading core GMT shared library: libgmt.dylib
gmt [DEBUG]: Loading GMT plugins from: /Applications/GMT-6.0.0.app/Contents/Resources/lib/gmt/plugins
gmt [DEBUG]: Shared Library # 1 (supplements). Path = /Applications/GMT-6.0.0.app/Contents/Resources/lib/gmt/plugins/supplements.so
gmt [DEBUG]: GMT now running in modern mode [Session ID = 12329]
gmt [DEBUG]: Map distance calculation will be using great circle approximation with authalic auxiliary latitudes and authalic (R_2) radius = 6371007.1809 m, in meter.
gmt [DEBUG]: Use PS filename /Users/Keyla/.gmt/sessions/gmt6.12329/gmt_0.ps-
gmt [DEBUG]: get_current_panel: No current panel selected so not in subplot mode
gmt [DEBUG]: Modern mode: Added -R to options since history is available.
gmt [DEBUG]: Modern: Adding -J to options since there is history available.
grdimage [DEBUG]: History: Process -R
grdimage [DEBUG]: History: Process -J
grdimage [DEBUG]: Map distance calculation will be using great circle approximation with authalic auxiliary latitudes and authalic (R_2) radius = 6371007.1809 m, in meter.
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/server/srtm1
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/server/srtm3
grdimage [DEBUG]: Got regular w/e/s/n for region (-075/-055/00.0/030.0)
grdimage [DEBUG]: Local file /Users/Keyla/.gmt/server/gmt_hash_server.txt found
grdimage [DEBUG]: File /Users/Keyla/.gmt/server/gmt_hash_server.txt less than 24 hours old, refresh is premature.
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: gmtlib_get_cpt_level: Fig: 0 Subplot: 2 Panel: () Inset: 0
grdimage [INFORMATION]: Selected current CPT file /Users/Keyla/.gmt/sessions/gmt6.12329/gmt.cpt
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/sessions/gmt6.12329/gmt.cpt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: @earth_relief_03m.grd is most likely a grid. Open in GMT as grid
grdimage [INFORMATION]: Read header from file @earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Object ID 0 : Registered Grid File earth_relief_03m.grd as an Input resource with geometry Surface [n_objects = 1]
grdimage [DEBUG]: api_begin_io: Input resource access is now enabled [container]
grdimage [DEBUG]: api_import_grid: Passed ID = 0 and mode = 1
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
ERROR 4: `/Users/Keyla/.gmt/server/earth_relief_03m.grd' not recognized as a supported file format.
grdimage (api_import_grid): Not a supported grid format [earth_relief_03m.grd]
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
grdimage [DEBUG]: gmtapi_unregister_io: Unregistering object no 0 [n_objects = 0]
grdimage [DEBUG]: gmtapi_unregister_io: Object no 0 has non-NULL resource pointer
grdimage (gmtlib_free_tmp_arrays): tried to free unallocated memory
gmt [DEBUG]: Entering GMT_Destroy_Session
gmt [DEBUG]: Obtained GMT_SESSION_NAME from the environment: 12329
gmt [DEBUG]: Enter: gmtinit_new_GMT_ctrl
gmt [DEBUG]: GMT->session.SHAREDIR = /Applications/GMT-6.0.0.app/Contents/Resources/share
gmt [DEBUG]: GMT->session.HOMEDIR = /Users/Keyla
gmt [DEBUG]: GMT->session.USERDIR = /Users/Keyla/.gmt [created]
gmt [DEBUG]: GMT->session.CACHEDIR = /Users/Keyla/.gmt/cache [created]
gmt [DEBUG]: GMT: 0. Will try to find subdir=postscriptlight stem = PSL_custom_fonts suffix=.txt
gmt [DEBUG]: GMT: 1. gmt_getsharepath trying current dir
gmt [DEBUG]: GMT: 2. gmt_getsharepath trying USERDIR /Users/Keyla/.gmt
gmt [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir /Users/Keyla/.gmt/postscriptlight
gmt [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir /Applications/GMT-6.0.0.app/Contents/Resources/share/postscriptlight
gmt [DEBUG]: GMT: 5. gmt_getsharepath failed
gmt [DEBUG]: Map distance calculation will be Cartesian
gmt [DEBUG]: Exit:  gmtinit_new_GMT_ctrl
gmt [DEBUG]: Enter: New_PSL_Ctrl
gmt [DEBUG]: Exit:  New_PSL_Ctrl
gmt [DEBUG]: Enter: gmt_manage_workflow
gmt [DEBUG]: GMT now running in modern mode [Session ID = 12329]
gmt [DEBUG]: Exit : gmt_manage_workflow
gmt [DEBUG]: Enter: PSL_beginsession
gmt [DEBUG]: Exit : PSL_beginsession
gmt [DEBUG]: Enter: PSL_setdefaults
gmt [DEBUG]: Exit : PSL_setdefaults
gmt [DEBUG]: Enter: gmtlib_io_init
gmt [DEBUG]: Exit : gmtlib_io_init
gmt [DEBUG]: Enter: gmt_hash_init
gmt [DEBUG]: Exit:  gmt_hash_init
gmt [DEBUG]: Enter: gmt_hash_init
gmt [DEBUG]: Exit:  gmt_hash_init
gmt [DEBUG]: The PROJ_GEODESIC set to Vincenty
gmt [DEBUG]: Enter: gmt_getdefaults
gmt [DEBUG]: Reading GMT Default parameters from file: /Users/Keyla/.gmt/sessions/gmt6.12329/gmt.conf
gmt [DEBUG]: Exit:  gmt_getdefaults
gmt [DEBUG]: Enter: gmtlib_plot_C_format
gmt [DEBUG]: Exit:  gmtlib_plot_C_format
gmt [DEBUG]: Enter: gmt_get_history
gmt [DEBUG]: Enter: gmt_hash_init
gmt [DEBUG]: Exit:  gmt_hash_init
gmt [DEBUG]: Exit:  gmt_get_history
gmt [DEBUG]: Initialize FFTW with 8 threads.
gmt [DEBUG]: GMT_Create_Session initialized GMT structure
gmt [DEBUG]: Shared Library # 0 (core). Path = libgmt.dylib
gmt [DEBUG]: Loading core GMT shared library: libgmt.dylib
gmt [DEBUG]: Loading GMT plugins from: /Applications/GMT-6.0.0.app/Contents/Resources/lib/gmt/plugins
gmt [DEBUG]: Shared Library # 1 (supplements). Path = /Applications/GMT-6.0.0.app/Contents/Resources/lib/gmt/plugins/supplements.so
gmt [DEBUG]: GMT now running in modern mode [Session ID = 12329]
gmt [DEBUG]: Map distance calculation will be using great circle approximation with authalic auxiliary latitudes and authalic (R_2) radius = 6371007.1809 m, in meter.
gmt [DEBUG]: Use PS filename /Users/Keyla/.gmt/sessions/gmt6.12329/gmt_0.ps-
gmt [DEBUG]: get_current_panel: No current panel selected so not in subplot mode
gmt [DEBUG]: Modern mode: Added -R to options since history is available.
gmt [DEBUG]: Modern: Adding -J to options since there is history available.
grdimage [DEBUG]: History: Process -R
grdimage [DEBUG]: History: Process -J
grdimage [DEBUG]: Map distance calculation will be using great circle approximation with authalic auxiliary latitudes and authalic (R_2) radius = 6371007.1809 m, in meter.
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/server/srtm1
grdimage [DEBUG]: Look for file -075/-055/00.0/030.0 in /Users/Keyla/.gmt/server/srtm3
grdimage [DEBUG]: Got regular w/e/s/n for region (-075/-055/00.0/030.0)
grdimage [DEBUG]: Local file /Users/Keyla/.gmt/server/gmt_hash_server.txt found
grdimage [DEBUG]: File /Users/Keyla/.gmt/server/gmt_hash_server.txt less than 24 hours old, refresh is premature.
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: gmtlib_get_cpt_level: Fig: 0 Subplot: 2 Panel: () Inset: 0
grdimage [INFORMATION]: Selected current CPT file /Users/Keyla/.gmt/sessions/gmt6.12329/gmt.cpt
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/sessions/gmt6.12329/gmt.cpt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: @earth_relief_03m.grd is most likely a grid. Open in GMT as grid
grdimage [INFORMATION]: Read header from file @earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Object ID 0 : Registered Grid File earth_relief_03m.grd as an Input resource with geometry Surface [n_objects = 1]
grdimage [DEBUG]: api_begin_io: Input resource access is now enabled [container]
grdimage [DEBUG]: api_import_grid: Passed ID = 0 and mode = 1
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/cache
grdimage [DEBUG]: Look for file earth_relief_03m.grd in /Users/Keyla/.gmt/server
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
grdimage [DEBUG]: Found file /Users/Keyla/.gmt/server/earth_relief_03m.grd
ERROR 4: `/Users/Keyla/.gmt/server/earth_relief_03m.grd' not recognized as a supported file format.
grdimage (api_import_grid): Not a supported grid format [earth_relief_03m.grd]
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
grdimage [DEBUG]: gmtapi_unregister_io: Unregistering object no 0 [n_objects = 0]
grdimage [DEBUG]: gmtapi_unregister_io: Object no 0 has non-NULL resource pointer
grdimage (gmtlib_free_tmp_arrays): tried to free unallocated memory
gmt [DEBUG]: Entering GMT_Destroy_Session
bash-3.2$ ```

So this is GMT 6.0 ? OK, so what does these commands return

ls -l /Users/Keyla/.gmt/server/earth_relief_03m.grd

gmt grdinfo /Users/Keyla/.gmt/server/earth_relief_03m.grd

yes, this is GMT 0.6

sorry, but I really don’t understand what should I do to fix my script with this information

Oh. I just asked you to copy and paste those two commands into the terminal so we can learn something about why your script does not work. Just run those commands and post result here.

bash-3.2$ 
bash-3.2$ -l /Users/Keyla/.gmt/server/earth_relief_03m.grd
bash: -l: command not found
bash-3.2$ 
bash-3.2$ gmt grdinfo /Users/Keyla/.gmt/server/earth_relief_03m.grd
ERROR 4: `/Users/Keyla/.gmt/server/earth_relief_03m.grd' not recognized as a supported file format.
grdinfo (api_import_grid): Not a supported grid format [/Users/Keyla/.gmt/server/earth_relief_03m.grd]
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
bash-3.2$ 

Missed the “ls” in the “ls -l” so nothing happened.

bash-3.2$ ls -l /Users/Keyla/.gmt/server/earth_relief_03m.grd
-rw-r--r--  1 Keyla  staff  1830912  9 Jul 23:28 /Users/Keyla/.gmt/server/earth_relief_03m.grd
bash-3.2$ 
bash-3.2$ gmt grdinfo /Users/Keyla/.gmt/server/earth_relief_03m.grd
ERROR 4: `/Users/Keyla/.gmt/server/earth_relief_03m.grd' not recognized as a supported file format.
grdinfo (api_import_grid): Not a supported grid format [/Users/Keyla/.gmt/server/earth_relief_03m.grd]
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session gmt (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
bash-3.2$ ```

sorry here it is

So mine says

ls -l earth_relief_03m.grd

-rw-------+ 1 pwessel wessel 31214311 Jul 25 16:14 earth_relief_03m.grd

The actual file is thus about 30 Mb but your says it is not even 2 Mb. So probably the download failed in the middle. Delete that broken file and try your command again. Or simpler, after deleting, try

gmt grdinfo @earth_relief_03m

this actually works for below 3m until 2m and I thought it would work for the even lower ones which are not downloaded into the select folder but unfortunately for the tiles that are in 02s, for example, is not working, not sure if now the problem is my internet connection which is not letting me look at tiles of better resolution.

That is possible. There is no 02s files so you probably mean 03s or 01s? We are working with UNAVCO to set up a mirror site there which may improve your download speed. it is possibly your attempts are timing out.

1 Like

OH this is great news BIG THANKS!!