code: def _read(self, directory, filename, session, path, name, extension, spatial, spatialReferenceID, replaceParamFile):
          
          # Set file extension property
          self.fileExtension = extension
  
          # Open file and parse into HmetRecords
          with open(path, 'r') as orthoFile:
              for line in orthoFile:
                  sline = line.strip().split()
  
                  # Cases
                  if sline[0].lower() == 'num_sites:':
                      self.numSites = sline[1]
                  elif sline[0].lower() == 'elev_base':
                      self.elevBase = sline[1]
                  elif sline[0].lower() == 'elev_2':
                      self.elev2 = sline[1]
                  elif sline[0].lower() == 'year':
                      """DO NOTHING"""
                  else:
                      # Create datetime object
                      dateTime = datetime(year=int(sline[0]),
                                          month=int(sline[1]),
                                          day=int(sline[2]),
                                          hour=int(sline[3]))
  
                      # Create GSSHAPY OrthoMeasurement object
                      measurement = OrographicMeasurement(dateTime=dateTime,
                                                          temp2=sline[4])
  
                      # Associate OrthoMeasurement with OrthographicGageFile
                      self.orographicMeasurements.append(measurement)
docs: Orographic Gage File Read from File Method