Hi everyone. So, I am trying to include biochar files from 5.4 to run them in 7. The biochar files were obtained from a modified version of GCAM5.4 from https://doi.org/10.5281/zenodo.7492895. Upon downloading this modified version, some of the biochar xml files were missing which I had to create using the data system from 5.4. Now, the model runs fine with biochar alongside the rest of the CDRs (six in total).
The problem now is that I need all these CDRs alongside the full hydrogen segment, so using 5.4 would not be possible. All the CDRs can be exported and included successfully in the model runs of 6 or 7 except biochar. Clearly, the biochar xml files created from 5.4 are not compatible with gcam 6 or 7.
I decided then to use the data system of 7 to re-build the biochar xml files with the hope of solving the compatibility issue. So, I copied the biochar-related csv files from the modified 5.4 (from inst/extdata/energy/A221…) into the respective folder in 7.
[Note: when using 7's data system to rebuild all the xml files to get those of biochar's, I ran into another issue regarding module_gcamusa_L270.limits which @robbieorvis helped me solve. Thanks a lot Rob]
Unfortunately, after all the xml files were created, I realized the biochar files were still missing. So, I went back to the modified 5.4 and re-checked the folders - comparing them to those in 7. I realized in the modified 5.4, the R folder contains some files related to biochar that were not existing in the R folder in 7. So, I thought that would be the solution.
I copied these biochar.R files from the 5.4 and added them to the respective folder in 7 but I got several errors once the data system is ran. When I delete those introduced biochar.R files, the data system starts to work fine. I tried to follow the naming convention of the .R files in the R folder of 7 to re-name the biochar.R files but still got errors. I am currently stuck and don't know how to resolve the issue. I would really be grateful if some assistance could be provided on how to correctly set everything up in order for the data system in 7 to build the biochar xml files that I need.
I have attached screenshots showing the biochar.R files, and the related csv files. Thank you in advance for the help. @pralitp @pkyle
Hi everyone. So, I am trying to include biochar files from 5.4 to run them in 7. The biochar files were obtained from a modified version of GCAM5.4 from https://doi.org/10.5281/zenodo.7492895. Upon downloading this modified version, some of the biochar xml files were missing which I had to create using the data system from 5.4. Now, the model runs fine with biochar alongside the rest of the CDRs (six in total).
The problem now is that I need all these CDRs alongside the full hydrogen segment, so using 5.4 would not be possible. All the CDRs can be exported and included successfully in the model runs of 6 or 7 except biochar. Clearly, the biochar xml files created from 5.4 are not compatible with gcam 6 or 7.
I decided then to use the data system of 7 to re-build the biochar xml files with the hope of solving the compatibility issue. So, I copied the biochar-related csv files from the modified 5.4 (from inst/extdata/energy/A221…) into the respective folder in 7.
[Note: when using 7's data system to rebuild all the xml files to get those of biochar's, I ran into another issue regarding module_gcamusa_L270.limits which @robbieorvis helped me solve. Thanks a lot Rob]
Unfortunately, after all the xml files were created, I realized the biochar files were still missing. So, I went back to the modified 5.4 and re-checked the folders - comparing them to those in 7. I realized in the modified 5.4, the R folder contains some files related to biochar that were not existing in the R folder in 7. So, I thought that would be the solution.
I copied these biochar.R files from the 5.4 and added them to the respective folder in 7 but I got several errors once the data system is ran. When I delete those introduced biochar.R files, the data system starts to work fine. I tried to follow the naming convention of the .R files in the R folder of 7 to re-name the biochar.R files but still got errors. I am currently stuck and don't know how to resolve the issue. I would really be grateful if some assistance could be provided on how to correctly set everything up in order for the data system in 7 to build the biochar xml files that I need.
I have attached screenshots showing the biochar.R files, and the related csv files. Thank you in advance for the help. @pralitp @pkyle