Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

DSLR/SGP (or other capture) metadata integration

  • Please log in to reply
7 replies to this topic

#1 deonb

deonb

    Mariner 2

  • *****
  • topic starter
  • Posts: 282
  • Joined: 16 Jul 2020
  • Loc: Seattle,WA

Posted 11 August 2020 - 05:53 AM

Is there a way to hook up a DSLR to a mosaic'ing capture program (like SGP) and write the RA/DEC into the image metadata?

 

E.g. as Lat/Long is fine, or any extended metadata.

 

 



#2 bulrichl

bulrichl

    Ranger 4

  • *****
  • Posts: 320
  • Joined: 27 May 2018
  • Loc: La Palma (Canary Islands)

Posted 11 August 2020 - 06:44 AM

When you save the data in FITS format instead of the proprietary raw format (e.g. Canon's CR2 or CR3, Nikon's NEF, Sony's ARW or Fujifilm's RAF format), the capturing program will write the metadata (including object coordinates) to the FITS header.

 

Bernd



#3 deonb

deonb

    Mariner 2

  • *****
  • topic starter
  • Posts: 282
  • Joined: 16 Jul 2020
  • Loc: Seattle,WA

Posted 11 August 2020 - 06:51 AM

When you save the data in FITS format instead of the proprietary raw format (e.g. Canon's CR2 or CR3, Nikon's NEF, Sony's ARW or Fujifilm's RAF format), the capturing program will write the metadata (including object coordinates) to the FITS header.

 

Bernd

How do I get a DSLR to save in FITS?

 

Though, that doesn't actually help me even if I knew how. I need to write the metadata into the Camera Raw format (or XMP).



#4 S.Boerner

S.Boerner

    Surveyor 1

  • *****
  • Posts: 1,507
  • Joined: 29 Apr 2010
  • Loc: Chesterfield, MO

Posted 11 August 2020 - 08:37 AM

Assuming your DSLR is supported (Canon/Nikon) SGP it will do what you wish if you've set your location in the user profile.



#5 deonb

deonb

    Mariner 2

  • *****
  • topic starter
  • Posts: 282
  • Joined: 16 Jul 2020
  • Loc: Seattle,WA

Posted 11 August 2020 - 11:46 AM

Assuming your DSLR is supported (Canon/Nikon) SGP it will do what you wish if you've set your location in the user profile.


I can get one of those, but the way you describe it will add the telescope's physical location. Can it also add the RA/DEC of whatever the scope is pointing at?

#6 S.Boerner

S.Boerner

    Surveyor 1

  • *****
  • Posts: 1,507
  • Joined: 29 Apr 2010
  • Loc: Chesterfield, MO

Posted 11 August 2020 - 12:56 PM

Whoops my bad on that part.  The RA/DEC will be in the FITS header. 

 

Here is what SGP puts in the header with images taken with my Canon T7i:

 

SIMPLE   = T / file does conform to FITS standard            
BITPIX   = 16 / number of bits per data pixel                 
NAXIS    = 2 / number of data axes                           
NAXIS1   = 6288 / length of data axis 1                         
NAXIS2   = 4056 / length of data axis 2                         
BZERO    = 32768 / offset and data range to that of unsigned short
BSCALE   = 1.0000000000000000 / default scaling factor                        
CRPIX1   = 3144 / reference spectrum pixel coordinate for axis 1
CRPIX2   = 2028 / reference spectrum pixel coordinate for axis 2
CTYPE1   = 'RA---TAN'           / standard system and projection                
CTYPE2   = 'DEC--TAN'           / standard system and projection                
OBJECT   = 'RS UMi  '           / Object name                                   
DATE-LOC = '2019-06-26T23:31:33' / Local observation date                       
DATE-OBS = '2019-06-27T04:31:33' / UTC observation date                         
IMAGETYP = 'LIGHT   '           / Type of frame                                 
CREATOR  = 'Sequence Generator Pro v3.1.0.198' / Capture software               
INSTRUME = 'Canon EOS Rebel T7i' / Instrument name                              
EXPOSURE = 15 / Exposure time in seconds                      
CCD-TEMP = 23 / Camera cooler temperature                     
ISO      = 400 / Camera ISO                                    
XBINNING = 1 / Camera X Bin                                  
CCDXBIN  = 1 / Camera X Bin                                  
YBINNING = 1 / Camera Y Bin                                  
CCDYBIN  = 1 / Camera Y Bin                                  
TELESCOP = 'SynScanMobile Telescope' / Telescope name                           
RA       = 237.718134215362 / Object Right Ascension in degrees             
DEC      = 72.2094521028717 / Object Declination in degrees                 
CRVAL1   = 237.718134215362 / RA at image center in degrees                 
CRVAL2   = 72.2094521028717 / DEC at image center in degrees                
OBJCTRA  = '15 50 52.352'       / Object Right Ascension in hms                 
OBJCTDEC = '+72 12 34.028'      / Object Declination in degrees                 
AIRMASS  = 1.21111775660127 / Average airmass                               
OBJCTALT = 55.6533683311185 / Altitude of the object                        
CENTALT  = 55.6533683311185 / Altitude of the object                        
FLIPPED  = F / Is image flipped                              
ANGLE    = 55.56 / Image angle                                   
SCALE    = 2.56118 / Image scale (arcsec / pixel)                  
PIXSCALE = 2.56118 / Image scale (arcsec / pixel)                  
INPUTFMT = 'FITS    ' /          Format of file from which image was read       
 



#7 deonb

deonb

    Mariner 2

  • *****
  • topic starter
  • Posts: 282
  • Joined: 16 Jul 2020
  • Loc: Seattle,WA

Posted 11 August 2020 - 02:18 PM

Can you easily associated a Camera Raw file with the associated FITS file that will contain the data?

E.g. Do they have the same filename apart from the extension?

#8 S.Boerner

S.Boerner

    Surveyor 1

  • *****
  • Posts: 1,507
  • Joined: 29 Apr 2010
  • Loc: Chesterfield, MO

Posted 11 August 2020 - 02:30 PM

A Canon RAW file named by the camera is typically something like this:  IMG_0762.CR2

A fits saved by SGP has a wide range of user selected options.  See page 83 of the manual found here.

The choice of RAW, FITS or both is chosen from a drop down list in camera options.




CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics