Changes between Version 2 and Version 3 of Processing/Py6S_vs_Hyperspectral/Advanced_techniques


Ignore:
Timestamp:
Oct 21, 2015, 1:50:08 PM (9 years ago)
Author:
asm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/Py6S_vs_Hyperspectral/Advanced_techniques

    v2 v3  
    1616You will need to specify for the same flightline the .bil on level1b, the .igm and the postprocessed .nav file. Be careful not to take the mask files and the same flightline for every file (the script will exit if not). Run the model as the example:
    1717{{{
    18 plot_fenix_vs_py6s.py -i ./flightlines/level1b/f169b141b.bil -m ../../../processing/hyperspectral/flightlines/georeferencing/igm/f169b143b_p_sct20.37.igm -n ./flightlines/navigation/f169b141b_nav_post_processed.bil --plot ../../../processing/plot_fenix_vs_py6s/test
     18plot_fenix_vs_py6s.py -i ./flightlines/level1b/f169b141b.bil -m ../../../processing/hyperspectral/flightlines/georeferencing/igm/f169b143b_p_sct20.37.igm -n ./flightlines/navigation/f169b141b_nav_post_processed.bil --plot ../../../processing/plot_fenix_vs_py6s/test -v
    1919}}}
    2020On the example above a pixel is not specified and the script will look for a ramdom vegetation pixel at nadir and create a plot called test.png on the given folder.
     
    3131If you want to look for a specific pixel, you can select it by its position (lat,lon) or by its coordinates (x,y) on the flightline's grid. Note that the script with only accept (lat, lon) inputs within the range of latitude and longitude of the flightline to prevent human errors.
    3232
    33 Verbose mode is recomended when running this script and will print on screen information about the given pixel and the viewing angles needed to run the py6s model if the pixel is not a Nadir.
     33Verbose mode is recommended when running this script and will print on screen information about the given pixel and the viewing angles needed to run the py6s model if the pixel is not a Nadir.
    3434
    3535This will plot the Fenix spectra against the at-sensor Py6S vegetation model. In this case, both figures will only match if the pixel given as input is a vegetation one and therefore, some caution is recomended when interpreting the plot.