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

Proj Speed Up #479

Merged
merged 17 commits into from
Jul 26, 2024
Merged

Proj Speed Up #479

merged 17 commits into from
Jul 26, 2024

Conversation

acpaquette
Copy link
Collaborator

Moves proj CRS creation into camera instantiation and properly cleans up proj objects once finished.

Licensing

This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words:

This work is free and unencumbered software released into the public domain. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain.

  • I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

@acpaquette acpaquette requested a review from Kelvinrr April 16, 2024 23:22
csm::RasterGM * model = getUsgsCsmModelFromState(modelState, UsgsAstroProjectedSensorModel::_SENSOR_MODEL_NAME, NULL);

// When this is different, the output is very hard to parse
// TODO implement JSON diff for gtest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something that needs to be done before merge, or just a QOL thing for debugging?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a comment that was ripped from the line scan camera test that this was copied from. I can remove it just so we don't duplicate it

Copy link
Contributor

@chkim-usgs chkim-usgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the tests locally with PROJ_IGNORE_CELESTIAL_BODY=Yes, tests pass. Looks good.

@acpaquette acpaquette merged commit b861a95 into DOI-USGS:main Jul 26, 2024
13 checks passed
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

Successfully merging this pull request may close these issues.

3 participants