OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
27 stars 17 forks source link

dtype warnings for VALUE columns #202

Open maartenbrinkerink opened 2 months ago

maartenbrinkerink commented 2 months ago

Conda environment check

Current Behavior

Warning pops up every time a dtype is trying to be set on the VALUE columns for output csv's.

Expected Behavior

For either the correct dtype to be set or to add the VALUE column as an exception. Since the VALUE column might be differnt dtypes depending on the specific output csv it is not added right now to the relevant constant.csv.

Steps To Reproduce

No response

Operating System

No response

Log output

No response

Anything else?

No response

trevorb1 commented 1 month ago

We should be able to extract out the datatypes from the otoole config file, and just get rid of the DTYPES constant