Skip to content

Geospatial data viewer which aims to visualize different types of data collected from USGS surveys (e.g. bathymetry, topography, grain size) and plot how the data changes over time. ๐Ÿ—บ๏ธ๐Ÿ“ˆ๐Ÿ–๏ธ

Notifications You must be signed in to change notification settings

venuswku/data-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Data Visualizer

Learn more about how to use this data viewer from the Wiki.
Binder

Create an Environment with Anaconda

Create a new environment named visualizer with all the required packages by entering the following commands in succession into Anaconda Prompt (Windows) or Terminal (Mac/Linux):

conda create -n visualizer
conda activate visualizer
# Install Panel dependencies.
conda install -c bokeh ipywidgets_bokeh -y
conda install -c conda-forge panel -y
# Install other dependencies.
conda install -c conda-forge geoviews rioxarray dask-geopandas spatialpandas geopandas pandas cartopy holoviews jupyterlab -y

If you want to download data from ScienceBase or preprocess data, then run the following commands to install the required dependencies. Make sure the environment is activated before you run these commands.

conda install -c conda-forge requests pip -y
pip install sciencebasepy

Launch Jupyter Notebook as a Web Server

  • Make sure your Anaconda environment is activated by running conda activate visualizer in your terminal.
  • Run the command panel serve --show --autoreload app.ipynb in your terminal.
  • A webpage with the URL http://localhost:5006/app will display all Panel objects marked with .servable().
  • Any changes in the notebook will automatically be reflected on the webpage. Just in case, refresh the webpage to make sure you see your latest changes.

Launch Jupyter Notebook

  • Make sure your Anaconda environment is activated by running conda activate visualizer in your terminal.
  • Run the command jupyter notebook in your terminal.
  • Open the app.ipynb file when a webpage with the URL http://localhost:8888/tree appears.
    • Directly running jupyter notebook app.ipynb will skip this step of selecting a notebook to open.
  • Run all the notebook cells from top to bottom. The Panel app will be outputted after the last cell is run.
  • Reload the app.ipynb webpage when you want to see your new changes.

About

Geospatial data viewer which aims to visualize different types of data collected from USGS surveys (e.g. bathymetry, topography, grain size) and plot how the data changes over time. ๐Ÿ—บ๏ธ๐Ÿ“ˆ๐Ÿ–๏ธ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages