As @aburrell noticed in #214, the tmpdir wasn't being set by the rcParams value. This has been corrected as well as added documentation to the sdDataPtr class. Also noted which variables have been set at non-optional based on how the code is setup and/or assert error messages.
I don't have a test for this, although I guess you could set the DAVIT_TMPDIR in your davitpyrc file to something other than /tmp/sd/ . Then run this code in the develop branch and see that using this file doesn't use the directory set in davitpyrc.
To see that this branch doesn't break anything, at least you could do:
As @aburrell noticed in #214, the tmpdir wasn't being set by the rcParams value. This has been corrected as well as added documentation to the sdDataPtr class. Also noted which variables have been set at non-optional based on how the code is setup and/or assert error messages.
I don't have a test for this, although I guess you could set the DAVIT_TMPDIR in your davitpyrc file to something other than /tmp/sd/ . Then run this code in the develop branch and see that using this file doesn't use the directory set in davitpyrc.
To see that this branch doesn't break anything, at least you could do:
And then see that the grdex files are in the tmpdir of your choosing.