This notebook uses the icepyx library (Scheick et al., 2019; https://github.com/icesat2py/icepyx) to download spatially and temporally subsetted ATL06 granules from the National Snow and Ice Data Center. Running this notebook should result in the download of these granules in the location defined by the variable 'path' in the last code block. The user should adjust the path according to their own workflow.
This script implements the ATL06-specific methods described in Subsection 2.2 of Becker et al. (2021).
Susan L. Howard, Earth and Space Research, showard@esr.org
Maya K. Becker, Scripps Institution of Oceanography, mayakbecker@gmail.com
Last updated April 15, 2021
import icepyx as ipx
import os
import shutil
from pprint import pprint
%matplotlib inline
short_name = 'ATL06'
spatial_extent = [163.5, -78.9, -157.5, -77]
date_range = ['2018-10-13','2020-07-16']
ross_data = ipx.Query(short_name, spatial_extent, date_range)
print(ross_data.dataset)
print(ross_data.dates)
print(ross_data.start_time)
print(ross_data.end_time)
print(ross_data.dataset_version)
print(ross_data.spatial_extent)
ross_data.earthdata_login('username','email')
ross_data.avail_granules()
ross_data.order_granules()
path = './ross_data_download'
ross_data.download_granules(path)