Closed romainsacchi closed 11 months ago
Things work well on my end, so let's try to check a few basic things.
What is the version of xarray
installed in your environment?
Can you confirm the presence of a CSV file under premise/premise/data/GAINS_emission_factors/GAINS_emission_factors_EU.csv? If so, can you confirm the values are separated by a comma (",")?
Does it show exactly this -->
Region,Sector,Activity,value,year,substance AL,CON_COMB,GAS,0.019,2005,CO AL,CON_COMB,HF,0.04,2005,CO
Many thanks Romain.
xarray: 0.20.1 I can confirm I have that .csv file in that location, however values are separated by a dot "." It refers as CSV type of files but it shows values separated by column without commas.
That's surprising. Originally, teh data is comma-separated -- see. OK, I'll find a way to automatically detect the value separator.
Dear Romain, I just checked the csv file and I have it separated by commas. But, still the similar error persists.
Me too - issue persists even changing the csv file to separate commas.
Hi @mintony89 , @aaradhya99 made a clean installation of premise in a dedicated and separate conda environment, and this seemed to solve the issue -- he has another one, though, but unrelated.
Hi @mintony89
can you try upgrading xarray
to 2023.4.2
?
You can directly do pip install xarray==2023.4.2
Hi @mintony89 @aaradhya99 ,
could you let me know if installing v.1.5.0-b4
in a clean new environment solve all the issues?
Dear @romainsacchi Sure, Let me go through the process, and I shall update you soon.
After pip install premise==1.5.0-b3 I tried to run a premise script for a ecoinvent 3.9.1 loaded on bw2 but I got an error
/////////////////////// EXTRACTING IAM DATA ////////////////////////