Changes between Version 2 and Version 3 of Processing/Py6S_vs_Hyperspectral/Advanced_techniques
- Timestamp:
- Oct 21, 2015, 1:50:08 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Processing/Py6S_vs_Hyperspectral/Advanced_techniques
v2 v3 16 16 You 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: 17 17 {{{ 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 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 -v 19 19 }}} 20 20 On 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. … … 31 31 If 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. 32 32 33 Verbose mode is recom ended 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.33 Verbose 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. 34 34 35 35 This 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.