Skip to content
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

Use preprocessed OGGM data and migrate to pure Julia instead of relying on PyCall #65

Merged
merged 46 commits into from
Jan 23, 2025

Conversation

albangossard
Copy link
Member

OGGM data are now preprocessed using https://github.com/ODINN-SciML/Gungnir. This allows us to get rid of PyCall and use pure Julia instead.

@albangossard albangossard added the enhancement New feature or request label Jan 23, 2025
facusapienza21 and others added 18 commits January 23, 2025 12:14
Ongoing fix, still a few lines missing, and tests have still not been run.
* migrate all 2D files to purejulia

* update test references

* remove PyCall dependencies in the 1D files

* automatic download of preprocessed data + remove DataFrames dependency

* try to remove Python from the CI

* remove remaining implicit dependencies to Python objects

* create get_rgi_paths

* fix various bugs

* remove absolute paths from get_rgi_paths to make the tests platform agnostic

* fix bugs with the climate_2D_step structure

* some cleaning

* bump version
@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 55.75758% with 73 lines in your changes missing coverage. Please review.

Project coverage is 29.51%. Comparing base (15f3942) to head (f7fdbc1).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/glaciers/glacier/glacier2D_utils.jl 41.79% 39 Missing ⚠️
src/glaciers/climate/climate2D_utils.jl 59.09% 27 Missing ⚠️
src/setup/config.jl 83.33% 3 Missing ⚠️
src/glaciers/climate/Climate1D.jl 0.00% 2 Missing ⚠️
src/glaciers/glacier/Glacier1D.jl 0.00% 1 Missing ⚠️
src/glaciers/glacier/Glacier2D.jl 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
- Coverage   38.02%   29.51%   -8.51%     
==========================================
  Files          16       15       -1     
  Lines         697      603      -94     
==========================================
- Hits          265      178      -87     
+ Misses        432      425       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@albangossard albangossard merged commit a539180 into main Jan 23, 2025
2 checks passed
@albangossard albangossard deleted the purejulia branch January 23, 2025 12:55
@albangossard albangossard restored the purejulia branch January 23, 2025 13:08
@albangossard albangossard deleted the purejulia branch January 23, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants