IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
90 stars 41 forks source link

DbOverlay = true seems doesn't work correctly #281

Open mariusmjp opened 3 years ago

mariusmjp commented 3 years ago

Hi Jaromir,

First I want just to say thank you a lot for your assistance. I found a problem with dboverlay option. DbOverlay = true seems doesn't add my variables not present in my model with Iris >= 2020 . That will be good if we can have the same behavior than Iris 2015 where we have a function dbase/dboverlay.m which called by simulate command and add the list of variables present in dbin to dbout and doesn't care if the variables is present in model object or not.

jaromir-benes commented 3 years ago

Hi

the dbOveraly option has been replaced with the following two options (I yet have to add these pieces to the help)

The old dbOverlay did both of these things at the same time.

Also, for merging two databanks, you can use the databank.merge function, see help databank.merge

output = databank.merge(action, input1, input2, ...)

where the first input argument action defines what to do if two fields of the same name are found in both input1, input2, (input3, ...). The action can be one of the following

Hope this helps Best Jaromir

On Fri, Nov 6, 2020 at 2:40 AM mariusmjp notifications@github.com wrote:

Hi Jaromir,

First I want just to say thank you a lot for your assistance. I found a problem with dboverlay option. DbOverlay = true seems doesn't add my variables not present in my model with Iris >= 2020 . That will be good if we can have the same behavior than Iris 2015 where we have a function dbase/dboverlay.m which called by simulate command and add the list of variables present in dbin to dbout and doesn't care if the variables is present in model object or not.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKT7WC3LIW5DEZHHVULSONH2TANCNFSM4TMDAUFA .