And why would it do that, when you have all tiles already. Maybe it’s trying to check for updates, and when no internet connection is found, it prints that?
Maybe you could see what it’s trying to do with tcpdump or wireshark.
And why would it do that, when you have all tiles already. Maybe it’s trying to check for updates, and when no internet connection is found, it prints that?
Maybe you could see what it’s trying to do with tcpdump or wireshark.
Sorry, to make it clear.
No problem ![]()
Downloaded home (http)
Copied locally (usb) on the computer then fails to run the command
gmt grdimage -RFR -JM10c @earth_relief_01m -B -png test -Vd
gmt [DEBUG]: GMT_Create_Session: Terminal width = 119
gmt [DEBUG]: Obtained the ppid from parent: 15328
gmt [DEBUG]: Enter: gmtinit_new_GMT_ctrl
gmt [DEBUG]: GMT->session.SHAREDIR = C:/Program Files/gmt6/share
gmt [DEBUG]: GMT->session.HOMEDIR = C:/Users/g
gmt [DEBUG]: GMT->session.USERDIR = C:/Users/g/.gmt [created]
gmt [DEBUG]: GMT->session.CACHEDIR = C:/Users/g/.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 C:/Users/g/.gmt
gmt [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir C:/Users/g/.gmt/postscriptlight
gmt [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir C:/Program Files/gmt6/share/postscriptlight
gmt [DEBUG]: GMT: 5. gmt_getsharepath trying SHAREDIR C:/Program Files/gmt6/share
gmt [DEBUG]: GMT: 6. 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]: 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]: Enter: gmt_reload_settings
gmt [DEBUG]: The PROJ_GEODESIC set to Vincenty
gmt [DEBUG]: Look for file C:/Users/g/gmt.conf
gmt [DEBUG]: Found file C:/Users/g/gmt.conf
gmt [DEBUG]: Reading GMT Default parameters from file: C:/Users/g/gmt.conf
gmt [DEBUG]: Exit: gmt_reload_settings
gmt [DEBUG]: Enter: gmtlib_plot_C_format
gmt [DEBUG]: Exit: gmtlib_plot_C_format
gmt [DEBUG]: Enter: gmtinit_get_history
gmt [DEBUG]: GMT_Create_Session initialized GMT structure
gmt [DEBUG]: Loading core GMT shared library: gmt_w64.dll
gmt [DEBUG]: Shared Library # 0 (core). Path = gmt_w64.dll
gmt [DEBUG]: Loading GMT plugins from: C:/Program Files/gmt6/bin/gmt_plugins
gmt [DEBUG]: Shared Library # 1 (supplements). Path = C:/Program Files/gmt6/bin/gmt_plugins/supplements_w64.dll
gmt [DEBUG]: GMT_DATA_SERVER is oceania
gmt [DEBUG]: Download remote file http://oceania.generic-mapping-tools.org/gmt_data_server.txt for the first time
gmt [INFORMATION]: Downloading file http://oceania.generic-mapping-tools.org/gmt_data_server.txt ...
gmt [INFORMATION]: Unable to download file http://oceania.generic-mapping-tools.org/gmt_data_server.txt
gmt [INFORMATION]: Libcurl Error: Couldn't resolve host name
gmt [DEBUG]: Failed to release lock (Error <158>: Segment dj dverrouill.
)
gmt [DEBUG]: Delete C:\Users\g\AppData\Local\Temp/gmt_data_server.txt.download
gmt [INFORMATION]: Failed to get remote file http://oceania.generic-mapping-tools.org/gmt_data_server.txt
gmt [INFORMATION]: Unable to obtain remote information file gmt_data_server.txt
gmt [DEBUG]: GMT_DATA_SERVER is oceania
gmt [DEBUG]: Download remote file http://oceania.generic-mapping-tools.org/gmt_hash_server.txt for the first time
gmt [INFORMATION]: Remote download is currently deactivated
gmt [INFORMATION]: Failed to get remote file http://oceania.generic-mapping-tools.org/gmt_hash_server.txt
gmt [INFORMATION]: Unable to obtain remote hash table gmt_hash_server.txt
gmt [DEBUG]: Revised options: test png
begin [INFORMATION]: Creating a workflow directory C:/Users/g/.gmt/sessions/gmt_session.15328
begin [DEBUG]: The PROJ_GEODESIC set to Vincenty
begin [DEBUG]: Look for file C:/Users/g/gmt.conf
begin [DEBUG]: Found file C:/Users/g/gmt.conf
begin [DEBUG]: Reading GMT Default parameters from file: C:/Users/g/gmt.conf
begin [DEBUG]: Set session name to be test png
begin [DEBUG]: Begin Workflow. Session ID = 15328. Directory C:/Users/g/.gmt/sessions/gmt_session.15328 created.
begin [DEBUG]: GMT now running in modern mode [Session ID = 15328]
gmt [DEBUG]: Use PS filename C:/Users/g/.gmt/sessions/gmt_session.15328/gmt_0.ps-
gmt [DEBUG]: gmtinit_get_current_panel: No current panel selected so not in subplot mode
gmt [DEBUG]: Revised options: -RFR -JM10c @earth_relief_01m -B -Vd
grdimage [DEBUG]: History: Process -RFR
grdimage [DEBUG]: History: Process -JM10c
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 FR in C:/Users/g/.gmt
grdimage [DEBUG]: Look for file FR in C:/Users/g/.gmt/cache
grdimage [DEBUG]: Look for file FR in C:/Users/g/.gmt/server
grdimage [DEBUG]: Got country code for region (FR)
grdimage [DEBUG]: GMT: 0. Will try to find subdir=dcw stem = dcw-countries suffix=.txt
grdimage [DEBUG]: GMT: 1. gmt_getsharepath trying current dir
grdimage [DEBUG]: GMT: 2. gmt_getsharepath trying USERDIR C:/Users/g/.gmt
grdimage [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir C:/Users/g/.gmt/dcw
grdimage [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir C:/Program Files/gmt6/share/dcw
grdimage [DEBUG]: 2. DCW: Read the Digital Chart of the World from C:/Program Files/gmt6/share/dcw/dcw-countries.txt
grdimage [DEBUG]: GMT: 0. Will try to find subdir=dcw stem = dcw-states suffix=.txt
grdimage [DEBUG]: GMT: 1. gmt_getsharepath trying current dir
grdimage [DEBUG]: GMT: 2. gmt_getsharepath trying USERDIR C:/Users/g/.gmt
grdimage [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir C:/Users/g/.gmt/dcw
grdimage [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir C:/Program Files/gmt6/share/dcw
grdimage [DEBUG]: 2. DCW: Read the Digital Chart of the World from C:/Program Files/gmt6/share/dcw/dcw-states.txt
grdimage [DEBUG]: Look for file C:/Users/g/dcw.conf
grdimage [DEBUG]: Look for file C:/Users/g/.gmt/dcw.conf
grdimage [DEBUG]: Look for file C:/Users/g/.gmt/server/dcw.conf
grdimage [DEBUG]: Look for file C:/Users/g/.gmt/cache/dcw.conf
grdimage [DEBUG]: Could not find file dcw.conf
grdimage [DEBUG]: GMT: 0. Will try to find subdir=dcw stem = dcw-collections suffix=.txt
grdimage [DEBUG]: GMT: 1. gmt_getsharepath trying current dir
grdimage [DEBUG]: GMT: 2. gmt_getsharepath trying USERDIR C:/Users/g/.gmt
grdimage [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir C:/Users/g/.gmt/dcw
grdimage [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir C:/Program Files/gmt6/share/dcw
grdimage [DEBUG]: 2. DCW: Read the Digital Chart of the World from C:/Program Files/gmt6/share/dcw/dcw-collections.txt
grdimage [DEBUG]: DCW: Found 250 countries, 9 countries with states, 286 states, 0 DCW collections and 248 user groups
grdimage [DEBUG]: Requested 1 DCW items: FR
grdimage [DEBUG]: GMT: 0. Will try to find subdir=dcw stem = dcw-gmt suffix=.nc
grdimage [DEBUG]: GMT: 1. gmt_getsharepath trying current dir
grdimage [DEBUG]: GMT: 2. gmt_getsharepath trying USERDIR C:/Users/g/.gmt
grdimage [DEBUG]: GMT: 3. gmt_getsharepath trying USERDIR subdir C:/Users/g/.gmt/dcw
grdimage [DEBUG]: GMT: 4. gmt_getsharepath trying SHAREDIR subdir C:/Program Files/gmt6/share/dcw
grdimage [DEBUG]: 2. DCW: Read the Digital Chart of the World from C:/Program Files/gmt6/share/dcw/dcw-gmt.nc
grdimage [DEBUG]: Calling nc_open on C:/Program Files/gmt6/share/dcw/dcw-gmt.nc, ncid = 65536, err = 0
grdimage [DEBUG]: Found gmtversion string in DCW file: 6.1.1
grdimage [INFORMATION]: Using country and state data from dcw-gmt
grdimage [INFORMATION]: Title : DCW-GMT - The Digital Chart of the World for the Generic Mapping Tools
grdimage [INFORMATION]: Source : Processed by the GMT Team, 2023-AUG-11
grdimage [INFORMATION]: Version: 2.1.2
grdimage [INFORMATION]: DCW version 2.1.2 requires GMT version 6.1.1 or later.
grdimage [INFORMATION]: France
grdimage [DEBUG]: Calling nc_close on ncid 65536, err = 0
grdimage [DEBUG]: Longitude range initialized to -5.14223/9.56155
grdimage [INFORMATION]: Region implied by DCW polygons is -5.14223/9.56155/41.3388/51.0928
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]: GMT_DATA_SERVER is oceania
grdimage [DEBUG]: Download remote file http://oceania.generic-mapping-tools.org/gmt_data_server.txt for the first time
grdimage [INFORMATION]: Remote download is currently deactivated
grdimage [INFORMATION]: Failed to get remote file http://oceania.generic-mapping-tools.org/gmt_data_server.txt
grdimage [INFORMATION]: Unable to obtain remote information file gmt_data_server.txt
grdimage [DEBUG]: GMT_DATA_SERVER is oceania
grdimage [DEBUG]: Download remote file http://oceania.generic-mapping-tools.org/gmt_hash_server.txt for the first time
grdimage [INFORMATION]: Remote download is currently deactivated
grdimage [INFORMATION]: Failed to get remote file http://oceania.generic-mapping-tools.org/gmt_hash_server.txt
grdimage [INFORMATION]: Unable to obtain remote hash table gmt_hash_server.txt
grdimage [DEBUG]: Get remote file http://oceania.generic-mapping-tools.org/cache/earth_relief_01m and write to C:/Users/g/.gmt/cache/earth_relief_01m
grdimage [DEBUG]: Download http://oceania.generic-mapping-tools.org/cache/earth_relief_01m to C:/Users/g/.gmt/cache/earth_relief_01m
grdimage [ERROR]: Remote download is currently deactivated
grdimage [ERROR]: Unable to obtain remote file @earth_relief_01m
grdimage (grdimage.c:1470(GMT_grdimage)): FYI: gmt_M_free given a NULL pointer - ignored
grdimage [DEBUG]: gmtlib_get_graphics_item: Fig: 0 Subplot: 2 Panel: () Inset: 0
grdimage [DEBUG]: No current cpt file found
grdimage [DEBUG]: GMT now running in modern mode [Session ID = 15328]
grdimage [DEBUG]: Revised options: show
end [DEBUG]: End Workflow. Session ID = 15328. Directory C:/Users/g/.gmt/sessions/gmt_session.15328 removed.
end [DEBUG]: No figure file C:/Users/g/.gmt/sessions/gmt_session.15328/gmt.figures - nothing to do
end [DEBUG]: No figure file C:/Users/g/.gmt/sessions/gmt_session.15328/gmt.figures - nothing to do
end [DEBUG]: Got session name as test and default graphics formats as png
end [INFORMATION]: Process GMT figure queue: 1 figures found
end [INFORMATION]: Processing GMT figure #0 [test png ]
end [INFORMATION]: Destroying the current workflow directory C:/Users/g/.gmt/sessions/gmt_session.15328
end [DEBUG]: Delete gmt.conf
end [DEBUG]: Delete gmt.frame.0
end [DEBUG]: Delete gmt.session
gmt [DEBUG]: Entering GMT_Destroy_Session
gmt [DEBUG]: gmtlib_get_graphics_item: Fig: 0 Subplot: 2 Panel: () Inset: 0
But that is the point I’m trying to understand. Downloaded how? Did you use gmtget? (you should). Because if you did download the .jp2 tiles that is unknown territory.
Sooner or later you will pay for that blank space in name.
I did download the .jp2
Would it be up to me, I’d work on Unix already, frankly.
When it will cause troubles, it will be because some internal GMT/GDAL bit will fail, and the diagnose won’t be obvious.
I think we are talking about different things. The space in Program Files sooner or later will cause some trouble but it has nothing to do with the remote files issue. The issue here is that those jp2 files are not to be used directly. What users must to to download a full dataset is to use gmt get and then they can copy the .gmt\server directory into another machine, which will contain only .nc files.
Yep, I had it ![]()
Thanks.
Though, it would be nice to have the routine that converts jp2 to nc … upon @earth_ call locally
It’s a grdblend job call that lives somewhere in GMT guts.