UCL / pyCascadia

Implementation of GEBCO cookbook remove-restore and other cleaning of topography/bathymetry. Uses `pyGMT`.
Mozilla Public License 2.0
9 stars 0 forks source link

Store temporary files in os-agnostic temporary location #25

Closed JamieJQuinn closed 3 years ago

JamieJQuinn commented 3 years ago

Currently temporary files created during the remove-restore algorithm are kept in the current working directory. To avoid clutter, these should instead be kept in the os's standard temporary location.

JamieJQuinn commented 3 years ago

Seems like this can be easily done using the tempfile library. See this tutorial.

JamieJQuinn commented 3 years ago

This is no longer relevant now that nearneighbour has been reimplemented (see #65)