Problem with temporary files when rendering maps in a cycle using the pygmt library

I think you just dont know how to solve the problem. Trivial syntax errors are here because mistake is in another part. So if you cant do anything i think its an option to give others an opportunity