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

Add updated source files to Updates folder #91

Closed
wants to merge 3 commits into from

Conversation

hemamipour
Copy link

Added wrf.jl that handles WRF data processing.

Minor modifications were made to EarthSciData.jl, load.jl, and utils.jl
to integrate with wrf.jl

Copy link
Member

@ctessum ctessum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this file different from src/EarthSciData.jl? Can we make changes to src/EarthSciData.jl instead of creating a new file here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sure. Just had put them temporarily to check with you first. I made changes to the original files and created a new pull request.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this file different from src/load.jl? Can we make changes to src/load.jl instead of creating a new file here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. I initially created these files temporarily for review purposes. I've now made the necessary changes to the original files and opened a new pull request.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this file different from src/utils.jl? Can we make changes to src/utils.jl instead of creating a new file here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. I initially created these files temporarily for review purposes. I've now made the necessary changes to the original files and opened a new pull request.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it work to put this file directly in the src directory rather than creating a new Updates directory to put in?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I’ve moved it directly to src in the new pull request.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add a line in test/runtests.jl to run this file as part of the test suite.

@safetestset "geosfp" begin include("geosfp_test.jl") end

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ve added a line to test/runtests.jl to include wrf_test.jl in the test suite.

Copy link

codecov bot commented Jan 18, 2025

Codecov Report

Attention: Patch coverage is 0% with 656 lines in your changes missing coverage. Please review.

Project coverage is 42.34%. Comparing base (f5e7252) to head (507e7aa).
Report is 56 commits behind head on main.

Files with missing lines Patch % Lines
src/Updates/wrf.jl 0.00% 420 Missing ⚠️
src/Updates/load.jl 0.00% 207 Missing ⚠️
src/Updates/utils.jl 0.00% 29 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #91       +/-   ##
===========================================
- Coverage   95.00%   42.34%   -52.66%     
===========================================
  Files           9       11        +2     
  Lines         500     1195      +695     
===========================================
+ Hits          475      506       +31     
- Misses         25      689      +664     

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

Updated files:
  1. EarthSciData.jl
  2. load.jl
  3. utils.jl

New files:
  1. wrf.jl
  2. wrf_test.jl
Added wrf.jl and wrf_test.jl.
Minor updates to: EarthSciData.jl, utils.jl, and runtests.jl.
@hemamipour hemamipour closed this Jan 20, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants