EnvModellingGroup / hrds

Hierarchical raster data set: smooth interpolation of raster files at different resolutions for multiscale modelling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temp files creation.

PythonCHB opened this issue · comments

In the TestHRDS class, the teardown removes two "buffer" files. But these are not explicitly created in the tests. I haven't dug into the code, but I assume these are automatically created by the HRDS class. Packages really shouldn't create non-explicit temp files like this -- either the user should explicitly specify where they want the temp files to be created, or they should be created in a temp dir (import tempfile), and ideally automatically deleted by the code.

Fixed in #26