title: Access nested groups of a NetCDF file in Python
body: <p>My NetCDF file has a nested structure, how do i access a nested group or variable?</p>
  
  <pre><code>from netCDF4 import Dataset
  
  source_dataset = Dataset('/path/to/file.nc')
  source_geo_group = source_dataset.groups['/PRODUCT/SUPPORT_DATA/GEOLOCATIONS/']
  </code></pre>
  
  <p>This will throw the following error: </p>
  
  <blockquote>
    <p>"KeyError: '/PRODUCT/SUPPORT_DATA/GEOLOCATIONS/'"</p>
  </blockquote>
  
  <p>My goal is to get the values of the variables in the nested group.</p>