bc3LC / gcamreport

Package to process GCAM results and standardize the format
https://bc3lc.github.io/gcamreport/
MIT License
2 stars 2 forks source link

Cant generate data in GCAM6 and 5.4. Shiny also not working #9

Closed Kofimoley closed 3 weeks ago

Kofimoley commented 3 weeks ago

Hello everyone, I am trying to use the gcamreport package in R and so far I can generate the report in GCAM7.

For GCAM5.4 and 6.0, it only creates the .dat file without the CSV and xlsx files.

I have tried to get the information from the .dat file using the instructions given on the GitHub page but I get the same error as shown in the attached image.

Also, in all three versions of GCAM, the interactive page doesnt open. It says "No Shiny application exists at the path "inst/gcamreport_ui"". Again, I tried the suggested solution and it doesnt work.

Below is the exact code I use for each of the three versions of GCAM.

devtools::load_all()

db_path <- "D:/gcam-v6.0-Windows-Release-Package/output" db_name <- "SECT_III" prj_name <- "my-project.dat" scen_name <- c("CONV") generate_report(db_path = db_path, db_name = db_name, prj_name = prj_name, scenarios = scen_name, final_year = 2050, save_output = TRUE, launch_ui = TRUE, ghg_GWP = gcamreport::ghg_GWP_AR4)

I will be very grateful to hear back from you on how to resolve the data generation and shiny app problems at your most convenient time. @klau506 @russellhz @jonsampedro

Thank you. c6165fa5c2bc7c7780597a88b6c5195

Kofimoley commented 3 weeks ago

closing this now, found my mistake and rectified it. I used version6 of the gcamreport and also made sure to use the gcamreport R project. So the above issues have all been resolved now. 3c2f46d7d6904469d6fc3900d1cc29f