Making PPI and RHI Image Series with Python

Making PPI image series with Python:

First, you must log onto the typhon server with your user account information ('ssh -p 4964 username@typhon'). If you are working with REAL BSCAN files, go to this directory: ~/Code/Python/Toolbox/lidarRunTime. If you are working with SAMPLE BSCAN files, go to this directory: ~/Code/Python/SAMPLE_scripts/lidarRunTime. Once you're in the right directory, follow these steps:

  1. For REAL BSCANS, first type 'PYTHONPATH=~/Code/Python/Toolbox'. For SAMPLE BSCANS, first type 'PYTHONPATH=~/Code/Python/SAMPLE_scripts'. Once your path is set correctly, type 'python viewScan.py -t PPI -tmin' followed by a space and the starting-date-time of the chosen BSCAN series in the following format (including quotation marks): 'year-month-day hour:min:sec'.
  2. Follow this with a space, '-tmax', another space, and the ending-date-time of the chosen BSCAN series in the same format.
  3. Follow this with a space, the '-o' argument, another space, and the chosen-path-for-output.
  4. Set the x-range and y-range (in meters) for your images by using the '-xmin', '-ymin', '-xmax', and '-ymax' options: e.g., '-xmin 0 -ymin 0 -xmax 5000 -ymax 2500'.

Add-Ons: Different arguments can be added onto these to modify scan aspects such as units, grid, colors, and range of data. Use 'python viewScan.py -h' to see all possible arguments. Common arguments include: '--no' to disable median filtering, and '--style' followed by a space and resolution-option. By default, a web-compatible image is generated. Other choices include '720p' for HD-ready, '1080p' for full-HD, and 'print' for print-compatible resolution. Add on the '--show' argument to see images right away.

Example: PYTHONPATH=~/Code/Python/Toolbox python viewScan.py -t PPI -tmin '2013-09-17 00:21:09' -tmax '2013-09-17 00:30:40' -o ~ -xmin 0 -ymin 0 -xmax 5000 -ymax 2500

Making RHI image series with Python:

First, you must log onto the typhon server with your user account information ('ssh -p 4964 username@typhon'). If you are working with REAL BSCAN files, go to this directory: ~/Code/Python/Toolbox/lidarRunTime. If you are working with SAMPLE BSCAN files, go to this directory: ~/Code/Python/SAMPLE_scripts/lidarRunTime. Once you're in the right directory, follow these steps:

  1. For REAL BSCANS, first type 'PYTHONPATH=~/Code/Python/Toolbox'. For SAMPLE BSCANS, first type 'PYTHONPATH=~/Code/Python/SAMPLE_scripts'. Once your path is set correctly, type 'python viewScan.py -t RHI -tmin' followed by a space and the starting-date-time of the chosen BSCAN series in the following format (including quotation marks): 'year-month-day hour:min:sec'.
  2. Follow this with a space, '-tmax', another space, and the ending-date-time of the chosen BSCAN series in the same format.
  3. Follow this with a space, the '-o' argument, another space, and the chosen-path-for-output.
  4. Set the x-range and y-range for your images (in meters) by using the '-xmin', '-ymin', '-xmax', and '-ymax' options: e.g., '-xmin 0 -ymin 0 -xmax 5000 -ymax 2500'.

Add-Ons: Different arguments can be added onto these to modify scan aspects such as units, grid, colors, and range of data. Use 'python viewScan.py -h' to see all possible arguments. Common arguments include: '--no' to disable median filtering, and '--style' followed by a space and resolution-option. By default, a web-compatible image is generated. Other choices include '720p' for HD-ready, '1080p' for full-HD, and 'print' for print-compatible resolution. Add on the '--show' argument to see images right away.

Example: PYTHONPATH=~/Code/Python/Toolbox python viewScan.py -t RHI -tmin '2013-09-17 00:21:09' -tmax '2013-09-17 00:30:40' -o ~ -xmin 0 -ymin 0 -xmax 5000 -ymax 2500