bopen / xarray-sentinel

Xarray backend to Copernicus Sentinel-1 satellite data products
Apache License 2.0
221 stars 22 forks source link

33 expose xarray sentinel.open dataset interface #35

Closed aurghs closed 3 years ago

aurghs commented 3 years ago

close #33

codecov-commenter commented 3 years ago

Codecov Report

Merging #35 (92c5cde) into main (b04f0ce) will increase coverage by 0.13%. The diff coverage is 93.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   93.25%   93.39%   +0.13%     
==========================================
  Files           7        7              
  Lines         519      530      +11     
  Branches       60       60              
==========================================
+ Hits          484      495      +11     
  Misses         19       19              
  Partials       16       16              
Impacted Files Coverage Δ
xarray_sentinel/sentinel1.py 95.67% <90.00%> (+0.04%) :arrow_up:
tests/test_sentinel1.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 b04f0ce...92c5cde. Read the comment docs.

alexamici commented 3 years ago

@aurghs you should from .sentinel1 import open_dataset in __init__.py

So you can import xarray_sentinel; xarray_sentinel.open_dataset(...)

Then is good to merge for me.