You must login before you can run this tool.
This Jupyter notebook can be used to plot and compare a field from multiple ice sheet models directly in the notebook and/or saving the plot the user's local machine.
The user can upload multiple ice sheet model files in netcdf format. These model files will be in a temporary folder within the vhub environment. The user can run the cells in the notebook individually by clicking on each cell and run the cell with the shift+return or shift+enter option or from the Cell menu using the Run Cells or the Run All options.
The user needs to choose which files to batch upload. Then enter the desired file name to read in the files.
After running the basic processing and plotting cells the ice sheet model fields can be viewed within the notebook. The user also have an option to save the plot. The plot will be saved in the user's home directory on vhub. The user can also choose to download the result by clicking on the download botton. The plot will appear in a new window and by right clicking the image it can be downloaded using several different options.
import numpy as np
import xarray as xrimport matplotlib.pyplot as plt
import cartopy.crs as ccrs
import cartopy.io.shapereader as shpreader
from hublib.ui import FileUpload, Download