<jupyter_start><jupyter_text>Let's see if we can read a generic h5 file using netCDF4<jupyter_code>%matplotlib inline
import matplotlib.pyplot as plt
import netCDF4
url='/usgs/data2/rsignell/temp_delta_newer.h5'
nc = netCDF4.Dataset(url)
nc.variables.keys()
lat = nc.variables['lat'][:]
lon = nc.variables['lon'][:]<jupyter_output><empty_output><jupyter_text>Do we have groups?   Yep!<jupyter_code>g = nc.groups
g
g['2020']['45'].variables.keys()
t = g['2020']['45'].variables['10'][:,:]
print lat.shape,lon.shape,t.shape
plt.pcolormesh(lon,lat,t)
plt.colorbar();<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17537942664418213, 'fraction_numerical': 0.03372681281618887, 'mean_word_length': 7.865671641791045, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '206020', 'license': 'MIT', 'n_tokens_mistral': 255, 'n_tokens_neox': 244, 'n_words': 40, 'path': 'People/.ipynb_checkpoints/h5_data-checkpoint.ipynb', 'repo_name': 'petercunning/notebook', 'size': '593'}