-
Notifications
You must be signed in to change notification settings - Fork 8
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
Numpy to xarray converter #46
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
==========================================
- Coverage 96.85% 96.48% -0.38%
==========================================
Files 49 49
Lines 3113 3126 +13
Branches 566 568 +2
==========================================
+ Hits 3015 3016 +1
- Misses 97 109 +12
Partials 1 1
Continue to review full report at Codecov.
|
…to xarray. Module is called NdaarayToXarray
Hello @gkbal! Thanks for updating your pull request.
Comment last updated at 2020-07-20 05:10:43 UTC |
bapsflib/utils/__init__.py
Outdated
def foo(x): | ||
return x | ||
def NdarrayToXarray(data, arr_name={}): | ||
import xarray as xr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move between __all__
and the "from" imports
All imports should be at the top of the file, unless you're trying to avoid things like cyclical imports.
change module name Co-authored-by: Erik Everson <eteverson@gmail.com>
"shot_index" to "shotnum" Co-authored-by: Erik Everson <eteverson@gmail.com>
"shot_index" to "shotnum" 2 Co-authored-by: Erik Everson <eteverson@gmail.com>
…psflib into UnderConstruction_bapsf � Conflicts: � bapsflib/utils/__init__.py
Numpy to xarray converter