-
Notifications
You must be signed in to change notification settings - Fork 10
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
add CHELSA V2 #62
add CHELSA V2 #62
Conversation
Sure Chelsa version type parameter makes sense, 2 is assumed if not specified |
Re test failures: the Aqua.jl keywords have changed. We'll need to remove the toml formatting part and also probably specify the Aqua.jl version in Project.toml |
Just need to add some tests and this is good to go. For future climate, I haven't added a version keyword because CMIP6 is always version 2. The bioclim variables are in the exact same path as the bioclim+ variables, so we could consider making it so that |
@rafaqz could you review this and help me troubleshoot these test failures? |
Ok so Aqua.jl dosen't do toml formatting anymore, yoy can delete that line from the tests. |
Aqua is in the runtest.jl file, near the top. While youre at it maybe add a line there to |
@rafaqz It now fails because of codecov. Could you take a look? |
This looks good to go. Do you want to also update the readme table so CHELSA includes plus and climate? (We can ignore that error its just codecov) |
FYI @rafaqz - precompilation gives this output. I can't figure out which line triggers this (nothing to do with this PR I think - it's the same on master)
|
Yeah would be nice to get a line number for that... Fixed in #65 |
How can WorldClim downloads be this unreliable |
Are you kidding me, worldclim is down again!! I think this PR is done - can you re-trigger tests manually when worldclim is up again @rafaqz? |
Yeah, maybe we need to cut any testing dependency on them or make it optional based on if it loads at all... Or maybe we can use GitHub actions cache somehow to cache the downloads now It's so weird for such a widely used dataset. |
@rafaqz I think this PR is good to go - the tests just failed because worldclim was down. Can you manually re-run the tests? And maybe give the code a final glance? |
Thanks, great to have this :) |
This package currently downloads CHELSA data from V1.
CHELSA V2 has a bunch of additional variables, so I want to make those accessible from this package.
I think version 2 should become the default, but we need to still allow for version 1. The easiest way to do that would be to have version as a keyword argument for the
CHELSA
typeTo-do list