[X] Yes, I have updated AB and still experience this issue
What happened?
Multiple (i.e., thousands) warning messages when reading the SDF
. This makes the reading of the SDF very long (I had to interrupt the process).
My SDF looks like this:
from activity name,from reference product,from location,from categories,from database,from key,to activity name,to reference product,to location,to categories,to database,to key,flow type,remind - SSP2-NPi - 2020,remind - SSP2-NPi - 2030,remind - SSP2-NPi - 2050
"market for heat, district or industrial, natural gas","heat, district or industrial, natural gas",RoW,,test_sp,"('test_sp', '24f1bd74f95a41d5d17c2bbb262e7205')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,0.0,0.0,0.0
"market for heat, district or industrial, natural gas","heat, district or industrial, natural gas",USA,,test_sp,"('test_sp', '898d994f463d482c9495c993adce4934')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,0.931,0.931,0.931
"market group for electricity, medium voltage","electricity, medium voltage",US,,test_sp,"('test_sp', 'f9da8cde632bc2b65af76d4d44b9ec9c')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,0.0,0.0,0.0
"market group for electricity, medium voltage","electricity, medium voltage",USA,,test_sp,"('test_sp', '7a833ca142a542fd95cba183afef9d29')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,1.0889,1.0889,1.0889
"market group for electricity, medium voltage","electricity, medium voltage",EUR,,test_sp,"('test_sp', '3065cbb67ecf4e4ca5d4b4d2a779306e')","1,2-Dichloro-1,1-difluoroethane (R-132b) production",r-132b,RER,,test_sp,"('test_sp', 'cfa621d4505d42b194347182ca5957b9')",technosphere,7.6,7.6,7.6
"market group for electricity, medium voltage","electricity, medium voltage",RER,,test_sp,"('test_sp', 'b0043a9ba35dea3f767abb1cf200032f')","1,2-Dichloro-1,1-difluoroethane (R-132b) production",r-132b,RER,,test_sp,"('test_sp', 'cfa621d4505d42b194347182ca5957b9')",technosphere,0.0,0.0,0.0
Relevant errors
/opt/homebrew/Caskroom/miniforge/base/envs/ab/lib/python3.11/site-packages/activity_browser/bwutils/superstructure/dataframe.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
ds_.loc[col] = (key['database'][0], key['code'][0]) if j == 0 else key['database'][0]
<function SuperstructureManager.fill_empty_process_keys_in_exchanges at 0x141b6c9a0> -- 0.017971038818359375
<function SuperstructureManager.verify_scenario_process_keys at 0x141b6cae0> -- 0.7419819831848145
<function SuperstructureManager.check_duplicates at 0x141b6cd60> -- 0.0872948169708252
<function SuperstructureManager.check_scenario_exchange_values at 0x141b6cc20> -- 0.02605581283569336
/opt/homebrew/Caskroom/miniforge/base/envs/ab/lib/python3.11/site-packages/activity_browser/bwutils/superstructure/manager.py:289: PerformanceWarning: indexing past lexsort depth may impact performance.
self_referential_production_flows.loc[idx, 'flow type'] = 'production'
<function SuperstructureManager.merge_flows_to_self at 0x141b6c680> -- 1.4402730464935303
<function ScenarioImportWidget.sync_superstructure at 0x1473dd580> -- 760.5154001712799
<function ScenarioImportWidget.load_action at 0x1473dd440> -- 769.775949716568
Updating AB
What happened?
Multiple (i.e., thousands) warning messages when reading the SDF . This makes the reading of the SDF very long (I had to interrupt the process).
My SDF looks like this:
from activity name,from reference product,from location,from categories,from database,from key,to activity name,to reference product,to location,to categories,to database,to key,flow type,remind - SSP2-NPi - 2020,remind - SSP2-NPi - 2030,remind - SSP2-NPi - 2050 "market for heat, district or industrial, natural gas","heat, district or industrial, natural gas",RoW,,test_sp,"('test_sp', '24f1bd74f95a41d5d17c2bbb262e7205')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,0.0,0.0,0.0 "market for heat, district or industrial, natural gas","heat, district or industrial, natural gas",USA,,test_sp,"('test_sp', '898d994f463d482c9495c993adce4934')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,0.931,0.931,0.931 "market group for electricity, medium voltage","electricity, medium voltage",US,,test_sp,"('test_sp', 'f9da8cde632bc2b65af76d4d44b9ec9c')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,0.0,0.0,0.0 "market group for electricity, medium voltage","electricity, medium voltage",USA,,test_sp,"('test_sp', '7a833ca142a542fd95cba183afef9d29')","1,1-difluoroethane production, HFC-152a","1,1-difluoroethane, HFC-152a",US,,test_sp,"('test_sp', 'b0e20da2ad5d029fd8aaff114d918c02')",technosphere,1.0889,1.0889,1.0889 "market group for electricity, medium voltage","electricity, medium voltage",EUR,,test_sp,"('test_sp', '3065cbb67ecf4e4ca5d4b4d2a779306e')","1,2-Dichloro-1,1-difluoroethane (R-132b) production",r-132b,RER,,test_sp,"('test_sp', 'cfa621d4505d42b194347182ca5957b9')",technosphere,7.6,7.6,7.6 "market group for electricity, medium voltage","electricity, medium voltage",RER,,test_sp,"('test_sp', 'b0043a9ba35dea3f767abb1cf200032f')","1,2-Dichloro-1,1-difluoroethane (R-132b) production",r-132b,RER,,test_sp,"('test_sp', 'cfa621d4505d42b194347182ca5957b9')",technosphere,0.0,0.0,0.0
Relevant errors
Operating system
MacOS
Conda environment