-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting v7 running with gcambreakout #393
Comments
This is a bug in
Or alternatively:
|
Thanks a lot -- pulling the modified zenergy_L210.resources.R file from your repo did the trick. Unfortunately, on the UK-broken-out branch, I'm now getting this issue in driver_drake(). Any ideas? ▶ target L162.bio_YieldRate_R_Y_GLU_irr |
I've heard of this error happening when you break out a country in the country-to-region mapping files |
That did it -- we do have the IEA data, and I had just forgotten to add it into the extdata/energy folder. Next update (thanks for sticking with me through these issues...) -- I'm trying two different ways to get this running and both are stuck. The first, using the gcambreakout function, is stuck on the following: where the tibble of interest looks like: A tibble: 2,723 × 6Groups: GCAM_region_ID, GLU [180]GCAM_region_ID GLU year value change_rate change ℹ 2,713 more rowsℹ Use
|
So I don't know what's going on with the inter-annual fluctuation in land areas; the fact that it's not happening in your manual breakout method means it's probably something to do with the automated breakout not working correctly. It's not something I'd advise spending much time digging into. |
Hi @pkyle -- thank you for the help so far! Moving along steadily here with debugging. I'm on to the ceds emissions module and have a relatively vague run error (see below). I'm having difficulty diagnosing as there are so many left_joins in this module. I looked through each of the csv input files required for the module and saw no issues, so it could be either due to a preceding module or due to the code. I read online that "Users that want to build using CEDS raw data, for example to build for different regional aggregations, will need to generate CEDS data using the open-source CEDS system." Is that what's going on here - the CEDS system looks out of date relative to v7 -- any issue there? Thank you, always! ▶ target elec_segments_water_USA.xml |
My assumption would be that the CEDS emissions files (e.g., |
Good morning GCAM team,
I'm trying to get the United Kingdom broken out from the EU in GCAM v7. I've used the gcambreakout package, creating a new region called United Kingdom (ID 33) with only the UK pulled out from EU-15 (ID 13). This runs successfully.
Now, when running driver() in GCAM Data System v5.1, which worked before the region breakout, I get the following error. Any advice on this would be really helpful.
.
.
.
[1] "module_energy_L154.transportation_UCD"
[1] "- make 79.01"
[1] "module_energy_L2011.ff_ALL_R_C_Y"
[1] "- make 0.30"
[1] "module_energy_L202.Ccoef"
[1] "- make 0.02"
[1] "module_energy_L210.resources"
Error in
mutate()
at ei-gcamdata/R/utils-data.R:32:3:ℹ In argument:
environCost = if_else(resource == "coal" & region %in% L210.low_reg, 0, environCost)
.Caused by error in
if_else()
:!
false
must be a vector, notNULL
.Run
rlang::last_trace()
to see where the error occurred.[Update]
This error is still occurring even after I've reverted the changes to the input data. Could it be something to do with the R packages that needed to be updated for gcambreakout?
The text was updated successfully, but these errors were encountered: