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

works with lon range #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kvenkman
Copy link

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

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
Member

thank you -- I will look at this soon!

@kvenkman
Copy link
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
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
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