= ARSF Hypersectral Data = The ARSF collects hyperspectral data using two instruments, both of which are manufactured by Specim: * [wiki:Sensors/Eagle Eagle] for visible and near infra-red wavelengths (~400nm to 970nm) * [wiki:Sensors/Hawk Hawk] for short wave infra-red wavelengths (~1000nm to 2500nm) The raw data format from these sensors is ENVI band interleaved by line (BIL) files, which is a simple binary data format. Each BIL file comes with an accompanying header file in a human readable text format. The header file contains information about the BIL file format and specifications of the sensor at time of data capture. The Eagle raw data files contain data 12-bit data (0-4095) stored as 16-bit integer, whilst the Hawk raw data are 14-bit (0-16383) stored as 16-bit integer. The first pixel of the first band of each raw file is the frame counter pixel, which is essentially a frame id tag that increments by 1 through out the file. At the end of the raw file, after data capture for this flight line, a number of lines of data are captured with the shutter closed. These lines are refered to as "dark lines" and give sensor ccd values for when no light is present. When ARSF-DAN receive hyperspectral raw data, it enters the processing chain which consists of the following stages: * [wiki:Procedures/NewDataArrival Initial checks and re-formatting project structure] * This includes [wiki:Help/DEM_scripts Digital Elevation Model (DEM) generation] * [wiki:Procedures/ProcessingChainInstructions/NavigationProcessing Aircraft position and navigation post processing] * [#HyperAPLChain APL Hyperspectral chain] * [wiki:Procedures/EagleHawkProcessing#Makingadelivery Delivery creation] * [wiki:Procedures/DeliveryChecking Delivery checking] * [wiki:Procedures/EndUserDelivery Dispatch Dispatch] After the data has been dispatched to the PI, the project directories will be tidied up and the data archived at the [http://neodc.nerc.ac.uk/ NERC Earth Observation Data Centre (NEODC)]. The data will then be available for use by other parties after an initial embargo period of 1 year after dispatch. ------------------------------------------------------------- == Hyperspectral processing using the Airborne Processing Library == #HyperAPLChain The Airborne Processing Library (APL) is an open source software package that has been developed by ARSF-DAN at Plymouth Marine Laboratory. It has been specifically designed to process the ARSF Eagle and Hawk data from the raw data collection stage through to end-user geocorrection and mapping. The following gives a description of how ARSF-DAN use APL to process the hyperspectral data upto the point of dispatching the data to the end-user. === Stage 1: Radiometric calibration === [[Image(raw_eagle.png, align=right, margin=20, 100px)]] The first stage of processing is to apply a radiometric calibration to the raw data and generate a mask file. This can be summarised as follows: '''Normalise the data. ''' The captured dark frames are used to generate a per CCD pixel (i.e. per sample per band) average value which can be used as an effective "0" value. That is, it gives the value of the pixel when no light is shining on the CCD. This is therefore a measure of the noise of the system at time of capture. The raw data is then normalised to this by subtracting the corresponding average dark value. If the value would drop below 0 after subtraction it is set to equal 0. '''Smear correct Eagle data''' The Eagle uses a CCD that shifts data out line by line at the end of a frame. While this readout process is quick, additional light still falls onto the detector during the readout period. The Eagle data therefore needs to be corrected for any light that is coming from the other bands as the data is extracted. The formula used for this is: I,,ic,, = I,,i,, - f*Sum,,j