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

Write output FITS files in compressed format. #18

Open
perdrix52 opened this issue Apr 6, 2018 · 1 comment
Open

Write output FITS files in compressed format. #18

perdrix52 opened this issue Apr 6, 2018 · 1 comment

Comments

@perdrix52
Copy link
Member

When specifying the name of the output FITS file to be created at run time, the user can indicate that images should be written in tile-compressed format by enclosing the compression parameters in square brackets following the root disk file name. Here are some examples of the extended file name syntax for specifying tile-compressed output images:

myfile.fit[compress]  - use the default compression algorithm (Rice)
                        and the default tile size (row by row)

myfile.fit[compress GZIP] - use the specified compression algorithm;
myfile.fit[compress Rice]    (only the first letter of the algorithm 
myfile.fit[compress PLIO]     name is required)
myfile.fit[compress HCOMPRESS]

myfile.fit[compress R 100,100]   - use 100 x 100 pixel tile size
myfile.fit[compress R 100,100;2] - as above, and use noisebits = 2
@perdrix52
Copy link
Member Author

I tried to do this but it didn't work - just wrote a file with [compress] at the end of the fileid. So clearly it's not quite that simple.

David

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

No branches or pull requests

1 participant