View Issue Details

IDProjectCategoryView StatusLast Update
0002041CCdcielGeneralpublic18-12-23 21:06
ReporterBasil Rowe Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Target Version1.0 
Summary0002041: OBJECTRA FITS keyword can generate malformed entry
DescriptionFound this problem when using MPO Canopus to automatch (plate solve) an image. The strict FITS formatting requirements require 2 characters for the RA, e.g. hh:mm:ss[.ssss] or hh mm ss[.ssss] . For RA < 10h CCDCiel apparently places a blank space for the first 2 RA characters, e.g. 4, while it should be 04 (see attached FITS header). The blank space causes MPO Canopus (and possibly other programs) to fail in a plate solve.

Would it be possible to add a leading 0 for RA<10h?

Many thanks!!
TagsNo tags attached.

Activities

Basil Rowe

18-12-19 19:24

reporter  

malformed OBJECTRA.txt (3,362 bytes)   
SIMPLE  =                    T / file does conform to FITS standard             
BITPIX  =                   16 / number of bits per data pixel                  
NAXIS   =                    2 / number of data axes                            
NAXIS1  =                 1024 / length of data axis 1                          
NAXIS2  =                 1024 / length of data axis 2                          
EXTEND  =                    T / FITS dataset may contain extensions            
BZERO   =                32768 / offset data range to that of unsigned short    
BSCALE  =                    1 / default scaling factor                         
DATAMIN =                18513 / Minimum value                                  
DATAMAX =                65535 / Maximum value                                  
DATE    = '2018-12-19T00:43:42' / Date data written                             
ORIGIN  = 'RMS Observatory'    / Observatory name                               
SITELAT =          39.16305556 / Observatory latitude                           
SITELONG=               84.365 / Observatory longitude                          
OBSERVER= 'Basil Rowe'         / Observer name                                  
TELESCOP= 'C14'                / Telescope used for acquisition                 
INSTRUME= 'SBIG CCD'           / Instrument used for acquisition                
SWCREATE= 'CCDciel Version beta 0.9.50-1307-fde6c98' /                          
OBJECT  = '(2678) Aavasaksa'   / Observed object name                           
IMAGETYP= 'Light   '           / Image Type                                     
DATE-OBS= '2018-12-19T00:38:34.832' / UTC start date of observation             
EXPTIME =                  300 / [s] Total Exposure Time                        
XPIXSZ  =                   24 / [um] Pixel Size X, binned                      
YPIXSZ  =                   24 / [um] Pixel Size Y, binned                      
XBINNING=                    1 / Binning factor X                               
YBINNING=                    1 / Binning factor Y                               
FOCALLEN=                 3910 / [mm] Telescope focal length                    
CCD-TEMP=         -20.41762135 / CCD temperature (Celsius)                      
FRAMEX  =                    0 / Frame start x                                  
FRAMEY  =                    0 / Frame start y                                  
FRAMEHGT=                 1024 / Frame height                                   
FRAMEWDH=                 1024 / Frame width                                    
AIRMASS =          1.275684183 / Airmass                                        
EQUINOX =                 2000 /                                                
RA      =          66.15282888 / [deg] Telescope pointing RA                    
DEC     =          24.15885601 / [deg] Telescope pointing DEC                   
OBJCTRA = '4 24 37'            / [hh mm ss] Telescope pointing RA               
OBJCTDEC= '+24 09 32'          / [+dd mm ss] Telescope pointing DEC             
SECPIX1 =          1.266075537 / image scale arcseconds per pixel               
SECPIX2 =          1.266075537 / image scale arcseconds per pixel               
END                                                                             
malformed OBJECTRA.txt (3,362 bytes)   

Patrick Chevalley

18-12-23 21:06

administrator   ~0005207

Sure, the leading zero is added by:
https://github.com/pchev/ccdciel/commit/ab6238bfa1c7fd5bbda7bd841cc21dc04a4d3a87

Issue History

Date Modified Username Field Change
18-12-19 19:24 Basil Rowe New Issue
18-12-19 19:24 Basil Rowe File Added: malformed OBJECTRA.txt
18-12-23 21:06 Patrick Chevalley Assigned To => Patrick Chevalley
18-12-23 21:06 Patrick Chevalley Status new => resolved
18-12-23 21:06 Patrick Chevalley Resolution open => fixed
18-12-23 21:06 Patrick Chevalley Target Version => 1.0
18-12-23 21:06 Patrick Chevalley Description Updated
18-12-23 21:06 Patrick Chevalley Note Added: 0005207