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

Release 1.0 #7

Merged
merged 47 commits into from
Aug 31, 2020
Merged

Release 1.0 #7

merged 47 commits into from
Aug 31, 2020

Conversation

mts299
Copy link
Collaborator

@mts299 mts299 commented Jul 28, 2020

This code should work exactly like pyDARN io code as I just copied it over and changed all pyDARN to pyDARNio.

import pydarnio

is how to use the library.

@mts299
Copy link
Collaborator Author

mts299 commented Jul 29, 2020

read the docs link: https://pydarnio.readthedocs.io/en/release-1.0/

@mardet987
Copy link
Collaborator

mardet987 commented Jul 30, 2020

@mts299 getting similar issue to pydarn v1.1 release I think it may have been missed here:

File "/home/radar/pydarnio-env/lib/python3.6/site-packages/pydarnio-1.0.0-py3.6.egg/pydarnio/borealis/borealis_convert.py", line 242, in init
File "/home/radar/pydarnio-env/lib/python3.6/site-packages/pydarnio-1.0.0-py3.6.egg/pydarnio/borealis/borealis_convert.py", line 316, in _write_to_sdarn
File "/home/radar/pydarnio-env/lib/python3.6/site-packages/pydarnio-1.0.0-py3.6.egg/pydarnio/dmap/superdarn.py", line 620, in write_rawacf
AttributeError: type object 'Rawacf' has no attribute 'extra_fields'

@mts299
Copy link
Collaborator Author

mts299 commented Jul 30, 2020

Whoops, just fixed it @mardet987

Adapted language for clarity.

Co-authored-by: mardet987 <mardet987@users.noreply.github.com>
mkdocs.yml Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
tests/unit/test_conversions.py Outdated Show resolved Hide resolved
tests/unit/test_dmap.py Show resolved Hide resolved
pydarnio/dmap/dmap.py Outdated Show resolved Hide resolved
pydarnio/dmap/dmap.py Outdated Show resolved Hide resolved
pydarnio/dmap/superdarn.py Outdated Show resolved Hide resolved
tests/integration/test_borealis.py Outdated Show resolved Hide resolved
tests/integration/test_superdarn.py Outdated Show resolved Hide resolved
pydarnio/borealis/borealis_array.py Outdated Show resolved Hide resolved
pydarnio/borealis/borealis_convert.py Outdated Show resolved Hide resolved
pydarnio/borealis/borealis_convert.py Outdated Show resolved Hide resolved
pydarnio/borealis/borealis_convert.py Outdated Show resolved Hide resolved
pydarnio/borealis/borealis_convert.py Outdated Show resolved Hide resolved
docs/user/install.md Outdated Show resolved Hide resolved
mts299 and others added 7 commits August 25, 2020 10:03
Co-authored-by: Angeline Burrell <aburrell@users.noreply.github.com>
Co-authored-by: Angeline Burrell <aburrell@users.noreply.github.com>
Co-authored-by: Angeline Burrell <aburrell@users.noreply.github.com>
@mts299
Copy link
Collaborator Author

mts299 commented Aug 25, 2020

@mardet987 if you want to love over the comments from @aburrell and add any you see fit to. Then I think we are good to merge and release :)

mardet987 and others added 2 commits August 25, 2020 14:56
- setUp before other functions in testing classes
- See Also documentation after other sections but before Notes
- math.fmod, math.floor -> np.fmod, np.floor to reduce imports
- removed single-char variable 'e' for error
Fixed name and capitalization to reflect current package and be consistent.

Co-authored-by: Marina Schmidt <mts299888@gmail.com>
Copy link
Collaborator

@aburrell aburrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found two typos. I will not have time to do the unit tests for probably a month, but there's an issue now so the problems won't be buried if you want to tag that for a future release.

pydarnio/dmap/superdarn.py Outdated Show resolved Hide resolved
pydarnio/dmap/superdarn.py Outdated Show resolved Hide resolved
mts299 and others added 2 commits August 26, 2020 08:51
Co-authored-by: Angeline Burrell <aburrell@users.noreply.github.com>
Co-authored-by: Angeline Burrell <aburrell@users.noreply.github.com>
@mts299
Copy link
Collaborator Author

mts299 commented Aug 26, 2020

@mardet987 did you get all the reviews done if so I can release it today.

@mardet987
Copy link
Collaborator

I have some unit tests not passing now .... so I'm looking into it .

edited to not work on the records dictionary in place.
This is needed so they don't edit the records dictionary
of the class whenever the arrays is accessed, for example.
NaN==NaN returns False so have to use np.isNaN
to check for these in arrays. These are found where
the dimension of the array is greater than the dimension
for that record. (ie. max num sequences may be larger than
num sequences for a specific record).
@mardet987
Copy link
Collaborator

Sorry, I'm not sure how I didn't see these integration tests not passing before. I have made some edits, now the Borealis tests pass.

@mts299 mts299 merged commit 4e274f4 into master Aug 31, 2020
@egthomas egthomas deleted the release-1.0 branch August 24, 2022 13:22
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