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 hmetFile:
  
              for line in hmetFile:
                  sline = line.strip().split()
  
                  try:
                      # Extract data time from record
                      dateTime = datetime(int(sline[0]), int(sline[1]), int(sline[2]), int(sline[3]))
  
                      # Intitialize GSSHAPY HmetRecord object
                      hmetRecord = HmetRecord(hmetDateTime=dateTime,
                                              barometricPress=sline[4],
                                              relHumidity=sline[5],
                                              totalSkyCover=sline[6],
                                              windSpeed=sline[7],
                                              dryBulbTemp=sline[8],
                                              directRad=sline[9],
                                              globalRad=sline[10])
  
                      # Associate HmetRecord with HmetFile
                      hmetRecord.hmetFile = self
  
                  except:
                      pass
docs: Read HMET WES from File Method