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
Issue RCAL-958 was created on JIRA by David Davis:
Currently if you try to create a preview image with roman_static_preview it fails
roman_static_preview preview r00001_p_v01001001001_r274dp63x31y80_f158_coadd_i2d.asdf r00001_p_v01001001001_r274dp63x31y80_f158_coadd_i2d.png 400 400 ╭─────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────╮ │ /home/ddavis/miniconda3/envs/rcal_0.17.0/lib/python3.11/site-packages/romancal/scripts/static_preview.py:54 in preview │ │ │ │ 51 │ │ with asdf.open(input) as file: │ │ 52 │ │ │ model = file["roman"]["meta"]["model_type"] │ │ 53 │ │ │ if "image" not in model.lower(): │ │ ❱ 54 │ │ │ │ raise NotImplementedError(f'"{model}" model not supported') │ │ 55 │ │ │ wcs = file["roman"]["meta"]["wcs"] │ │ 56 │ │ │ │ 57 │ │ data = downsample_asdf_to(input=input, shape=shape, func=numpy.nanmean) │ │ │ │ ╭──────────────────────────────────── locals ─────────────────────────────────────╮ │ │ │ compass = True │ │ │ │ file = <asdf._asdf.AsdfFile object at 0x7fdd83b1b690> │ │ │ │ input = PosixPath('r00001_p_v01001001001_r274dp63x31y80_f158_coadd_i2d.asdf') │ │ │ │ model = 'MosaicModel' │ │ │ │ output = PosixPath('r00001_p_v01001001001_r274dp63x31y80_f158_coadd_i2d.png') │ │ │ │ shape = (400, 400) NotImplementedError: "MosaicModel" model not supported
This should be a straightforward fix
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue RCAL-958 was created on JIRA by David Davis:
Currently if you try to create a preview image with roman_static_preview it fails
This should be a straightforward fix
The text was updated successfully, but these errors were encountered: