get_SST_cube

sunkitsst.get_SST_cube(afile, header, np_dtype, memmap=True)[source] [edit on github]

Given a SST data cube, a header dictionary and a computed numpy dtype returns a np array containg the whole data cube.

Parameters:
  • afile (string) – A filepath to the a SST cube file.
  • header (dictonary) – The dictonary that contains the header of the SST cube file.
  • np_dtype (type) – The data type of the data within the SST cube file.
  • memmap (Bool) – If True, will use memmap (default) in order to save your RAM.
Returns:

data (array) – This is data array for that SST cube file.