Trevor Barnes

Results 130 comments of Trevor Barnes

Hey @vignesh1987, thanks for reporting the error! :) Are you able to try running your results command using the non pre-processed data file? (ie. the datafile without the additional `MODExTECHNOLOGYperFUELout`...

@vignesh1987, sorry, my response may have been unclear! I guess I meant, still run the model with the pre-processed data file, but then in the otoole results conversion use the...

@vignesh1987, thanks for confirming it works! I agree with you, adding this in the documentation should be enough to close this bug, as the error (I think) originates with amply....

Hey @HauHe! On your note of: > In UTOPIA the `DiscountRateIdv` is not defined. Hence, otoole should take the `DiscountRate` is this is the actual expected behaviour? If DiscountRateIdv is...

This does not get around the issue of this error not being correctly handled by otoole. Below is the log output if `DiscountRateIdv` is not in the configuration file: ```bash...

>adding the definition of DiscountRateIdv to the config file AND removing the default definition in the model file it runs. When updating the configuration file, I left normal definition for...

Hmm... can you drop in the model/data files you are using, in addition to the otoole commands please? Seems weird that updating the `DiscountRate` all the sudden throws a `NotADirectoryError`....

Thanks for the feedback, @willu47! I looked at this today and think your option 2 of using xarray will be the way forward. I refactored the current code a little,...

With the latest updates I have (following @willu47's suggestion [here](https://github.com/OSeMOSYS/otoole/issues/217#issue-2120910179)): - Moved the expansion of dataframes from `WriteStrategy` to `ReadStrategy` - Retained @willu47's implementation of `expand_defaults`, and updated tests to...