= Splitting VNIR and SWIR = This page details how to separate SWIR and VNIR from the FENIX (though may work with other Specim instruments). This works on raw files, level1b files and level2 mapped files. The header file needs to contain vimg entries (so add these if they are not present): vimg1 = {1, }[[BR]] vimg2 = {, } So for normal Fenix binning:[[BR]] vimg1 = {1, 348}[[BR]] vimg2 = {349, 622} You can insert these into multiple text files with e.g.:[[BR]] for file in *bil.hdr; do sed -i '5i vimg1 = {1, 348}' $file; sed -i '6i vimg2 = {349, 622}' $file; done The splitter is located at:[[BR]] /users/rsg/arsf/arsf_data/2014/misc/2014_cal_feb_gloucester/software/fenix_splitter/splitfile and is ran simply as splitfile This will create seperate files namd *vnir.bil and *swir.bil == Removing SWIR from flights with no dark frames == There were a number of flights which did not have dark frame collections. Currently we can not salvage the SWIR for these flights. You therefore need to separate this out and throw it away. If you already have a delivery created, you will need to apply the procedure above to: - The level1b files - The Mask files - The mask method files - The mapped files Throw away the SWIR, move the original unsplit lines into the processing directories and rename the VNIR to the original names. You'll also need to update a couple of other things in the delivery: - Edit the bandlist in the line_information/ xml files - Edit the ReadMe to say what has been done (check other deliveries for blurb)