code: def doorient(self):
          
          assert self.cal1Dfn.is_file(
          ), 'please specify filename for each camera under [cam]/cal1Dname: in .ini file  {}'.format(self.cal1Dfn)
  
          with h5py.File(self.cal1Dfn, 'r') as f:
              az = f['az'][()]
              el = f['el'][()]
              ra = f['ra'][()]
              dec = f['dec'][()]
  
          assert az.ndim == el.ndim == 2
          assert az.shape == el.shape
  
          if self.transpose:
              logging.debug(
                  'tranposing cam #{} az/el/ra/dec data. '.format(self.name))
              az = az.T
              el = el.T
              ra = ra.T
              dec = dec.T
          if self.fliplr:
              logging.debug(
                  'flipping horizontally cam #{} az/el/ra/dec data.'.format(self.name))
              az = np.fliplr(az)
              el = np.fliplr(el)
              ra = np.fliplr(ra)
              dec = np.fliplr(dec)
          if self.flipud:
              logging.debug(
                  'flipping vertically cam #{} az/el/ra/dec data.'.format(self.name))
              az = np.flipud(az)
              el = np.flipud(el)
              ra = np.flipud(ra)
              dec = np.flipud(dec)
          if self.rotccw != 0:
              logging.debug(
                  'rotating cam #{} az/el/ra/dec data.'.format(self.name))
              az = np.rot90(az, self.rotccw)
              el = np.rot90(el, self.rotccw)
              ra = np.rot90(ra, self.rotccw)
              dec = np.rot90(dec, self.rotccw)
  
          self.az = az
          self.el = el
          self.ra = ra
          self.dec = dec
docs: NOTE: we need to retrieve values in case no modifications are done.
          (since we'd get a closed h5py handle)