Closed tyson-swetnam closed 4 years ago
Almost finished with this, I can make the app in my browser without any issue.
Next steps I'd like for you to do with the NEON Shiny Browser are to find and download the discrete lidar data, the orthophoto mosaic data, and the hyperspectral data for the Santa Rita Experimental Range (SRER). Download these to your Discovery Environment RStudio. Then, use iCommands to move the downloaded files to a new directory called /iplant/home/ejoshie/NEON_Downloads
(or whatever your cyverse username is).
You can create folders using the DE's data window.
https://learning.cyverse.org/projects/discovery-environment-guide/en/latest/
You will have to do an iCommands iput
execution in the Terminal in RStudio
Your sample command should be something like:
iput -KPbvrf /home/rstudio/NEON_Downloads /iplant/home/ejoshie/
Using the RStudio Geospatial container, clone the NEON-Shiny-Browser into the running instance by using the RStudio Terminal.
Set the working directory of the RStudio to the location you downloaded the Shiny app
You can also create a
local_job.r
file and save these scripts into it, and use the "Jobs" option to run the app as a background process. Once thelocal_job.r
script is running, it will give you the address and port number that it is active on. You can access the Shiny app by typing and copying the 4 digit PORT numberrstudioapi::viewer("https://localhost:PORT")