URL query downloads linger

Open
#35 3 comments 0 reactions 1 assignee View on GitHub

@PaulWessel is already working on this.

Since Jun 14, 2023.

Assessment

This issue has not been assessed yet.

Description

question

When I get the earthquake data from NEIC I run something like this

gmt convert ${URL} -i2,1,3,4+s50,0 -hi1 > 3_quakes.txt

where URL is built by the 3_get_quakes.sh script and is

https://earthquake.usgs.gov/fdsnws/event/1/query.csv?starttime=2018-01-01%0000:00:00&endtime=2018-12-31%0000:00:00&minmagnitude=5&orderby=time-asc

What happens is that we receive a query.csv file which gmt convert reads and converts as indicated. However, query.csv remains in the directory. Anyone who thinks that is bad and that we should find a way for GMT (here gmt convert) to delete it at the end?

Dominant language
Jupyter Notebook
Stars
46
Forks
23
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenericMappingTools/gmt-for-geodesy

All issues in GenericMappingTools/gmt-for-geodesy

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.