<jupyter_start><jupyter_text>Example: SRTM download and projection to UTMFollowing approach outlined in http://geologyandpython.com/dem-processing.html<jupyter_code># region to clip from the digital elevation model (DEM)
bounds = west, south, east, north = (-90, 46, -88, 47)  # Iron River, MI
dx = dy = 250.  # output grid resolution
product = 'SRTM3' # SRTM1 | SRTM3 (30- and 90-m DEM)
srtm_output = '/Users/equon/Downloads/output.tif'
srtm = SRTM(bounds,fpath=srtm_output,product=product)
%time srtm.download()
x,y,z = srtm.to_terrain(dx,dy)
vmin,vmax = 180,575
xmin, xmax, ymin, ymax = 268000.0, 423500.0, 5094500.0, 5207000.0

fig,ax = plt.subplots(figsize=(12,8))
cm = ax.pcolormesh(x,y,z, cmap='Spectral_r',vmin=vmin,vmax=vmax)
cb = fig.colorbar(cm,ax=ax)
cb.set_label('elevation [m]',fontsize='large')
ax.tick_params(labelsize='large')
ax.set_title('{:s} DEM'.format(product), fontsize='x-large')
ax.set_xlim((xmin,xmax))
ax.set_ylim((ymin,ymax))
fig.savefig('SRTM_example.png')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16535433070866143, 'fraction_numerical': 0.05610236220472441, 'mean_word_length': 6.58955223880597, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '406590', 'license': 'Apache-2.0', 'n_tokens_mistral': 473, 'n_tokens_neox': 426, 'n_words': 80, 'path': 'mmctools/coupling/SRTM_example.ipynb', 'repo_name': 'joejoeyjoseph/mmctools', 'size': '1016'}