-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
The repr of GenericMap raises an error if the WCS is an unknown type. #2452
Labels
Effort Medium
Requires a moderate time investment
map
Affects the map submodule
Package Novice
Requires little knowledge of the internal structure of SunPy
Priority Low
Slow action required
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
In [1]: from sunpy.data.sample import AIA_171_IMAGE; import sunpy.map; import matplotlib.pyplot as plt
In [2]: m = sunpy.map.Map(AIA_171_IMAGE)
In [3]: m.meta['CTYPE1'] = "STUART1"
In [4]: m.meta['CTYPE2'] = "STUART2"
In [5]: m
From this error, it looks like it's the |
I tried returning None if the lookup failed in
However, this leads to new errors such as |
nabobalis
added
Package Novice
Requires little knowledge of the internal structure of SunPy
map
Affects the map submodule
Priority Low
Slow action required
Effort Medium
Requires a moderate time investment
labels
Jan 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Effort Medium
Requires a moderate time investment
map
Affects the map submodule
Package Novice
Requires little knowledge of the internal structure of SunPy
Priority Low
Slow action required
Make a WCS with some nonsense in CTYPE1 CTYPE2 and then call
repr(smap)
The text was updated successfully, but these errors were encountered: