Comments (3)
Hi @ktdavidson,
Thank you for the bug report. The bug comes about when you passed a single Imager
into Imagers
. Imagers
expects a tuple of asilib.Imager
objects, not a single asilib.Imager
object.
Given that the get_points()
method is in Imagers
, this is an appropriate way for you to use it. I fixed the bug in Imagers
and I will release it soon. In the meanwhile, a quick fix is to wrap your _imagers
variable as a tuple: asis = asilib.Imagers((_imagers, ))
. The example below implements this fix.
import datetime
import asilib
import asilib.asi
location_code = 'FYKN'
map_alt_km = 150
min_elevation = 2
time = datetime.datetime(2012,2,15,6,0,0)
_imagers = asilib.asi.themis(location_code,time=time,alt=map_alt_km)
asis = asilib.Imagers((_imagers, ))
lat_lon_points,intensities = asis.get_points(min_elevation=min_elevation)
print(lat_lon_points)
print(intensities)
print(lat_lon_points.shape)
from asilib.
Thank you! This fixed the problem.
from asilib.
Great! I released an update so you can now use your original code once you update the library via
python3 -m pip install aurora-asi-lib==0.20.5
from asilib.
Related Issues (14)
- help HOT 1
- BUG: Runtime error when using animate_fisheye() HOT 4
- Bug or misunderstanding of Conjunction.lla_footprint() HOT 2
- Issue Importing asilib.asi HOT 2
- BUG: <Please write a comprehensive title after the 'BUG: ' prefix>
- DOC: REGO example needs to be updated
- BUG: Cannot uninstall opencv-python 4.6.0, RECORD file not found. Hint: The package was installed by conda. HOT 4
- BUG: Keogram not acceptating datetime.datetime objects HOT 1
- Is there a way to create videos after syncing multiple observatory images and plotting them on a map? HOT 4
- Implementing custom satellites+data in fisheye animations when working with custom satellite and data HOT 1
- Scatterplotting on axes after calling from animate_map_gen() HOT 1
- Relax dependency requirements? HOT 3
- Acknowledgements break on cloud server HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asilib.