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

gtexpcube: LONPOLE and LATPOLE header keywords are incorrect #4

Open
jasercion opened this issue Mar 20, 2020 · 0 comments
Open

gtexpcube: LONPOLE and LATPOLE header keywords are incorrect #4

jasercion opened this issue Mar 20, 2020 · 0 comments

Comments

@jasercion
Copy link
Contributor

Porting over STGEN-110. Opening this as an Astro package issue as that is where Jim identified the coding issues at fault.

The coding error is in astro::SkyProj::setKeywords:

// todo: fix these
setKey("CROTA2", 0, "", "Image rotation (deg)");
if( std::string(m_wcs->ctype[0]).substr(5,3)=="CAR") return;
// these may be needed by ds9 for non-CAR. I get confused
setKey("LONPOLE", 180.0, "deg", "longitude of celestial pole");
setKey("LATPOLE", 0, "deg", "latitude of celestial pole");
}

http://glast.stanford.edu/cgi-bin/viewcvs/astro/src/SkyProj.cxx?view=markup

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