temp_saved_datafile

ndmapper.data.temp_saved_datafile(datafile)[source] [edit on github]

Save a copy of a DataFile instance using a temporary filename, eg. for use by an external program, and return the copy. It is the caller’s responsibility to delete the file once it is no longer needed.

Although mapped to different files, both objects share any pixel data in memory until reloaded.