Relocatable Ocean Modelling in PYthon (rompy) combines templated cookie-cutter model configuration with various xarray extensions to assist in the setup and evaluation of coastal ocean model
Importing
from rompy.model import ModelRun
in turn calls
from .core.render import render
which overrides the default behaviour of cookiecutter find_template chaning the expected number of arguments
This override of the default behaviour of cookiecutter then causes a failure
executing generate() on the ModelRun object.
generate() it calls the render function in in rompy/core/render.py which in turn calls generate_files in cookiecutter which itself calls find_template expecting 2 arguments but finding only one.
As a temporary fix this just patches the rompy find_template function to accept the expected argument but the logic is confusing and we should see if we can use the default find_template behaviour.
Importing
from rompy.model import ModelRun
in turn callsfrom .core.render import render
which overrides the default behaviour of cookiecutter find_template chaning the expected number of arguments
This override of the default behaviour of cookiecutter then causes a failure executing generate() on the ModelRun object.
generate() it calls the render function in in rompy/core/render.py which in turn calls generate_files in cookiecutter which itself calls find_template expecting 2 arguments but finding only one.
As a temporary fix this just patches the rompy find_template function to accept the expected argument but the logic is confusing and we should see if we can use the default find_template behaviour.