CLAWRIM Wiki

The Computational Lab for Advanced Water Resources Informatics and Modeling

User Tools

Site Tools


software:canopy:tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:canopy:tutorial [2024-08-03 10:43 pm] – ↷ Page moved from canopy:tutorial to software:canopy:tutorial hchosoftware:canopy:tutorial [2024-08-03 10:48 pm] (current) – ↷ Links adapted because of a move operation hcho
Line 1: Line 1:
 ====== CanoPy tutorial ====== ====== CanoPy tutorial ======
  
-[[CanoPy:]] is the Python module for [[projects:gfc_canopy_assessment|the Georgia Canopy Analysis 2009 project]] sponsored by [[http://www.gfc.state.ga.us/|the Georgia Forestry Commission (GFC)]]. For further information about this project, please refer to the [[CanoPy:]] page.+[[software:canopy:]] is the Python module for [[projects:gfc_canopy_assessment|the Georgia Canopy Analysis 2009 project]] sponsored by [[http://www.gfc.state.ga.us/|the Georgia Forestry Commission (GFC)]]. For further information about this project, please refer to the [[software:canopy:]] page.
  
-This document explains detail steps for assessing canopy using the [[CanoPy:]] module and a provided sample data set. To learn more about this module, please read the [[user manual]]. For technical details, please read the [[technical manual]].+This document explains detail steps for assessing canopy using the [[software:canopy:]] module and a provided sample data set. To learn more about this module, please read the [[user manual]]. For technical details, please read the [[technical manual]].
  
 ===== Authors ===== ===== Authors =====
Line 19: Line 19:
 ===== Sample data set ===== ===== Sample data set =====
  
-{{ :canopy:canopy_sample_data.zip |}}+{{ software:canopy:canopy_sample_data.zip |}}
  
 The sample data will contain 3 folders titled ‘naip’, ‘data’, and ‘Outputs’. The ‘data’ folder contains the Georgia physiographic regions shapefile, the NAIP Quarter Quad (QQ) polygon shapefile in addition to the TIFF file which will be used for snapping. The ‘naip’ folder will contain 4 input QQ NAIP tiles that form a 2 x 2 area. The ‘Outputs’ folder contains the outputs that are created by Textron’s Feature Analysis software for each NAIP QQ in the sample dataset. This is included as this tutorial does NOT go over the process of using Textrons Feature Analyst but rather the process of using the CanoPy Python module. The sample data will contain 3 folders titled ‘naip’, ‘data’, and ‘Outputs’. The ‘data’ folder contains the Georgia physiographic regions shapefile, the NAIP Quarter Quad (QQ) polygon shapefile in addition to the TIFF file which will be used for snapping. The ‘naip’ folder will contain 4 input QQ NAIP tiles that form a 2 x 2 area. The ‘Outputs’ folder contains the outputs that are created by Textron’s Feature Analysis software for each NAIP QQ in the sample dataset. This is included as this tutorial does NOT go over the process of using Textrons Feature Analyst but rather the process of using the CanoPy Python module.
Line 71: Line 71:
     * Reprojected tiles with the suffix ‘rm_’ will be saved to ''.../CanoPy_sample_data/2009 Analysis/Blue_Ridge_Mountains/Inputs'' which will have been created by the function.     * Reprojected tiles with the suffix ‘rm_’ will be saved to ''.../CanoPy_sample_data/2009 Analysis/Blue_Ridge_Mountains/Inputs'' which will have been created by the function.
   -  The reprojected tiles in the Inputs folder will be used in as the inputs with Textrons Feature Analyst, however we are skipping that step, so you will want to move the ''.../CanoPy_sample_data/Outputs/'' folder to the ''.../CanoPy_sample_data/2009 Analysis/Blue_Ridge_Mountains'' folder. This is where the classified outputs of Textrons Feature Analyst would have been saved to be used with the rest of the CanoPy functions.   -  The reprojected tiles in the Inputs folder will be used in as the inputs with Textrons Feature Analyst, however we are skipping that step, so you will want to move the ''.../CanoPy_sample_data/Outputs/'' folder to the ''.../CanoPy_sample_data/2009 Analysis/Blue_Ridge_Mountains'' folder. This is where the classified outputs of Textrons Feature Analyst would have been saved to be used with the rest of the CanoPy functions.
-    * The folder structures should now look like this:{{ :canopy:canopy_sample_folder_structure_full.png?nolink&400 |}}+    * The folder structures should now look like this:{{ software:canopy:canopy_sample_folder_structure_full.png?nolink&400 |}}
   - After the 'Outputs' have been moved. The wrapper function can be used to complete the process with the following code. <code python>   - After the 'Outputs' have been moved. The wrapper function can be used to complete the process with the following code. <code python>
 canopy.convert_afe_to_canopy_tiff(phyreg_ids) canopy.convert_afe_to_canopy_tiff(phyreg_ids)
software/canopy/tutorial.1722746585.txt.gz · Last modified: by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki