CmCt Histogram Tool

By Erika Simon

This Jupyter notebook can be used to plot the comparison results from the Cryosphere model Comparison tool (CmCt, https://ggsgh

Launch Tool

This tool version is unpublished and cannot be run. If you would like to have this version staged, you can put a request through HUB Support.

Archive Version 1.0
Published on 21 May 2019
Latest version: 1.5. All versions

Open source: license | download

Category

*Tools

Published on

Abstract

This Jupyter notebook can be used to plot the comparison results from the Cryosphere model Comparison tool (CmCt, https://ggsghpcc.sgt-inc.com/cmct/) directly in this notebook and/or saving the plot on the user's local machine.

The Cryosphere model Comparison tool (CmCt) is a web-based ice sheet model validation tool that has been developed by NASA to facilitate direct comparison between satellite observational data and various ice sheet models. The CmCt allows the user to take advantage of several decades worth of satellite-based observations from Greenland and Antarctica. The CmCt is used to compare ice sheet models provided by the user with remotely sensed satellite ICESat (Ice, Cloud, and land Elevation Satellite) laser altimetry, ERS-1, ERS-2, and Envisat radar altimetry data, and GRACE (Gravity Recovery and Climate Experiment) satellite data. For the comparison with GRACE data, the uploaded ice sheet model can also be compared with different solutions: GRACE Mascon or Spherical Harmonics. 

The user can upload the histogram text file that was created by the CmCt. After upload 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 file to upload. Then enter the desired file name to read in the files. The script will create a cummulative distribution function (CDF) and a probablility density function (PDF) side by side for quick assessment of the comparison results.

After running the plotting cells the histograms 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.

Python Libraries:

import os,sys
import warnings
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import glob as glob
from matplotlib import rc
rc('mathtext', default='regular')

sys.path.insert(0, os.path.abspath('..'))
from hublib.ui import FileUpload, Download

Cite this work

Researchers should cite this work as follows:

  • Erika Simon (2021), "CmCt Histogram Tool," https://theghub.org/resources/cmcthistplot.

    BibTex | EndNote

Tags