Skip to content

Added image_type optional argument to read_image#519

Open
pilotchute wants to merge 3 commits intocasangi:mainfrom
pilotchute:add-image-type-to-read-image
Open

Added image_type optional argument to read_image#519
pilotchute wants to merge 3 commits intocasangi:mainfrom
pilotchute:add-image-type-to-read-image

Conversation

@pilotchute
Copy link
Copy Markdown

Contributing requested enhancement for:

An optional parameter image_type : str has been added, defaulting to None, for each supported image type, image_type is checked for None and for containing a case insensitive string matching the supported image type.

image_type : str, optional
If None (default),
the infile will attempt to be processed as a CASA, FITS, or zarr image.
This is equivalent to image_type = 'casa fits zarr'.
If image_type contains the string 'CASA' (case independant),
the infile will only attempt to be processed as a CASA image.
if image_type contains the string 'FITS' (case independant),
the infile will only attempt to be processed as a FITS image.
if image_type contains the string 'zarr' (case independant),
the infile will only attempt to be processed as a zarr image.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 3, 2026

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Alea <alea@kootz.com>
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.

2 participants