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

conversion output shapes can be different when using broadcastable inputs #62

Open
gregstarr opened this issue Feb 26, 2021 · 1 comment
Milestone

Comments

@gregstarr
Copy link
Contributor

gregstarr commented Feb 26, 2021

Describe the bug
Depending on which conversion is being performed, if you use inputs with the intent to array-broadcast, you can get mismatched output shapes. See: #27 (comment)

To Reproduce
Steps to reproduce the behavior:

  1. create arrays for lat, lon and time
  2. perform a geo to mlt conversion with each input extended along a different dimension
  3. examine output shapes

Expected behavior
The output arrays should have the same shape, instead, because mlat doesn't depend on time, it will only be size 1 along the time dimension.

apexpy version: develop

@aburrell
Copy link
Owner

Other methods that have trouble with broadcasting issues are:

  • basevectors_apex
  • basevectors_qd
  • map_E_to_height
  • map_V_to_height

@aburrell aburrell mentioned this issue Apr 29, 2021
11 tasks
@aburrell aburrell modified the milestones: 2.0.0 Release, Future Nov 1, 2022
@aburrell aburrell modified the milestones: Future, 2.1.0 Jan 3, 2023
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

No branches or pull requests

2 participants