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

[feat] Detect missing files in summary_database() #44

Merged
merged 6 commits into from
Mar 20, 2022
Merged

Conversation

hongyuanjia
Copy link
Member

Pull request overview

  • Fixes summary_database() did not inform incomplete coverage of years specified #40
  • Now summary_database() can append results to the previous scan and detect if any previously matched NetCDF files do not exist. It stores the metadata of those missing files as a new attribute not_found in the results. Warnings are issued if warning is set to TRUE. Also, a new parameter miss has been added to control how to manage those invalid entries. You can set it to "keep", which is the default, to do nothing about it or "overwrite" to overwrite those entries based on the newly matched NetCDF files if possible.

@hongyuanjia hongyuanjia self-assigned this Mar 19, 2022
@hongyuanjia hongyuanjia added this to the v0.2.0 milestone Mar 19, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #44 (1efc5c5) into master (8ca4335) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #44   +/-   ##
=======================================
  Coverage   99.81%   99.82%           
=======================================
  Files           5        5           
  Lines        1084     1146   +62     
=======================================
+ Hits         1082     1144   +62     
  Misses          2        2           
Impacted Files Coverage Δ
R/netcdf.R 99.45% <100.00%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ca4335...1efc5c5. Read the comment docs.

@hongyuanjia hongyuanjia merged commit 555c072 into master Mar 20, 2022
@hongyuanjia hongyuanjia deleted the joss/database branch March 20, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

summary_database() did not inform incomplete coverage of years specified
2 participants