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

xarray.to_netcdf kwargs and tests #294

Merged
merged 2 commits into from
Apr 4, 2022
Merged

xarray.to_netcdf kwargs and tests #294

merged 2 commits into from
Apr 4, 2022

Conversation

EddyCMWF
Copy link
Contributor

@EddyCMWF EddyCMWF commented Mar 24, 2022

Functionality to allow providing kwargs to xarray.to_netcdf in the cfgrib to_netcdf executable.
For example to use alternate engines or additional compression options.
The new calling syntax is:
cfgrib to_netcdf INFILE OUTFILE --netcdf_kwargs_json TO_XARRAY_KWARGS_JSON

@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2022

Codecov Report

Merging #294 (409c945) into master (125b1df) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #294      +/-   ##
==========================================
+ Coverage   95.35%   95.39%   +0.04%     
==========================================
  Files          26       26              
  Lines        1957     1978      +21     
  Branches      230      231       +1     
==========================================
+ Hits         1866     1887      +21     
  Misses         61       61              
  Partials       30       30              
Impacted Files Coverage Δ
cfgrib/__main__.py 93.93% <100.00%> (+0.71%) ⬆️
tests/test_60_main_commands.py 100.00% <100.00%> (ø)

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 125b1df...409c945. Read the comment docs.

@EddyCMWF EddyCMWF marked this pull request as ready for review March 25, 2022 09:28
@iainrussell iainrussell merged commit 1351bbc into ecmwf:master Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants