@@ -739,7 +739,7 @@ def generate_primary_header(cls, filename, product, *, version=0):
739739 ("DATAMIN" , product .dmin , "Minimum valid physical value" ),
740740 ("DATAMAX" , product .dmax , "Maximum valid physical value" ),
741741 ("BUNIT" , product .bunit , "Units of physical value, after application of BSCALE, BZERO" ),
742- ("XPOSURE" , product .exposure , "[s] shortest exposure time" ),
742+ ("XPOSURE" , product .min_exposure , "[s] shortest exposure time" ),
743743 ("XPOMAX" , product .max_exposure , "[s] maximum exposure time" ),
744744 )
745745
@@ -783,7 +783,7 @@ def generate_primary_header(self, filename, product, *, version=0):
783783 ("DATAMIN" , empty_if_nan (product .dmin ), "Minimum valid physical value" ),
784784 ("DATAMAX" , empty_if_nan (product .dmax ), "Maximum valid physical value" ),
785785 ("BUNIT" , product .bunit , "Units of physical value, after application of BSCALE, BZERO" ),
786- ("XPOSURE" , empty_if_nan (product .exposure ), "[s] shortest exposure time" ),
786+ ("XPOSURE" , empty_if_nan (product .min_exposure ), "[s] shortest exposure time" ),
787787 ("XPOMAX" , empty_if_nan (product .max_exposure ), "[s] maximum exposure time" ),
788788 )
789789
@@ -999,7 +999,7 @@ def generate_primary_header(self, filename, product, *, version=0):
999999 ("DATAMIN" , empty_if_nan (product .dmin ), "Minimum valid physical value" ),
10001000 ("DATAMAX" , empty_if_nan (product .dmax ), "Maximum valid physical value" ),
10011001 ("BUNIT" , product .bunit , "Units of physical value, after application of BSCALE, BZERO" ),
1002- ("XPOSURE" , empty_if_nan (product .exposure ), "[s] shortest exposure time" ),
1002+ ("XPOSURE" , empty_if_nan (product .min_exposure ), "[s] shortest exposure time" ),
10031003 ("XPOMAX" , empty_if_nan (product .max_exposure ), "[s] maximum exposure time" ),
10041004 )
10051005
0 commit comments