Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Scope
setup.py
file and moved tosrc/
-style package layout to alleviate issues surrounding automatic package detection and editable installation without asetup.py
file.issue: N/A
Approval
Number of approvals: 2
Test
First, get your hands on some new Borealis v1.0 files. @ me for files to test with.
BorealisRead
on pre-v1 files (site- and array-structured)BorealisWrite
on pre-v1 files (site- and array-structured)BorealisConvert
on pre-v1 files (site- and array-structured)BorealisRead
on v1 files (access data withreader.records
andreader.arrays
)BorealisWrite
on v1 files (should raiseNotImplementedError
)BorealisConvert
on v1 files (bfiq and rawacf)BorealisV1Read.records_as_xarray()
BorealisV1Read.arrays_as_xarray()
Note that to test the xarray features you must install pydarnio with the optional
xarray
dependencies, likepip install pydarnio[xarray] @ git+https://github.com/SuperDARN/pyDARNio
The
BorealisRead
,BorealisWrite
, andBorealisConvert
classes should be able to seamlessly support all types of Borealis files, determining the version from the data file and dispatching to the appropriate class.