nearest_prd
- jwst.lib.siafdb.nearest_prd(pysiaf_module, prd)[source]
Find the nearest PRD version to the version specified.
The SIAF is not updated in every new PRD. Find the latest PRD which has the SIAF specification.
- Parameters:
- pysiaf_modulemodule
The
pysiafmodule in use.- prdstr
Requested PRD specification. Should be of the form “PRDOPSSOC-XXX” where XXX is a 3 digit number.
- Returns:
- prd_to_use, xml_pathstr, Path
The PRD name and path to the XML files of the PRD that is to be used.