Closed trevorb1 closed 2 years ago
https://github.com/OSeMOSYS/osemosys_global/blob/3b0892cedf45d08d6d5418dc6345df124fdee561/workflow/scripts/osemosys_global/OPG_geographic_filter.py#L44-L46
This needs an additional filtering criteria to keep international traded commodities (such as COA, GAS, ect...)
COA
GAS
Quick brainstorm is that it will look something like...
if 'FUEL' in df.columns: df = df.loc[df['FUEL'].str[3:6].isin(geographic_scope) | df['FUEL'].str[6:9].isin(geographic_scope) | df['FUEL'].isin(internationalfuels)]
where international fuels will be the list of traded commodities
closed with pr #101
https://github.com/OSeMOSYS/osemosys_global/blob/3b0892cedf45d08d6d5418dc6345df124fdee561/workflow/scripts/osemosys_global/OPG_geographic_filter.py#L44-L46
This needs an additional filtering criteria to keep international traded commodities (such as
COA
,GAS
, ect...)Quick brainstorm is that it will look something like...
where international fuels will be the list of traded commodities