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

Error in catalog_seed_image.py that crashes mirage #795

Open
christinawilliams opened this issue May 12, 2022 · 2 comments
Open

Error in catalog_seed_image.py that crashes mirage #795

christinawilliams opened this issue May 12, 2022 · 2 comments

Comments

@christinawilliams
Copy link

I'm trying to use a self-made input catalog of simulated galaxies for NIRCam using MIRAGE, and am getting an error that I think crashes inside catalog_seed_image.py. I used the examples on the github page for making your own 2D sersic profile galaxy input catalogs, and so I think they are in the correct format using catalog_generator.GalaxyCatalog and add_magnitude_column. I attached the last 3 lines of output before I get all the code traceback:

File "/home/cwilliams/anaconda3/envs/JWST/lib/python3.8/site-packages/mirage/seed_image/catalog_seed_image.py", line 3720, in RADecToXY_astrometric
pixelx, pixely = self.coord_transform.inverse(loc_v2, loc_v3)
AttributeError: 'TaggedDict' object has no attribute 'inverse'

I am getting this same error when using two different mirage installations, 2.1.1.dev48+g9bdb234 and 2.2.1.

@bhilbert4
Copy link
Collaborator

What do you have listed for the Reffiles:astrometric entry in your yaml file? It sounds like it may not be pointing to an asdf-formatted reference file?

@christinawilliams
Copy link
Author

christinawilliams commented Oct 11, 2022 via email

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