nsacn.blogg.se

Idl strtrim
Idl strtrim






  • ask the user for the name of the output file with the NDVI values.
  • ask the user for the image the NDVI should be calculated from.
  • For this we want to create a small program that calculates the NDVI (NDVI = (NIR-Red)/(NIR + Red)).įor a start our program should be able to: This tutorial shows you how to create an EnMAP-Box application using the EnMAP-Box and hubAPI programming interfaces.
  • Use Strg and click on methods to jump to their definition or hover over for a description.
  • Use the hubAPI documentation to get familiar with the basic concepts of application development.
  • In case of very strange IDL behavior: restart the IDL workbench.
  • In case of strange IDL behavior: use the reset button.
  • Don’t forget: you need to re-compile your *.pro files to make changes visible.
  • Create test routines with sample data to verify your routines, e.g.
  • Use Shift+B to toogle breakpoints and stop your code for debugging.
  • Use this to check if your app runs correctly without development license. This opens the EnMAP-Box using the *.sav files only without compilation of *.pro-files. Start EnMAP-Box in IDL virtual machine mode. Remove application folder (de-installation). For installation they just need to put it into their own /enmapProject/applications/ directory and re-start their EnMAP-Box.Ĭompile application, create documentation, copy files to application folder (installation).
  • Copy the /enmapProject/applications/MyApp folder to share it with other EnMAP-Box users.
  • Copy your Applications Source Code Folder to share your project with other EnMAP-Box developers.
  • For distributing your application you can either.
  • Call IDL> myApp_make again for compiling your application and copying *.sav files and supporting documents to the application folder:.
  • Just modify the IDL code, manuals etc.
  • idl strtrim

    or open supporting documents via Help > MyApp.Now you can run your application from the EnMAP-Box menu bar via Applications > MyApp > MyApp Application.








    Idl strtrim