Skip to content

works with lon range#25

Open
kvenkman wants to merge 1 commit intospace-physics:mainfrom
kvenkman:bugfix-geoprofile-add_lon_range
Open

works with lon range#25
kvenkman wants to merge 1 commit intospace-physics:mainfrom
kvenkman:bugfix-geoprofile-add_lon_range

Conversation

@kvenkman
Copy link
Copy Markdown

The method now iterates over a given range of longitudes.

A few other additions -
glat/glon are checked for sequences/numpy arrays. If they are, the np.arange method used along with unpacking operator now creates a np.float array. This fixes the assertion error raised at line 24 in IRI of base.py if the input sequence comprises only of integers - e.g. (30, 40, 2).

If glat/glon are not Sequences/numpy arrays, they are expanded to be 1D numpy arrays to be iterable.

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Dec 28, 2020

This pull request introduces 1 alert when merging 86ce42b into f04ded9 - view on LGTM.com

new alerts:

  • 1 for Wrong name for an argument in a call

@scivision
Copy link
Copy Markdown
Member

thank you -- I will look at this soon!

@kvenkman
Copy link
Copy Markdown
Author

kvenkman commented Jan 6, 2021

The call to geoprofile in latitude.py needs to be updated - should I fix this and re-submit a PR?

@kvenkman
Copy link
Copy Markdown
Author

kvenkman commented Mar 1, 2021

Following up on this PR - is there anything I can do to have this feature included?

@scivision
Copy link
Copy Markdown
Member

Sorry, I got very busy I am catching up on PRs !

@scivision scivision force-pushed the master branch 3 times, most recently from 1f39b26 to f5559f9 Compare June 28, 2023 21:57
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.

2 participants