You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let gmt clear data be able to select an specific type of grid (not the whole planet). #7738
To only wipe your GMT server directory for Earth data, try:
gmt clear data=earth
I just discovered this module. But I think it would be great if I could select just a type of remote data set.
I am thinking something like. For example, to be able to use this just to delete the earth_faa data set.
gmt clear items
Deletes current defaults, or the cache, data or sessions directories.
Choose between defaults (deletes the current gmt.conf file used for
the current modern session), cache (deletes the user’s cache directory
and all of its content), data (deletes the user’s data download directory
and all of its content), or all (does all of the above).
differs a bit from what is written in clear; e.g. defaults is not mentioned in the latter. I guess they both explain the same thing?
@PaulWessel another feature that I would like/need is a direct way to only delete my local version gmt_data_server.txt.
Right now, this can only be accomplished it if I do gmt clear data. Not with gmt clear data=earth.
Activity
PaulWessel commentedon Aug 18, 2023
I need this too so will have a look later today
anbj commentedon Aug 18, 2023
This module was new to me too.
The description in gmt-doc:
differs a bit from what is written in clear; e.g. defaults is not mentioned in the latter. I guess they both explain the same thing?
anbj commentedon Aug 18, 2023
And maybe there should be a link from gmt-doc to the modules own doc, if applicable. E.g. clear, begin, figure, etc.
Esteban82 commentedon Aug 18, 2023
Great.
@PaulWessel another feature that I would like/need is a direct way to only delete my local version
gmt_data_server.txt.Right now, this can only be accomplished it if I do
gmt clear data. Not withgmt clear data=earth.PaulWessel commentedon Aug 18, 2023
Well, isn't this pretty direct?:
rm -f ~/.gmt/server/gmt_data_server.txt
Esteban82 commentedon Aug 18, 2023
Yes, pretty direct.
Allow more controls in gmt clear
Allow more controls in gmt clear (#7740)
Esteban82 commentedon Aug 25, 2023
I think that this was already done by #7740. I am closing it.