I would like to use the pylith_powerlaw_gendb.py function to create a spatial database for the power law rheology. In the doc, it says that we can make all the information in a file called powerlaw_gendb.cfg and that we need input spatial databases with the laboratory parameters. But I haven’t found any examples of how to use this function and I have no idea what these files look like.
We do not have an example parameter file for the utility pylith_powerlaw_gendb.py in the PyLith code base. This has been on our todo list and we haven’t gotten around to it. It looks like the utility needs a little updating to work with the power-law bulk rheology implementation in PyLith v3. I will try to create a working example in the next week.
Thank you very much to have created an example so quickly ! I have dowloaded the different files needed but when I try the utility function pylith_powerlaw_gendb.py as it is written in the documentation (without changing anything just to check), I get this error message :
I have tried with the SimpleDB spatial parameter, but I still have the same error …
Do I need to activate a specific thing to use the ‘pylith_powerlaw_gendb.py’ function ?