We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
otoole uses the Amply package to read a GNU Math Prog datafile into a Python dict of pandas DataFrames.
For example
from otoole.read_strategies import ReadDatafile filepath = 'path/to/kenya.txt' strategy = ReadDatafile() osemosys_model, default_values = strategy.read(filepath)
This might be a nice way then edit the model, by adding new rows to the pandas dataframes and then writing out the model using a write strategy:
from otoole.write_strategies import WriteDatafile filepath = 'path/to/kenya_gis.txt' strategy = WriteDatafile() strategy.write(filepath, osemosys_model, default_values)
The text was updated successfully, but these errors were encountered:
Ok. Maybe we can have a chat about this. It sounds good, and follows the current OSeMOSYS workflow.
Sorry, something went wrong.
No branches or pull requests
otoole uses the Amply package to read a GNU Math Prog datafile into a Python dict of pandas DataFrames.
For example
This might be a nice way then edit the model, by adding new rows to the pandas dataframes and then writing out the model using a write strategy:
The text was updated successfully, but these errors were encountered: