We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stdatamodels currently provides check_memory_allocation: https://github.com/spacetelescope/stdatamodels/blob/e1ebc483f574f03057e2474bb5cbef38f101735c/src/stdatamodels/jwst/datamodels/util.py#L392 which is designed to check the (ideally estimated) memory consumption of a model against the available memory. This is useful for steps like resample and outlier_detection in both jwst and romancal to support the allowed_memory option: https://jwst-pipeline.readthedocs.io/en/latest/jwst/outlier_detection/arguments.html#step-arguments-for-non-ifu-data The romancal code is not using stdatamodels (as it does not depend on that package). As mentioned spacetelescope/jwst#8324 (comment) stcal might be a suitable location for some shared code to check estimated memory against available memory during processing.
check_memory_allocation
resample
outlier_detection
jwst
romancal
allowed_memory
stdatamodels
stcal
The text was updated successfully, but these errors were encountered:
bytes2human
No branches or pull requests
stdatamodels currently provides
check_memory_allocation
:https://github.com/spacetelescope/stdatamodels/blob/e1ebc483f574f03057e2474bb5cbef38f101735c/src/stdatamodels/jwst/datamodels/util.py#L392
which is designed to check the (ideally estimated) memory consumption of a model against the available memory. This is useful for steps like
resample
andoutlier_detection
in bothjwst
andromancal
to support theallowed_memory
option:https://jwst-pipeline.readthedocs.io/en/latest/jwst/outlier_detection/arguments.html#step-arguments-for-non-ifu-data
The
romancal
code is not usingstdatamodels
(as it does not depend on that package). As mentioned spacetelescope/jwst#8324 (comment)stcal
might be a suitable location for some shared code to check estimated memory against available memory during processing.The text was updated successfully, but these errors were encountered: