Changes between Version 11 and Version 12 of Procedures/DeliveryCreation/Hyperspectral


Ignore:
Timestamp:
Oct 22, 2010, 2:46:21 PM (14 years ago)
Author:
knpa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/DeliveryCreation/Hyperspectral

    v11 v12  
    33Once the data has been processed, it needs to be put into a delivery directory. This is the final file structure in which it will be sent to the customer.
    44
    5  1. Create quicklook jpgs.
    6   - Create a directory called 'jpgs' to hold the images that will be created (This is where make_delivery_folder.sh will look for them).
    7   There are several ways to create the jpegs:
    8   - Use make_mosaic.sh script
     5 1. Create quicklook jpegs.
     6  1. Create a directory called 'jpgs' to hold the images that will be created (This is where make_delivery_folder.sh will look for them).
     7  1. There are several ways to do make the jpegs:
     8   - Use make_mosaic.sh:
    99     1. Open a terminal window in the lev3 directory under the project workspace
    1010     1. Ensure the only geotiffs in the lev3 directory are ones you want to convert to jpgs - either delete unwanted ones or move them to a subdirectory
    1111     1. make_mosaic.sh will generate jpgs for each individual line and also a mosaic of all lines. If vectors are given then a mosaic with vector overlay will also be generated.
    1212     1. Usage `make_mosaic.sh -d <tif-directory> -s <sensor-flag> -o <output-directory> [-v <vector-directory>] [-z <UTMZONE>]`
    13      1. Example from within lev3 dir to create eagle images: `make_mosaic.sh -d ./ -s e -o ../jpgs/ -v ~arsf/vectors/from_os/EX01_01/`
    14    -  Use `convert`:
     13     1. Example: `make_mosaic.sh -d ./ -s e -o ../jpgs/ -v ~arsf/vectors/from_os/EX01_01/`
     14    -  Use convert:
    1515     1. {{{for filename in `ls`; do convert $filename `echo $filename | sed 's/.tif/.jpg/'`; done}}}
    1616     1. Use ENVI to create mosaics manually.
    17    -  Convert doesn't always produce images that are scaled sensibly. If so, use the old scripted method.
    18      1. Open a terminal window in the lev3 directory under the project workspace
    19      1. Ensure the only geotiffs in the lev3 directory are ones you want to convert to jpgs - either delete unwanted ones or move them to a subdirectory
    20      1. Run `gtiff2jpg.py -d ./ -a` - If this runs out of memory try again without the -a. You can also run on individual files instead of on a directory by using -s <filename> instead of -d ./
     17    -  Convert doesn't always produce images that are scaled sensibly. If so, use the old script:
     18     1. `gtiff2jpg.py -d ./ -a` - If this runs out of memory try again without the -a. You can also run on individual files instead of on a directory by using -s <filename> instead of -d ./
    2119     1. Create mosaics separately using ENVI (or whatever other method).
    22    - If all else fails, open tifs in ENVI and manually take screenshots and crop them using gimp. Envi also has mosaicking abilities.
     20    - If all else fails, open tifs in ENVI and manually take screenshots and crop them using gimp. Envi also has mosaicking abilities.
    2321 1. Create the delivery directory: run make_delivery_folder.sh. Check it's created everything you expect correctly. If it fails, you can create the directory manually as follows:
    2422   1. In the project directory in the workspace, create a directory called "delivery". Within this create a directory named after the date as YYYYMMDD, and within this create one named after the project code.