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

Don't warn if there is no beam #422

Closed
astrofrog opened this issue Sep 14, 2017 · 0 comments
Closed

Don't warn if there is no beam #422

astrofrog opened this issue Sep 14, 2017 · 0 comments

Comments

@astrofrog
Copy link
Member

By default there is a warning if there is no beam information:

/Users/tom/Dropbox/Code/radio-astro-tools/spectral-cube/spectral_cube/cube_utils.py:260: UserWarning: Could not parse beam information from header.  Exception was: TypeError('No BMAJ found and does not appear to be a CASA/AIPS header.',)
  "  Exception was: {0}".format(ex.__repr__()))

I don't think this should be shown by default since it's ok for cubes to not have a beam.

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

1 participant