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
Ar6 colors #213
Ar6 colors #213
Conversation
Ooof, thanks stickler.. you can tell I must have just moved to a new laptop without the exact same emacs config.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, pending working out CI stuff. Do you want to do the CI update on this PR, then update all others, or push the other PRs through first, then update the CI (keeping in mind that I think #198 has a nice way to split things out so environment management for CI and local testing is easier and clearer)?
thanks @gidden, great that we are moving towards AR6 colors! But echoing @znicholls question, I'm not sure I understand how this is expected to work in practice. If the scenario name has to contain the project color coding (like Rather, I'd go for something like |
I'd actually disagree with this. One person's 'natural' name for the SSPs is another one's unnatural naming. I think a very specific naming scheme like you have is ok, as long as the tutorial shows clearly how to set the colours for whatever scheme one wants e.g. if your convention is "SSP585", do this, if it's "SSP5-8.5", do this, if it's "RCP26-SSP1", do this. |
Agree, @znicholls, that there is no one unique naming convention - but it should not be necessary to encode the color palette in the scenario name. |
You have to put the information about where the colour palette comes from somewhere? Would you instead have |
Yes, a dictionary or loading a specific config file based on |
Hi all, great discussion so far. I should note that this is just one suggestion of an initial implementation that we can build off of in the future. The way that it works right now is to recognize certain color names and only in the
As implemented, the dictionary is just like saying I say that this is preliminary because there could be other, "smarter" was to do this, e.g., by trying to develop a If someone wants to try to implement (or at least propose an implementation) a color-palate-setting approach, I'd be all ears! I thought about it for a while and this was the conclusion I came to. To note, we could break this
But I'm not sure what the win is here over just naming it explicitly. |
@znicholls regarding #198, I think we still have a bit to do on the review there. is it easy to break out the commits related to CI and issue a separate PR? Or are they too intricately connected to do so? |
Ok took a quick look and I think it's best to wait here for CI discussion on #198 either by merging that first or breaking out the CI components and merging that smaller PR first. |
Yep will do so now |
Ok let's look at #214 first then go from there |
bump all figures to freetype version 2.9.1
Ok folks, after much pain, we now have updated CI on all platforms. As part of this, I have updated a bit of the I also found that we are now running into our depedencies dropping python 2 support. A number of them require python3 to install appropriate versions on conda, so I have made the executive decision to drop our python2 CI instead of having to completely regenerate/copy it and keep copies of all expected images. Let me know if anyone really thinks this is a bad idea, but I think it's our best pathway forward. I also expanded a bit the python versions tested - 3.6 and 3.7 are tested on all 3 OSes. I tried python3.5, but it ran into the same issues (conda quietly upgraded to python3.7 because of some dependency we have). |
But in any case, @danielhuppmann and @znicholls, let's get back to the more important discussion of how best to implement the colors! |
lgtm, will put minor tweaks in a PR
Good call from my end
I agree with this so have only put addition of RCP colours in my PR |
* Add RCP colours and tweak Makefile * Update naming convention
Ok everyone, thanks to @znicholls, we now have support also for the AR5 color palate. In addition to the existing implementation, I will add a short tutorial on how to use it. Are we happy with the implementation as is? Do we want to revisit the single key-value pair strategy for colors? |
Hey @znicholls. CI is running into the same issue as I did on my local machine. Namely the line here causes make to fail (see here). I will remove it again but just want to make sure you're aware. |
Or I guess now it is a bit different than what I saw implementation wise, but the result is the same ( |
FYI @znicholls I had to revert the makefile changes, not sure what about them caused CI to error, but if you're interested, would you mind opening up a new pr with those changes to investigate? |
yep see #218 |
* Try updating make setup for CI * Get venv dependencies right * Update doc requirements for Makefile
@znicholls, @danielhuppmann: #198 is now being built on this PR, which makes review there complicated. Are we ok to pull this in now and making an issue to add a tutorial for it's use (since I can't get to that immediately)? That would allow me to then review #198. Thoughts? |
I saw that after I typed this message =)
…On Thu, Apr 11, 2019 at 8:15 AM Zeb Nicholls ***@***.***> wrote:
That would allow me to then review #198
<#198>. Thoughts?
You could also review in gidden#8 <gidden#8>
instead, should make it simpler?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABVAEe1dqkLMCPzocAOG72e-a6Sxplreks5vftMXgaJpZM4cc6MN>
.
|
I think it's fine to pull this PR (affect updating the readme and docs, but that should only take a minute). Thanks @gidden for making |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, questions about usage have been resolved in offline discussions.
lgtm too @gidden, I'll leave it for @danielhuppmann to merge overnight once the README etc. are good to go |
Ok @danielhuppmann tutorial is added and this should be good to merge after CI passes |
User-configuration support for AR6 color palate
TO NOTE I had to update our plotting CI to use a newer freetype version. This will cause necessary updates to our CI as well..
We now can set our
run_control
to say we want specific AR6 scenario colors. Need to add docs, etc., but let me know what you think about color names, etc. You can see an example in the updated test. Basically you need a config like: