reV.utilities.pytest_utils.write_chunk

write_chunk(meta, times, data, features, out_file)[source]

Write data chunk to an h5 file

Parameters:
  • meta (dict) – Dictionary of meta data for this chunk. Includes flattened lat and lon arrays

  • times (pd.DatetimeIndex) – times in this chunk

  • features (list) – List of feature names in this chunk

  • out_file (str) – Name of output file